.text:00000000 ; .text:00000000 ; +-------------------------------------------------------------------------+ .text:00000000 ; ¦ This file is generated by The Interactive Disassembler (IDA) ¦ .text:00000000 ; ¦ Copyright (c) 2006 by DataRescue sa/nv, ¦ .text:00000000 ; ¦ Licensed to: University of Wisconsin, 5 users std, edu, 09/2004 ¦ .text:00000000 ; +-------------------------------------------------------------------------+ .text:00000000 ; .text:00000000 ; File Name : C:\Junghee\TSL_HOME\TSL.really.clean\TSL\analyzer\TSLFiles\DASH\regression\018.synergy\berkeley.obj .text:00000000 ; Format : COFF (X386MAGIC) .text:00000000 ; includelib "MSVCRTD" .text:00000000 ; includelib "OLDNAMES"" .text:00000000 .text:00000000 .686p .text:00000000 .mmx .text:00000000 .model flat .text:00000000 .text:00000000 ; --------------------------------------------------------------------------- .text:00000000 .text:00000000 ; Segment type: Pure code .text:00000000 _text segment para public 'CODE' use32 .text:00000000 assume cs:_text .text:00000000 assume es:nothing, ss:nothing, ds:nothing, fs:nothing, gs:nothing .text:00000000 .text:00000000 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00000000 .text:00000000 ; Attributes: bp-based frame .text:00000000 .text:00000000 public _error .text:00000000 _error proc near ; CODE XREF: _main:loc_11Bp .text:00000000 push ebp .text:00000001 mov ebp, esp .text:00000003 pop ebp .text:00000004 retn .text:00000004 _error endp .text:00000004 .text:00000004 ; --------------------------------------------------------------------------- .text:00000005 align 10h .text:00000010 .text:00000010 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00000010 .text:00000010 ; Attributes: bp-based frame .text:00000010 .text:00000010 public _SdvMakeChoice .text:00000010 _SdvMakeChoice proc near ; CODE XREF: _main:loc_4Ep .text:00000010 ; _main+3Bp ... .text:00000010 push ebp .text:00000011 mov ebp, esp .text:00000013 xor eax, eax .text:00000015 pop ebp .text:00000016 retn .text:00000016 _SdvMakeChoice endp .text:00000016 .text:00000016 ; --------------------------------------------------------------------------- .text:00000017 align 10h .text:00000020 .text:00000020 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00000020 .text:00000020 ; Attributes: bp-based frame .text:00000020 .text:00000020 public _main .text:00000020 _main proc near .text:00000020 .text:00000020 var_10 = dword ptr -10h .text:00000020 var_C = dword ptr -0Ch .text:00000020 var_8 = dword ptr -8 .text:00000020 var_4 = dword ptr -4 .text:00000020 .text:00000020 push ebp .text:00000021 mov ebp, esp .text:00000023 sub esp, 10h .text:00000026 cmp [ebp+var_4], 0 .text:0000002A jnz loc_120 .text:00000030 cmp [ebp+var_C], 0 .text:00000034 jnz loc_120 .text:0000003A cmp [ebp+var_10], 0 .text:0000003E jnz loc_120 .text:00000044 cmp [ebp+var_8], 1 .text:00000048 jb loc_120 .text:0000004E .text:0000004E loc_4E: ; CODE XREF: _main:loc_F9j .text:0000004E call _SdvMakeChoice .text:00000053 test eax, eax .text:00000055 jz loc_FE .text:0000005B call _SdvMakeChoice .text:00000060 test eax, eax .text:00000062 jz short loc_8E .text:00000064 cmp [ebp+var_8], 1 .text:00000068 jb short loc_8C .text:0000006A mov eax, [ebp+var_C] .text:0000006D add eax, [ebp+var_4] .text:00000070 mov [ebp+var_C], eax .text:00000073 mov [ebp+var_4], 0 .text:0000007A mov ecx, [ebp+var_8] .text:0000007D sub ecx, 1 .text:00000080 mov [ebp+var_8], ecx .text:00000083 mov edx, [ebp+var_10] .text:00000086 add edx, 1 .text:00000089 mov [ebp+var_10], edx .text:0000008C .text:0000008C loc_8C: ; CODE XREF: _main+48j .text:0000008C jmp short loc_F9 .text:0000008E ; --------------------------------------------------------------------------- .text:0000008E .text:0000008E loc_8E: ; CODE XREF: _main+42j .text:0000008E call _SdvMakeChoice .text:00000093 test eax, eax .text:00000095 jz short loc_CB .text:00000097 mov eax, [ebp+var_C] .text:0000009A add eax, [ebp+var_10] .text:0000009D cmp eax, 1 .text:000000A0 jb short loc_C9 .text:000000A2 mov ecx, [ebp+var_8] .text:000000A5 add ecx, [ebp+var_10] .text:000000A8 mov edx, [ebp+var_C] .text:000000AB lea eax, [ecx+edx-1] .text:000000AF mov [ebp+var_8], eax .text:000000B2 mov ecx, [ebp+var_4] .text:000000B5 add ecx, 1 .text:000000B8 mov [ebp+var_4], ecx .text:000000BB mov [ebp+var_10], 0 .text:000000C2 mov [ebp+var_C], 0 .text:000000C9 .text:000000C9 loc_C9: ; CODE XREF: _main+80j .text:000000C9 jmp short loc_F9 .text:000000CB ; --------------------------------------------------------------------------- .text:000000CB .text:000000CB loc_CB: ; CODE XREF: _main+75j .text:000000CB cmp [ebp+var_8], 1 .text:000000CF jb short loc_F9 .text:000000D1 mov [ebp+var_10], 0 .text:000000D8 mov [ebp+var_C], 0 .text:000000DF mov [ebp+var_4], 1 .text:000000E6 mov edx, [ebp+var_8] .text:000000E9 add edx, [ebp+var_10] .text:000000EC add edx, [ebp+var_4] .text:000000EF mov eax, [ebp+var_C] .text:000000F2 lea ecx, [edx+eax-1] .text:000000F6 mov [ebp+var_8], ecx .text:000000F9 .text:000000F9 loc_F9: ; CODE XREF: _main:loc_8Cj .text:000000F9 ; _main:loc_C9j ... .text:000000F9 jmp loc_4E .text:000000FE ; --------------------------------------------------------------------------- .text:000000FE .text:000000FE loc_FE: ; CODE XREF: _main+35j .text:000000FE cmp [ebp+var_4], 0 .text:00000102 jb short loc_11B .text:00000104 cmp [ebp+var_10], 0 .text:00000108 jb short loc_11B .text:0000010A mov edx, [ebp+var_8] .text:0000010D add edx, [ebp+var_10] .text:00000110 add edx, [ebp+var_4] .text:00000113 add edx, [ebp+var_C] .text:00000116 cmp edx, 1 .text:00000119 jnb short loc_120 .text:0000011B .text:0000011B loc_11B: ; CODE XREF: _main+E2j .text:0000011B ; _main+E8j .text:0000011B call _error .text:00000120 .text:00000120 loc_120: ; CODE XREF: _main+Aj .text:00000120 ; _main+14j ... .text:00000120 xor eax, eax .text:00000122 mov esp, ebp .text:00000124 pop ebp .text:00000125 retn .text:00000125 _main endp .text:00000125 .text:00000125 _text ends .text:00000125 .text:00000125 .text:00000125 end