Function at 0x1003f182
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ebf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push esi
mov dword [ebp - 0x10], 0xb5934215
push 3
lea ecx, [ebp - 0xa4]
call fcn.100166d2
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x83afd470
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2c8], 0xffffffff
mov dword [ebp - 0x2d8], 1
mov dword [ebp - 0x2a0], 0xfffffffd
mov dword [ebp - 0x2a4], 0xfefd5227
mov dword [ebp - 0x2ac], 0x2d0b182b
mov dword [ebp - 0x2b4], 4
push 2
lea ecx, [ebp - 0x2c4]
call fcn.100166d2
mov byte [ebp - 4], 1
mov dword [ebp - 0x29c], 0x31915e30
mov dword [ebp - 0xcc], 0xdf500c33
mov dword [ebp - 0x18], 0
jmp 0x1003f23b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1003f254
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa4]
call fcn.1001675e
and dword [eax], 0
jmp 0x1003f234
mov dword [ebp - 0x18], 0
jmp 0x1003f264
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003f280
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c4]
call fcn.1001675e
mov dword [eax], 1
jmp 0x1003f25d
cmp dword [ebp - 0x10], 1
jne 0x1003f292
mov dword [ebp - 0x160], 1
jmp 0x1003f299
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x160], eax
jg 0x1003f2b0
mov dword [ebp - 0x1d0], 1
jmp 0x1003f2b7
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x10], eax
jne 0x1003f2d1
mov dword [ebp - 0x1c4], 1
jmp 0x1003f2d8
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0
jae 0x1003f2ed
mov dword [ebp - 0x200], 1
jmp 0x1003f2f4
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2fc], eax
push 2
lea ecx, [ebp - 0xa4]
call fcn.1001675e
mov esi, dword [ebp - 0x10]
push 1
lea ecx, [ebp - 0xa4]
call fcn.1001675e
mov eax, dword [eax]
lea esi, [esi + eax - 0x228a7d46]
push 2
lea ecx, [ebp - 0xa4]
call fcn.1001675e
cmp esi, dword [eax]
jne 0x1003f340
mov dword [ebp - 0x180], 1
jmp 0x1003f347
and dword [ebp - 0x180], 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001675e
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [eax]
jg 0x1003f36a
mov dword [ebp - 0xb4], 1
jmp 0x1003f371
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xb4]
jg 0x1003f388
mov dword [ebp - 0x188], 1
jmp 0x1003f38f
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x40]
add esi, dword [ebp - 0x10]
push 2
lea ecx, [ebp - 0xa4]
call fcn.1001675e
add esi, dword [eax]
push 2
lea ecx, [ebp - 0xa4]
call fcn.1001675e
imul esi, dword [eax]
cmp esi, dword [ebp - 0x10]
je 0x1003f3ce
mov dword [ebp - 0xbc], 1
jmp 0x1003f3d5
and dword [ebp - 0xbc], 0
push 2
lea ecx, [ebp - 0xa4]
call fcn.1001675e
mov ecx, dword [ebp - 0xbc]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x10]
jl 0x1003f4ca
imul eax, dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x10], eax
jl 0x1003f408
mov dword [ebp - 0x190], 1
jmp 0x1003f40f
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x190]
jle 0x1003f426
mov dword [ebp - 0xc4], 1
jmp 0x1003f42d
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xb6a69eed
jbe 0x1003f445
mov dword [ebp - 0x198], 1
jmp 0x1003f44c
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0x481d
jne 0x1003f4b1
mov dword [ebp - 0x10], 0
jmp 0x1003f468
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1003f4af
mov dword [ebp - 0x40], 2
jmp 0x1003f47e
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1003f4ad
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1003f4ab
push 0
push 0
push 0x24dc
push 0x1758
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x1003f477
jmp 0x1003f461
jmp 0x1003f4c8
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1003f4c8
push 0x379
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x1003f4e3
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1003f4e3
push 0x197d
push 0
call dword [sym.imp.USER32.dll_CharLowerBuffW]
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.10016759
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10016759
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004028d
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x6c], 0x2bfb
mov dword [ebp - 0xdc], 0xfffffffc
push 1
lea ecx, [ebp - 0x28c]
call fcn.100166d2
mov dword [ebp - 4], 2
mov dword [ebp - 0x248], 0x43b8a277
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x1003f56a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1003f586
push dword [ebp - 0x54]
lea ecx, [ebp - 0x28c]
call fcn.1001675e
mov dword [eax], 0x1de6fc60
jmp 0x1003f563
cmp dword [ebp - 0x24], 0
je 0x1003f618
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x24], eax
jne 0x1003f5ad
mov dword [ebp - 0x1a0], 1
jmp 0x1003f5b4
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1a0], eax
je 0x1003f5cb
mov dword [ebp - 0xd4], 1
jmp 0x1003f5d2
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 6
jbe 0x1003f5e7
mov dword [ebp - 0x1a8], 1
jmp 0x1003f5ee
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1a8]
add eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], eax
jle 0x1003f605
cmp dword [ebp - 0x24], 0
je 0x1003f618
mov eax, 0xd927f7b6
test eax, eax
je 0x1003f618
cmp dword [ebp - 0x6c], 0
je 0x1003f618
cmp dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1b0], eax
push 0
lea ecx, [ebp - 0x28c]
call fcn.1001675e
mov ecx, dword [ebp - 0x1b0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0xe4]
dec eax
mov dword [ebp - 0xe4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.10016759
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x1a4], 0x3d1bca9d
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x7c], 0x5378470e
mov dword [ebp - 0x258], 0xb8e136dc
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x24c], 0xffffffff
mov dword [ebp - 0x1b8], 0
push 1
lea ecx, [ebp - 0x2d4]
call fcn.100166d2
mov dword [ebp - 4], 3
mov dword [ebp - 0x2f0], 0xa320
mov dword [ebp - 0x300], 0x8c458a92
mov dword [ebp - 0x60], 0xbf2b8319
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x68], 0
jmp 0x1003f70d
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1003f726
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2d4]
call fcn.1001675e
and dword [eax], 0
jmp 0x1003f706
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
ja 0x1003f73f
mov dword [ebp - 0xec], 1
jmp 0x1003f746
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
sub eax, dword [ebp - 0x70]
cmp dword [ebp - 0xec], eax
jg 0x1003f76c
mov dword [ebp - 0x1c0], 1
jmp 0x1003f773
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1bc]
imul eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x1a4], eax
je 0x1003f794
mov dword [ebp - 0x1c8], 1
jmp 0x1003f79b
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1c8], eax
jge 0x1003f7b2
mov dword [ebp - 0xf8], 1
jmp 0x1003f7b9
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xa94fe87
jne 0x1003f7d1
mov dword [ebp - 0x168], 1
jmp 0x1003f7d8
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 1
jl 0x1003f7ed
mov dword [ebp - 0x100], 1
jmp 0x1003f7f4
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x100], eax
jne 0x1003f80b
mov dword [ebp - 0x170], 1
jmp 0x1003f812
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x70], eax
jg 0x1003f82f
mov dword [ebp - 0x108], 1
jmp 0x1003f836
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
inc eax
je 0x1003f857
cmp dword [ebp - 0x60], 0
je 0x1003f857
mov dword [ebp - 0x174], 1
jmp 0x1003f85e
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x1a4], eax
jl 0x1003f884
mov dword [ebp - 0x118], 1
jmp 0x1003f88b
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
add eax, 0xffff
cmp eax, dword [ebp - 0x7c]
jg 0x1003f8a7
mov dword [ebp - 0x250], 1
jmp 0x1003f8ae
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x258]
sub eax, 0x2c64
cmp eax, dword [ebp - 0x260]
jl 0x1003f8d6
mov dword [ebp - 0x17c], 1
jmp 0x1003f8dd
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x17c], eax
jle 0x1003f8f7
mov dword [ebp - 0x120], 1
jmp 0x1003f8fe
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1bc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.10016759
mov dword [ebp - 0x1c], 0
jmp 0x1003f929
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003f93f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x310], 0
jmp 0x1003f922
mov dword [ebp - 0x1c], 0
jmp 0x1003f94f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003f965
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1ec], 3
jmp 0x1003f948
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1ec], 0
jmp 0x1003f993
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ec]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1ec], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1ec], 3
jge 0x1003f9bd
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ec]
mov dword [ebp + eax*4 - 0x310], 0xd16df251
jmp 0x1003f978
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1ec], 0x88a137b1
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x14], 0x57fd5464
mov dword [ebp - 0x1fc], 0x19f8c517
mov dword [ebp - 0x1f8], 0x19f8c517
mov dword [ebp - 0x1f4], 0x19f8c517
mov dword [ebp - 0x1f0], 0x19f8c517
mov dword [ebp - 0x88], 0xf2fe
mov dword [ebp - 0x218], 0x25d8bac8
mov dword [ebp - 0x220], 0x665fec6b
mov dword [ebp - 0x14], 0x17
jmp 0x1003fa37
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x11
jg 0x1003fd07
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x184], 0x49dcb7be
mov dword [ebp - 0x194], 9
mov dword [ebp - 0x150], 0x274cb070
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jge 0x1003fa7a
mov dword [ebp - 0x128], 1
jmp 0x1003fa81
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x184], eax
jne 0x1003faa4
mov dword [ebp - 0x130], 1
jmp 0x1003faab
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x130]
jg 0x1003fac2
mov dword [ebp - 0x1ac], 1
jmp 0x1003fac9
and dword [ebp - 0x1ac], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1fc]
cmp dword [ebp - 0x1ac], eax
jg 0x1003faea
mov dword [ebp - 0x214], 1
jmp 0x1003faf1
and dword [ebp - 0x214], 0
mov eax, 0x5c124380
cmp eax, 0xffffffff
jle 0x1003fb07
mov dword [ebp - 0x138], 1
jmp 0x1003fb0e
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x9ac92d14
jne 0x1003fb26
mov dword [ebp - 0x18c], 1
jmp 0x1003fb2d
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1fc]
cmp dword [ebp - 0x18c], eax
je 0x1003fb4e
mov dword [ebp - 0x210], 1
jmp 0x1003fb55
and dword [ebp - 0x210], 0
push 4
pop eax
imul eax, eax, 0x4309
test eax, eax
jne 0x1003fb72
push 6
pop eax
test eax, eax
jne 0x1003fb72
and dword [ebp - 0x238], 0
jmp 0x1003fb7c
mov dword [ebp - 0x238], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1fc]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x88]
jne 0x1003fbad
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1003fbad
and dword [ebp - 0x140], 0
jmp 0x1003fbb7
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x140]
cmp dword [ebp - 0x14], eax
jle 0x1003fbd9
push 3
pop eax
test eax, eax
je 0x1003fbd9
mov dword [ebp - 0x1cc], 1
jmp 0x1003fbe0
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0
jb 0x1003fbf6
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1fc], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2f8], eax
imul eax, dword [ebp - 0x88], 0xffff
test eax, eax
je 0x1003fc35
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1fc], 0
je 0x1003fc35
mov dword [ebp - 0x148], 1
jmp 0x1003fc3c
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x150], eax
jg 0x1003fc6b
mov dword [ebp - 0x1b4], 1
jmp 0x1003fc72
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1b4]
imul eax, eax, 0xc573
cmp eax, 0x98b3027f
jae 0x1003fc94
mov dword [ebp - 0x158], 1
jmp 0x1003fc9b
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x158]
jle 0x1003fcb2
mov dword [ebp - 0x19c], 1
jmp 0x1003fcb9
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x19c], eax
jge 0x1003fcd0
mov dword [ebp - 0xa8], 1
jmp 0x1003fcd7
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x218]
cmp dword [ebp - 0xa8], eax
jle 0x1003fcf1
mov dword [ebp - 0x25c], 1
jmp 0x1003fcf8
and dword [ebp - 0x25c], 0
mov dword [ebp - 0x220], 2
jmp 0x1003fa30
mov eax, dword [ebp - 0x244]
movzx eax, byte [eax]
test eax, eax
je 0x10040197
mov dword [ebp - 0x34], 0x477862fd
mov dword [ebp - 0x1e0], 0x38299fa9
mov dword [ebp - 0x1dc], 0x38299fa9
mov dword [ebp - 0x1d8], 0x38299fa9
mov dword [ebp - 0x1d4], 0x38299fa9
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0x104], 0xd7f285f4
or dword [ebp - 0x274], 0xffffffff
or dword [ebp - 0x270], 0xffffffff
or dword [ebp - 0x26c], 0xffffffff
or dword [ebp - 0x268], 0xffffffff
lea ecx, [ebp - 0x81]
call fcn.10008be3
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x318]
call fcn.1001676d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2e4]
call fcn.10016733
mov dword [ebp - 4], 4
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x230], 0x2e882408
mov dword [ebp - 0x4c], 0
jmp 0x1003fdd7
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1003fded
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x240], 5
jmp 0x1003fdd0
mov dword [ebp - 0x34], 0x17
jmp 0x1003fdfd
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffffc
jl 0x10040178
mov dword [ebp - 0x58], 0
jmp 0x1003fe17
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x1003fe2d
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x98], 0xc62e0897
jmp 0x1003fe10
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
je 0x1004013b
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x2b8], eax
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x1e0], 0xe26b
push 4
pop ecx
imul ecx, ecx, 3
cmp eax, dword [ebp + ecx - 0x98]
jl 0x1003fe7f
mov dword [ebp - 0x16c], 1
jmp 0x1003fe86
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
add eax, 9
cmp dword [ebp - 0x34], eax
jl 0x1003fea0
mov dword [ebp - 0xf0], 1
jmp 0x1003fea7
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
add eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xfffb
jne 0x1003fed8
mov dword [ebp - 0xfc], 1
jmp 0x1003fedf
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x104], eax
je 0x1003ff0b
mov dword [ebp - 0x10c], 1
jmp 0x1003ff12
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
neg eax
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x98]
cmp dword [ebp - 0x34], eax
je 0x1003ff44
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x1003ff44
and dword [ebp - 0x114], 0
jmp 0x1003ff4e
mov dword [ebp - 0x114], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp eax, dword [ebp - 0x114]
jle 0x1003ff6f
mov dword [ebp - 0x11c], 1
jmp 0x1003ff76
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e0]
imul eax, dword [ebp - 0x11c]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1e0]
jne 0x1003ffa1
mov dword [ebp - 0x74], 1
jmp 0x1003ffa5
and dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0x2e4]
call fcn.1001675e
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
cmp dword [ebp - 0x74], 0
je 0x1003ffce
xor eax, eax
inc eax
je 0x1003ffce
mov dword [ebp - 0x124], 1
jmp 0x1003ffd5
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0
jne 0x1003ffea
mov dword [ebp - 0x12c], 1
jmp 0x1003fff1
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e0]
cmp dword [ebp - 0x12c], eax
je 0x10040012
mov dword [ebp - 0x134], 1
jmp 0x10040019
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x240]
imul eax, dword [ebp - 0x134]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1e0]
jge 0x10040051
mov eax, 0x4b505d01
test eax, eax
je 0x10040051
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1e0]
cmp dword [ebp + eax - 0x98], ecx
jl 0x10040079
mov dword [ebp - 0x13c], 1
jmp 0x10040080
and dword [ebp - 0x13c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x240]
cmp dword [ebp - 0x13c], eax
jne 0x100400a1
mov dword [ebp - 0x144], 1
jmp 0x100400a8
and dword [ebp - 0x144], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x240]
cmp dword [ebp - 0x144], eax
jl 0x100400c9
mov dword [ebp - 0x14c], 1
jmp 0x100400d0
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0x7067d5b4
jg 0x100400e8
mov dword [ebp - 0x228], 1
jmp 0x100400ef
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x254], 0
jne 0x10040111
mov eax, 0x50eb
test eax, eax
jne 0x10040111
push 5
pop eax
test eax, eax
jne 0x10040111
and dword [ebp - 0x154], 0
jmp 0x1004011b
mov dword [ebp - 0x154], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
add eax, dword [ebp - 0x154]
je 0x1004013b
mov dword [ebp - 0x15c], 1
jmp 0x10040142
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + eax - 0x98], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
sub eax, dword [ebp - 0x230]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x98], eax
jmp 0x1003fdf6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.10016759
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov dword [ebp - 0x38], 0xfffffff7
mov dword [ebp - 0x178], 0xfffffff9
mov dword [ebp - 0x208], 9
mov dword [ebp - 0xb0], 0xfffffffb
mov dword [ebp - 0x20c], 0xffffffff
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x38], 0xe649
jne 0x100401e7
cmp dword [ebp - 0x38], 0
jne 0x100401e7
and dword [ebp - 0x164], 0
jmp 0x100401f1
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x178]
push 5
pop ecx
sub ecx, eax
cmp ecx, dword [ebp - 0x208]
je 0x10040220
mov dword [ebp - 0xac], 1
jmp 0x10040227
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0xb0]
test eax, eax
jne 0x10040250
cmp dword [ebp - 0x38], 0
jne 0x10040250
and dword [ebp - 0xb8], 0
jmp 0x1004025a
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x20c], eax
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10040288
push 0
push 0
push 0x85
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
jmp 0x10040561
mov dword [ebp - 0x80], 0x942a
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x30], 0xfffffffc
mov dword [ebp - 0xd0], 0
push 3
lea ecx, [ebp - 0x280]
call fcn.100166d2
mov dword [ebp - 4], 5
mov dword [ebp - 0x204], 0x3589fe57
mov dword [ebp - 0x20], 0
jmp 0x100402da
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x100402f6
push dword [ebp - 0x20]
lea ecx, [ebp - 0x280]
call fcn.1001675e
mov dword [eax], 0x1af7f3e7
jmp 0x100402d3
mov dword [ebp - 0x20], 0
jmp 0x10040306
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004031c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x224], 0x1aa08ecb
jmp 0x100402ff
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x10040337
cmp dword [ebp - 0x78], 0
jne 0x10040337
and dword [ebp - 0xc0], 0
jmp 0x10040341
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xc0], eax
jne 0x10040358
mov dword [ebp - 0xe0], 1
jmp 0x1004035f
and dword [ebp - 0xe0], 0
mov dword [ebp - 0x30], 6
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x30], eax
jne 0x1004037a
mov dword [ebp - 0xc8], 1
jmp 0x10040381
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov esi, dword [ebp - 0xd0]
push 0
lea ecx, [ebp - 0x280]
call fcn.1001675e
cmp esi, dword [eax]
jg 0x100403b0
mov dword [ebp - 0xd8], 1
jmp 0x100403b7
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x204]
cmp dword [ebp - 0xd8], eax
jg 0x100403d1
mov dword [ebp - 0x21c], 1
jmp 0x100403d8
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0xe0]
sub eax, 0xc9ca
je 0x100403fa
mov eax, 0x91b4956e
test eax, eax
je 0x100403fa
mov dword [ebp - 0xe8], 1
jmp 0x10040401
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp + eax - 0x224], ecx
mov dword [ebp - 0x30], 0xfffffff5
jmp 0x10040424
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 7
jle 0x10040441
mov dword [ebp - 0x22c], 0
cmp dword [ebp - 0x22c], 0
je 0x1004043f
jmp 0x10040441
jmp 0x1004041d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.10016759
push 3
lea ecx, [ebp - 0x298]
call fcn.100166d2
mov dword [ebp - 4], 6
mov dword [ebp - 0x48], 0xfffffffc
mov dword [ebp - 0x5c], 0
jmp 0x1004047b
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10040497
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x298]
call fcn.1001675e
mov dword [eax], 0xfffc
jmp 0x10040474
mov dword [ebp - 0x48], 0
jmp 0x100404a7
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x10040534
mov dword [ebp - 0x64], 0x69f7fd1e
push dword [ebp - 0x48]
lea ecx, [ebp - 0x298]
call fcn.1001675e
cmp dword [eax], 0
je 0x100404cd
jmp 0x10040534
mov dword [ebp - 0x64], 0
jmp 0x100404dd
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jg 0x1004052f
mov dword [ebp - 0x50], 8
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x100404fc
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [ebp - 0x50], 2
jmp 0x1004050c
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1004052d
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004052b
push 0
push 0x192e
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x10040505
jmp 0x100404d6
jmp 0x100404a0
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004054a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x298]
call fcn.10016759
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret