Function at 0x1003fc94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov dword [ebp - 0xc], 0xfffffffa
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x17c10977
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
jmp 0x1003fcc9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003fcdf
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x88], 0x4307e4a9
jmp 0x1003fcc2
mov dword [ebp - 0x10], 0
jmp 0x1003fcef
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1003fd05
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1dc], 0x4eb856a7
jmp 0x1003fce8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x28], eax
jne 0x1003fd26
mov dword [ebp - 0x104], 1
jmp 0x1003fd2d
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x104]
jl 0x1003fd41
mov dword [ebp - 0x68], 1
jmp 0x1003fd45
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x88], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x68], eax
je 0x1003fd68
mov dword [ebp - 0x160], 1
jmp 0x1003fd6f
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0x3f6085e0
jle 0x1003fd87
mov dword [ebp - 0x134], 1
jmp 0x1003fd8e
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x134]
je 0x1003fda5
mov dword [ebp - 0x164], 1
jmp 0x1003fdac
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 4], 2
jmp 0x1003fddd
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1004000b
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x1003fe02
push 0
push 0x2555
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xc], eax
jg 0x1003fe3f
mov dword [ebp - 0x140], 1
jmp 0x1003fe46
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 3
jne 0x1003fe5b
mov dword [ebp - 0xa0], 1
jmp 0x1003fe62
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xa0], eax
je 0x1003fe79
mov dword [ebp - 0x148], 1
jmp 0x1003fe80
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x8de905f4
jbe 0x1003fe98
mov dword [ebp - 0xa8], 1
jmp 0x1003fe9f
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0xa8], eax
jl 0x1003febd
mov dword [ebp - 0x150], 1
jmp 0x1003fec4
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 1
jge 0x1003fed9
mov dword [ebp - 0x18c], 1
jmp 0x1003fee0
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x88], 0x2059
jle 0x1003fefc
mov dword [ebp - 0x1c4], 1
jmp 0x1003ff03
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0x28], eax
je 0x1003ff3e
mov dword [ebp - 0x184], 1
jmp 0x1003ff45
and dword [ebp - 0x184], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1dc]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0xc], 0x60a3
jl 0x1003ff6d
mov dword [ebp - 0x158], 1
jmp 0x1003ff74
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x158]
jne 0x1003ff8b
mov dword [ebp - 0xb4], 1
jmp 0x1003ff92
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0
jne 0x1003ffa7
mov dword [ebp - 0x10c], 1
jmp 0x1003ffae
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x88]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x88]
cmp dword [ebp - 0x28], eax
je 0x1003ffde
mov dword [ebp - 0xbc], 1
jmp 0x1003ffe5
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp + eax*4 - 0x88]
push 4
pop eax
imul eax, eax, 0
imul ecx, dword [ebp + eax - 0x1dc]
mov dword [ebp - 0x2c], ecx
jmp 0x1003fdd6
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10040496
mov dword [ebp - 0x1d4], 0xffffffff
mov dword [ebp - 0x1d0], 0xffffffff
mov dword [ebp - 0x1cc], 0xffffffff
mov dword [ebp - 0x1c8], 0xffffffff
mov dword [ebp - 0x44], 0x1c443818
mov dword [ebp - 0x15c], 0xb964069a
mov dword [ebp - 0x1b4], 0xfffffffc
mov dword [ebp - 0x5c], 0
jmp 0x1004006a
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1004007d
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x64], 0x24a8c6a5
jmp 0x10040063
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x64], 0xfffffff7
jmp 0x100400a2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x64], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 4
jg 0x10040365
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x100400ca
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x10040112
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100400e9
push 0x1ef2
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10040110
push 0x1215
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Polygon]
jmp 0x100400c3
mov dword [ebp - 8], 0
jmp 0x10040122
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x10040360
mov dword [ebp - 0x14], 0
jmp 0x1004013c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004014f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], 0xbe9fb1c0
jmp 0x10040135
mov dword [ebp - 0x14], 0
jmp 0x1004015f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10040175
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1c0], 0x789328a0
jmp 0x10040158
mov eax, dword [ebp - 8]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x64]
cmp dword [ebp + eax*4 - 0x1d4], ecx
jle 0x10040197
mov dword [ebp - 0x14c], 1
jmp 0x1004019e
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x58], ecx
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1c0], 0
jmp 0x100401dc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c0], 3
jg 0x1004035b
mov dword [ebp - 0x170], 0x2d3d4782
mov dword [ebp - 0x34], 0
jmp 0x1004020a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10040220
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1e4], 0x8b4dfecb
jmp 0x10040203
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x10040234
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x238], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x1e4]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x64]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x58]
jne 0x1004027f
mov dword [ebp - 0xc4], 1
jmp 0x10040286
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 8]
add eax, 0x315d00c2
cmp eax, 0xffffffff
jb 0x100402ab
mov dword [ebp - 0x114], 1
jmp 0x100402b2
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1e4]
cmp eax, dword [ebp - 0x114]
jl 0x100402d7
push 7
pop eax
test eax, eax
jne 0x100402d7
and dword [ebp - 0xcc], 0
jmp 0x100402e1
mov dword [ebp - 0xcc], 1
cmp dword [ebp - 0xcc], 0xd437
jle 0x100402f9
mov dword [ebp - 0x13c], 1
jmp 0x10040300
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 0
jae 0x10040315
mov dword [ebp - 0xd4], 1
jmp 0x1004031c
and dword [ebp - 0xd4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1c0]
sub eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 8]
jle 0x1004033f
mov dword [ebp - 0x11c], 1
jmp 0x10040346
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x58], ecx
jmp 0x100401c1
jmp 0x1004011b
jmp 0x1004008d
mov dword [ebp - 0x44], 4
jmp 0x10040375
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffffa
jg 0x10040483
mov dword [ebp - 0x90], 0xfffe
mov dword [ebp - 0x144], 0xc6a332e5
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x204], eax
mov eax, 0x8236511f
test eax, eax
je 0x100403b1
cmp dword [ebp - 0x90], 0
jne 0x100403c3
cmp dword [ebp - 0x15c], 0
jne 0x100403c3
and dword [ebp - 0xdc], 0
jmp 0x100403cd
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0xdc]
add eax, 9
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1d4]
jl 0x100403f2
cmp dword [ebp - 0x15c], 0
mov eax, 0xd6b
imul eax, eax, 0xf12c
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x64]
jne 0x10040415
mov dword [ebp - 0xe4], 1
jmp 0x1004041c
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1d4]
cmp eax, dword [ebp - 0xe4]
jne 0x1004043c
mov dword [ebp - 0x124], 1
jmp 0x10040443
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x1b4]
cmp dword [ebp - 0x124], eax
je 0x1004045d
mov dword [ebp - 0xec], 1
jmp 0x10040464
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x1004047e
jmp 0x1004036e
jmp 0x1004036e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x10040bfc
mov dword [ebp - 0x1a4], 0xfffffffd
mov dword [ebp - 0x1a0], 0xfffffffd
mov dword [ebp - 0x19c], 0xfffffffd
mov dword [ebp - 0x198], 0xfffffffd
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1a4], 0xfffffff7
jmp 0x100404ec
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a4]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1a4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1a4], 0x15
jl 0x100405ad
mov dword [ebp - 0x54], 0x5f1dbecc
mov dword [ebp - 0x54], 4
jmp 0x10040517
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jle 0x100405a8
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10040548
push 0x18f
push 0
push 0x97b
push 0
push 0x212d
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x100405a3
push 0x112f
push 0xaac
push 0x258b
push 0x11f2
push 0x1182
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
push 0x2469
push 0x751
push 0xd78
push 0x269d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x10040510
jmp 0x100404d1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x7c], 0x9725245f
mov dword [ebp - 0x1ac], 0xd5493e62
mov dword [ebp - 0x4c], 0
jmp 0x100405ed
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10040603
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x12c], 0xa07e4fc2
jmp 0x100405e6
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10040617
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x12c], 0xfe30f587
jae 0x10040636
mov dword [ebp - 0xf4], 1
jmp 0x1004063d
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 4
jg 0x10040652
mov dword [ebp - 0xac], 1
jmp 0x10040659
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x10040699
cmp dword [ebp - 0x7c], 0
je 0x10040699
mov dword [ebp - 0x154], 1
jmp 0x100406a0
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0x3ddca272
jne 0x100406b8
mov dword [ebp - 0x94], 1
jmp 0x100406bf
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, 0xff12
mov ecx, dword [ebp - 0xac]
sub ecx, eax
cmp ecx, 0x925b0e44
jb 0x100406e6
mov dword [ebp - 0xb0], 1
jmp 0x100406ed
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0xd2466e9f
jae 0x10040705
mov dword [ebp - 0xb8], 1
jmp 0x1004070c
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
shl eax, 3
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x180]
movzx eax, byte [eax]
test eax, eax
je 0x10040884
mov dword [ebp - 0x40], 0xfffffffa
mov dword [ebp - 0x1c], 0xa98815cb
mov dword [ebp - 0x3c], 0
jmp 0x1004074a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x10040760
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1f8], 0xffffffff
jmp 0x10040743
cmp dword [ebp - 0x40], 0
jne 0x10040778
mov eax, 0x1bca9d69
test eax, eax
jne 0x10040778
and dword [ebp - 0xc0], 0
jmp 0x10040782
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0xc0], 9
jne 0x10040797
mov dword [ebp - 0xc8], 1
jmp 0x1004079e
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xc8]
jge 0x100407b5
mov dword [ebp - 0xd0], 1
jmp 0x100407bc
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xd0]
jne 0x100407d3
mov dword [ebp - 0xd8], 1
jmp 0x100407da
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xd8]
jle 0x100407f1
mov dword [ebp - 0xe0], 1
jmp 0x100407f8
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0
jmp 0x10040811
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x10040872
mov dword [ebp - 0x1b0], 0x56e348cc
mov dword [ebp - 0x188], 0xb0e82ca9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x1f8]
mov dword [ebp + ecx*4 - 0x1f8], eax
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ebp + ecx*4 - 0x1f8]
jne 0x1004085d
mov dword [ebp - 0xe8], 1
jmp 0x10040864
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x188], eax
jmp 0x1004080a
push 0x3a7
push 1
push 0x88e
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x16c], 0x9bacc5d9
mov dword [ebp - 0x234], 0x545ee28f
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x168], 0x8f4a8fe2
mov dword [ebp - 0x38], 0xecce35a1
mov dword [ebp - 0x194], 0x707e294
mov dword [ebp - 0x174], 0x90294961
mov dword [ebp - 0x48], 0
jmp 0x100408d4
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x100408ea
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x24c], 0x37c04ccb
jmp 0x100408cd
cmp dword [ebp - 0x18], 1
jge 0x100408fc
mov dword [ebp - 0xf0], 1
jmp 0x10040903
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xf0], eax
jne 0x10040b1d
cmp dword [ebp - 0x194], 0
je 0x10040b1d
mov dword [ebp - 0x30], 0xd69
mov dword [ebp - 0xf8], 0x92f88b31
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x18], 8
jmp 0x1004094a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x35
jl 0x10040b02
mov dword [ebp - 0x190], 0xe77da19
mov dword [ebp - 0x78], 0x3bd830bf
mov dword [ebp - 0x50], 0
jmp 0x10040975
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1004098b
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1ec], 1
jmp 0x1004096e
mov dword [ebp - 0x38], 0
jmp 0x1004099b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xf
jl 0x10040afd
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x8c], 0xfffffffc
cmp dword [ebp - 0x190], 0
je 0x100409cb
jmp 0x10040afd
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1ec]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x8c], eax
jg 0x10040a0d
mov dword [ebp - 0x1a8], 1
jmp 0x10040a14
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x6c], eax
je 0x10040a3b
mov dword [ebp - 0x70], 1
jmp 0x10040a3f
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x1ec], ecx
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x70], eax
jle 0x10040a63
mov dword [ebp - 0x100], 1
jmp 0x10040a6a
and dword [ebp - 0x100], 0
imul eax, dword [ebp - 0x100], 0xbb64
imul eax, dword [ebp - 0x30]
cmp eax, 0xbb358509
je 0x10040a8b
mov dword [ebp - 0x108], 1
jmp 0x10040a92
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
sub eax, 0xe88f
mov dword [ebp - 0x110], eax
imul eax, dword [ebp - 0x110], 0
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x10040ac2
cmp dword [ebp - 0x78], 0
jne 0x10040ac2
and dword [ebp - 0x118], 0
jmp 0x10040acc
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x118]
neg eax
cmp dword [ebp - 0x30], eax
jge 0x10040ae5
mov dword [ebp - 0x120], 1
jmp 0x10040aec
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x168], eax
jmp 0x10040994
jmp 0x10040943
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10040b18
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
jmp 0x10040bfc
mov dword [ebp - 0x17c], 0xa242
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x18], 0xfffffffd
jb 0x10040b45
mov dword [ebp - 0x128], 1
jmp 0x10040b4c
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0x4084f7cb
jne 0x10040b64
mov dword [ebp - 0x130], 1
jmp 0x10040b6b
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x130]
jg 0x10040b82
mov dword [ebp - 0x138], 1
jmp 0x10040b89
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24c]
cmp dword [ebp - 0x138], eax
jle 0x10040baa
mov dword [ebp - 0x98], 1
jmp 0x10040bb1
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x98], eax
jl 0x10040bcb
mov dword [ebp - 0x9c], 1
jmp 0x10040bd2
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x9c]
jg 0x10040be9
mov dword [ebp - 0xa4], 1
jmp 0x10040bf0
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x17c], eax
mov esp, ebp
pop ebp
ret