.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\efm.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 _SdvMakeChoice .text:00000000 _SdvMakeChoice proc near ; CODE XREF: _main:loc_62p .text:00000000 ; _main+4Fp ... .text:00000000 push ebp .text:00000001 mov ebp, esp .text:00000003 xor eax, eax .text:00000005 pop ebp .text:00000006 retn .text:00000006 _SdvMakeChoice endp .text:00000006 .text:00000006 ; --------------------------------------------------------------------------- .text:00000007 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 _error .text:00000010 _error proc near ; CODE XREF: _main:loc_1BEp .text:00000010 push ebp .text:00000011 mov ebp, esp .text:00000013 pop ebp .text:00000014 retn .text:00000014 _error endp .text:00000014 .text:00000014 ; --------------------------------------------------------------------------- .text:00000015 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_18 = dword ptr -18h .text:00000020 var_14 = dword ptr -14h .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, 18h .text:00000026 cmp [ebp+var_14], 1 .text:0000002A jb loc_1C8 .text:00000030 cmp [ebp+var_10], 0 .text:00000034 jnz loc_1C8 .text:0000003A cmp [ebp+var_C], 0 .text:0000003E jnz loc_1C8 .text:00000044 cmp [ebp+var_18], 1 .text:00000048 jnz loc_1C8 .text:0000004E cmp [ebp+var_4], 0 .text:00000052 jnz loc_1C8 .text:00000058 cmp [ebp+var_8], 0 .text:0000005C jnz loc_1C8 .text:00000062 .text:00000062 loc_62: ; CODE XREF: _main:loc_1C3j .text:00000062 call _SdvMakeChoice .text:00000067 test eax, eax .text:00000069 jz loc_1C8 .text:0000006F call _SdvMakeChoice .text:00000074 test eax, eax .text:00000076 jz loc_161 .text:0000007C cmp [ebp+var_14], 1 .text:00000080 jb short loc_B1 .text:00000082 cmp [ebp+var_18], 1 .text:00000086 jb short loc_B1 .text:00000088 mov eax, [ebp+var_14] .text:0000008B sub eax, 1 .text:0000008E mov [ebp+var_14], eax .text:00000091 mov ecx, [ebp+var_18] .text:00000094 sub ecx, 1 .text:00000097 mov [ebp+var_18], ecx .text:0000009A mov edx, [ebp+var_10] .text:0000009D add edx, 1 .text:000000A0 mov [ebp+var_10], edx .text:000000A3 mov eax, [ebp+var_4] .text:000000A6 add eax, 1 .text:000000A9 mov [ebp+var_4], eax .text:000000AC jmp loc_161 .text:000000B1 ; --------------------------------------------------------------------------- .text:000000B1 .text:000000B1 loc_B1: ; CODE XREF: _main+60j .text:000000B1 ; _main+66j .text:000000B1 call _SdvMakeChoice .text:000000B6 test eax, eax .text:000000B8 jz short loc_DD .text:000000BA cmp [ebp+var_10], 1 .text:000000BE jb short loc_D8 .text:000000C0 cmp [ebp+var_8], 1 .text:000000C4 jb short loc_D8 .text:000000C6 mov ecx, [ebp+var_10] .text:000000C9 sub ecx, 1 .text:000000CC mov [ebp+var_10], ecx .text:000000CF mov edx, [ebp+var_C] .text:000000D2 add edx, 1 .text:000000D5 mov [ebp+var_C], edx .text:000000D8 .text:000000D8 loc_D8: ; CODE XREF: _main+9Ej .text:000000D8 ; _main+A4j .text:000000D8 jmp loc_161 .text:000000DD ; --------------------------------------------------------------------------- .text:000000DD .text:000000DD loc_DD: ; CODE XREF: _main+98j .text:000000DD call _SdvMakeChoice .text:000000E2 test eax, eax .text:000000E4 jz short loc_106 .text:000000E6 cmp [ebp+var_18], 1 .text:000000EA jb short loc_104 .text:000000EC cmp [ebp+var_C], 1 .text:000000F0 jb short loc_104 .text:000000F2 mov eax, [ebp+var_C] .text:000000F5 sub eax, 1 .text:000000F8 mov [ebp+var_C], eax .text:000000FB mov ecx, [ebp+var_10] .text:000000FE add ecx, 1 .text:00000101 mov [ebp+var_10], ecx .text:00000104 .text:00000104 loc_104: ; CODE XREF: _main+CAj .text:00000104 ; _main+D0j .text:00000104 jmp short loc_161 .text:00000106 ; --------------------------------------------------------------------------- .text:00000106 .text:00000106 loc_106: ; CODE XREF: _main+C4j .text:00000106 call _SdvMakeChoice .text:0000010B test eax, eax .text:0000010D jz short loc_139 .text:0000010F cmp [ebp+var_C], 1 .text:00000113 jb short loc_137 .text:00000115 mov edx, [ebp+var_C] .text:00000118 sub edx, 1 .text:0000011B mov [ebp+var_C], edx .text:0000011E mov eax, [ebp+var_14] .text:00000121 add eax, 1 .text:00000124 mov [ebp+var_14], eax .text:00000127 mov ecx, [ebp+var_8] .text:0000012A add ecx, [ebp+var_4] .text:0000012D mov [ebp+var_8], ecx .text:00000130 mov [ebp+var_4], 0 .text:00000137 .text:00000137 loc_137: ; CODE XREF: _main+F3j .text:00000137 jmp short loc_161 .text:00000139 ; --------------------------------------------------------------------------- .text:00000139 .text:00000139 loc_139: ; CODE XREF: _main+EDj .text:00000139 cmp [ebp+var_10], 1 .text:0000013D jb short loc_161 .text:0000013F mov edx, [ebp+var_10] .text:00000142 sub edx, 1 .text:00000145 mov [ebp+var_10], edx .text:00000148 mov eax, [ebp+var_14] .text:0000014B add eax, 1 .text:0000014E mov [ebp+var_14], eax .text:00000151 mov ecx, [ebp+var_18] .text:00000154 add ecx, [ebp+var_8] .text:00000157 mov [ebp+var_18], ecx .text:0000015A mov [ebp+var_8], 0 .text:00000161 .text:00000161 loc_161: ; CODE XREF: _main+56j .text:00000161 ; _main+8Cj ... .text:00000161 mov edx, [ebp+var_18] .text:00000164 add edx, [ebp+var_4] .text:00000167 mov eax, [ebp+var_8] .text:0000016A lea ecx, [edx+eax-1] .text:0000016E test ecx, ecx .text:00000170 jnz short loc_1BE .text:00000172 mov edx, [ebp+var_18] .text:00000175 add edx, [ebp+var_4] .text:00000178 cmp edx, 1 .text:0000017B ja short loc_1BE .text:0000017D cmp [ebp+var_4], 0 .text:00000181 jb short loc_1BE .text:00000183 cmp [ebp+var_18], 0 .text:00000187 jb short loc_1BE .text:00000189 cmp [ebp+var_C], 0 .text:0000018D jb short loc_1BE .text:0000018F cmp [ebp+var_10], 0 .text:00000193 jb short loc_1BE .text:00000195 mov eax, [ebp+var_14] .text:00000198 add eax, [ebp+var_4] .text:0000019B cmp eax, 1 .text:0000019E jb short loc_1BE .text:000001A0 mov ecx, [ebp+var_14] .text:000001A3 add ecx, [ebp+var_10] .text:000001A6 mov edx, [ebp+var_18] .text:000001A9 add edx, [ebp+var_4] .text:000001AC cmp ecx, edx .text:000001AE jb short loc_1BE .text:000001B0 mov eax, [ebp+var_14] .text:000001B3 add eax, [ebp+var_10] .text:000001B6 add eax, [ebp+var_C] .text:000001B9 cmp eax, 1 .text:000001BC jnb short loc_1C3 .text:000001BE .text:000001BE loc_1BE: ; CODE XREF: _main+150j .text:000001BE ; _main+15Bj ... .text:000001BE call _error .text:000001C3 .text:000001C3 loc_1C3: ; CODE XREF: _main+19Cj .text:000001C3 jmp loc_62 .text:000001C8 ; --------------------------------------------------------------------------- .text:000001C8 .text:000001C8 loc_1C8: ; CODE XREF: _main+Aj .text:000001C8 ; _main+14j ... .text:000001C8 xor eax, eax .text:000001CA mov esp, ebp .text:000001CC pop ebp .text:000001CD retn .text:000001CD _main endp .text:000001CD .text:000001CD _text ends .text:000001CD .text:000001CD .text:000001CD end