Function at 0x1003fb3c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bb62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x528
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100418cb
lea eax, [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x228]
movzx eax, byte [eax]
test eax, eax
je 0x10041861
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x2b4], eax
push 4
lea ecx, [ebp - 0x210]
call fcn.1001ba30
and dword [ebp - 4], 0
mov dword [ebp - 0x64], 0x1ca2961c
mov dword [ebp - 0x68], 0
jmp 0x1003fbf1
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1003fc07
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x448], 1
jmp 0x1003fbea
lea eax, [ebp - 0x210]
push eax
push 1
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.1003bb27
add esp, 0x10
push 3
lea ecx, [ebp - 0x210]
call fcn.1001bad7
and dword [eax], 0
jmp 0x1003fc54
push 3
lea ecx, [ebp - 0x210]
call fcn.1001bad7
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x184]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x210]
call fcn.1001bad7
cmp dword [eax], 2
jg 0x1003fc8e
push 1
push 1
call fcn.1003bbe7
pop ecx
pop ecx
push 3
lea ecx, [ebp - 0x210]
call fcn.1001bad7
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x448], 0
je 0x1003fc8c
jmp 0x1003fc30
jmp 0x1003fc30
mov dword [ebp - 0x64], 0
jmp 0x1003fc9e
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jg 0x1003fcb5
mov eax, dword [ebp - 0x64]
cmp dword [ebp + eax*4 - 0x448], 0
je 0x1003fcb3
jmp 0x1003fcb5
jmp 0x1003fc97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.1001bab2
mov dword [ebp - 0x78], 1
push 0
call fcn.10048004
pop ecx
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
mov dword [ebp - 0xcc], eax
push 2
lea ecx, [ebp - 0x458]
call fcn.1001ba30
mov dword [ebp - 4], 1
mov dword [ebp - 0x368], 0x9beb0647
mov dword [ebp - 0x3f8], 0xfffffffa
mov dword [ebp - 0xa8], 0
jmp 0x1003fd20
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1003fd42
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x458]
call fcn.1001bad7
mov dword [eax], 0xbca63185
jmp 0x1003fd13
push 0x4a64
push 0x6470
push 0xfab
push 1
push 0x4873
push 1
push 1
push 0x58b9
push 0x38d1
push 0x44d4
push 0x2fa2
lea eax, [ebp - 0x368]
push eax
push 0x3e7e
push 0x5b8e
call fcn.1003d39a
add esp, 0x38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.1001bab2
push 8
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
cmp dword [eax + 4], 0
jbe 0x100417c5
mov dword [ebp - 0x428], 0xcec3
mov dword [ebp - 0x4b0], 0xc4d8e5cc
mov dword [ebp - 0x430], 0x394a2a4f
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x45c], 0x11c15747
mov dword [ebp - 0x4b4], 0x2d76715f
mov dword [ebp - 0x46c], 1
mov dword [ebp - 0x1c4], 0x4402
mov dword [ebp - 0x220], 0x1000c150
cmp dword [ebp - 0x1c4], 0x46b7
jle 0x1003ff13
and dword [ebp - 0xc0], 0
jmp 0x1003fe3d
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x1f02
jge 0x1003ff03
and dword [ebp - 0x98], 0
jmp 0x1003fe63
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x3d65
jge 0x1003fefe
and dword [ebp - 0xe0], 0
jmp 0x1003fe89
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x24f6
jge 0x1003fef9
and dword [ebp - 0x90], 0
jmp 0x1003feab
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x73cb
jge 0x1003fef7
mov eax, dword [ebp - 0xe0]
imul eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [ebp - 0x98]
xor eax, ecx
cdq
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], edx
push dword [ebp - 0x328]
push dword [ebp - 0x32c]
mov ecx, 0x106232b8
call fcn.1001b658
jmp 0x1003fe9e
jmp 0x1003fe7c
jmp 0x1003fe56
jmp 0x1003fe30
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0x4bc], 1
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c4], 0x433a
jge 0x1003ff40
mov edx, dword [ebp - 0x220]
mov ecx, 0x106232b8
call fcn.100201ca
jmp 0x1003ff5c
or dword [ebp - 4], 0xffffffff
jmp 0x1003ff66
mov dword [ebp - 0x300], 1
mov dword [ebp - 0xd8], 0
jmp 0x1003ff89
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 2
jge 0x1003ffa5
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x518], 0xc590f023
jmp 0x1003ff7c
push 0x1ac7
push 0x6bc7
push 0x53a
push 0x1d25
push 0x46f8
push 0x2420
lea eax, [ebp - 0x300]
push eax
push 0x4771
push 0x596d
push 0
push 0
call fcn.100437d4
add esp, 0x2c
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax]
mov dword [ebp - 0x48], ecx
jmp 0x1003fffc
mov eax, dword [ebp - 0x48]
add eax, 0x14
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
call fcn.1003ac93
pop ecx
movzx eax, al
test eax, eax
jne 0x100417c5
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0xc], 0
je 0x100417c5
push 1
lea ecx, [ebp - 0x390]
call fcn.1001ba30
mov dword [ebp - 4], 4
mov dword [ebp - 0x44], 0xfffffff6
push 2
lea ecx, [ebp - 0x3e8]
call fcn.1001ba30
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0x2ae5
call fcn.1003f613
add esp, 0x14
push 0x127a
push 0
push 0x7fdf
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10041e22
add esp, 0x14
push 0x64d1
push 0x7086
push 0
push 0xd81
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100439c3
add esp, 0x1c
mov dword [ebp - 0x44], 0
jmp 0x100400c5
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jg 0x10040103
push dword [ebp - 0x44]
lea ecx, [ebp - 0x390]
call fcn.1001bad7
cmp dword [eax], 0
je 0x100400e0
jmp 0x10040103
mov byte [ebp - 0x3e], 0
lea eax, [ebp - 0x3e]
push eax
push 0x214f
push 0x2cf3
push 0
push 0x17c6
call fcn.1004a3f0
add esp, 0x14
jmp 0x100400be
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e8]
call fcn.1001bab2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x390]
call fcn.1001bab2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax + 0xc]
push ecx
push 0x8cae
push 0x82fc
call fcn.100394d6
pop ecx
pop ecx
call eax
mov dword [ebp - 0xf0], eax
push 1
lea ecx, [ebp - 0x478]
call fcn.1001ba30
mov dword [ebp - 4], 6
push 4
lea ecx, [ebp - 0x468]
call fcn.1001ba30
mov byte [ebp - 4], 7
mov dword [ebp - 0x4c], 0
jmp 0x1004017c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10040192
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0xa0], 7
jmp 0x10040175
lea eax, [ebp - 0x4c]
push eax
push 0
lea eax, [ebp - 0x478]
push eax
call fcn.1004bc07
add esp, 0xc
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x468]
push eax
push 0x3de1
push 0
push 0x490f
push 0x65b0
push 0x20a5
push 0x4d4c
push 1
call fcn.100422b8
add esp, 0x28
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xa0], 0
jmp 0x10040207
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xa0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa0], 8
jg 0x10040267
mov dword [ebp - 0xc8], 0
jmp 0x10040230
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 4
jge 0x1004024c
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x4e4], 0x509978f3
jmp 0x10040223
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4e4]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x4e4], eax
jmp 0x100401ec
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x468]
call fcn.1001bab2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.1001bab2
cmp dword [ebp - 0xf0], 0
jne 0x1004087b
mov dword [ebp - 0x308], 5
push 0x1aa4
push 1
lea eax, [ebp - 0x308]
push eax
push 1
push 0x4782
call fcn.1003d840
add esp, 0x14
and dword [ebp - 0x78], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x38], 0x3d4a1cf0
mov dword [ebp - 0x24c], 0x5eac84c9
mov dword [ebp - 0x1e4], 0xf16ce65c
mov dword [ebp - 0x150], 0xfffffffe
push 4
lea ecx, [ebp - 0x384]
call fcn.1001ba30
mov dword [ebp - 4], 8
mov dword [ebp - 0x194], 0x1056
mov dword [ebp - 0x310], 0x1000c18c
cmp dword [ebp - 0x194], 0x13f8
jle 0x100403fb
and dword [ebp - 0xb0], 0
jmp 0x10040337
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x742d
jge 0x100403fb
and dword [ebp - 0x84], 0
jmp 0x1004035d
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x2660
jge 0x100403f6
and dword [ebp - 0xe8], 0
jmp 0x10040383
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x10c6
jge 0x100403f1
mov eax, dword [ebp - 0x84]
cdq
idiv dword [ebp - 0xe8]
mov eax, dword [ebp - 0xb0]
mov ecx, edx
sar eax, cl
cdq
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x334], edx
push dword [ebp - 0x334]
push dword [ebp - 0x338]
lea ecx, [ebp - 0x538]
call fcn.1000e423
pop ecx
pop ecx
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
call fcn.1001b217
push eax
call fcn.10062533
pop ecx
lea ecx, [ebp - 0x538]
call fcn.1001b20d
jmp 0x10040376
jmp 0x10040350
jmp 0x1004032a
lea eax, [ebp - 0x384]
push eax
push 0
push 0x6f70
push 0x7675
lea eax, [ebp - 0x3fc]
push eax
push 1
call fcn.1003cfa7
add esp, 0x18
mov byte [ebp - 4], 9
cmp dword [ebp - 0x194], 0x1007
jge 0x1004043b
push dword [ebp - 0x310]
call fcn.10062533
pop ecx
jmp 0x10040457
mov dword [ebp - 4], 8
jmp 0x10040467
cmp dword [ebp - 0x14], 0
je 0x1004056b
mov dword [ebp - 0x3b8], 0xffff
mov dword [ebp - 0x3b4], 0xffff
mov dword [ebp - 0x3b0], 0xffff
mov dword [ebp - 0x3ac], 0xffff
lea ecx, [ebp - 0x101]
call fcn.1001bb39
push eax
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x510]
call fcn.1001bb3c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x488]
call fcn.1001ba8c
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], 0xa
jmp 0x100404e2
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
jle 0x10040531
mov dword [ebp - 0x320], 7
push 0x5695
push 0x168f
push 0x1e65
push 0x917
push 1
push 0xe57
lea eax, [ebp - 0x320]
push eax
push 0
push 0x6ab5
lea eax, [ebp - 0x488]
push eax
push 0x3f3f
call fcn.1005368c
add esp, 0x2c
jmp 0x100404db
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004055a
push 0x689
push 1
push 1
push 0x27bd
push 0
push 0x19de
call fcn.1004873f
add esp, 0x18
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x488]
call fcn.1001bab2
jmp 0x100405a9
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x248], 1
lea eax, [ebp - 0x260]
push eax
push 0xaa9
lea eax, [ebp - 0x248]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1e89
call fcn.10052ba4
add esp, 0x1c
cmp dword [ebp - 0x14], 0
jne 0x100405bb
mov dword [ebp - 0x128], 1
jmp 0x100405c2
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x128]
jge 0x1004084b
mov dword [ebp - 0x10c], 0xd514faf1
mov dword [ebp - 0x130], 0x7a8360e5
mov dword [ebp - 0xfc], 0
push 1
lea ecx, [ebp - 0x3f4]
call fcn.1001ba30
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x3f4]
push eax
push 0x49e7
push 1
push 0x33b0
push 0x19e6
push 0
call fcn.1003cecc
add esp, 0x1c
mov dword [ebp - 0x74], 0
jmp 0x10040636
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x1004064c
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x4f0], 1
jmp 0x1004062f
push 0x917
push 1
push 1
push 0x63d2
push 0x25a0
push 0
call fcn.100435a8
add esp, 0x18
cmp dword [ebp - 0x38], 0xffffffff
je 0x1004067b
mov dword [ebp - 0x1a4], 1
jmp 0x10040682
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x38], 0
jl 0x10040694
mov dword [ebp - 0x1ec], 1
jmp 0x1004069b
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
sub eax, 0xffff
cmp eax, dword [ebp - 0x130]
jle 0x100406ba
mov dword [ebp - 0x19c], 1
jmp 0x100406c1
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x19c], eax
jg 0x100406db
mov dword [ebp - 0x138], 1
jmp 0x100406e2
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
sub eax, 6
sub eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xfc]
je 0x10040712
cmp dword [ebp - 0xfc], 0
je 0x10040712
mov dword [ebp - 0x1cc], 1
jmp 0x10040719
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x1cc]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xfc]
jge 0x1004073a
mov dword [ebp - 0x140], 1
jmp 0x10040741
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x140], eax
jne 0x1004075b
mov dword [ebp - 0x148], 1
jmp 0x10040762
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x150]
jg 0x100407a4
mov dword [ebp - 0x1ac], 1
jmp 0x100407ab
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x158], eax
push 3
lea ecx, [ebp - 0x384]
call fcn.1001bad7
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x3f4]
call fcn.1001bad7
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x404], eax
xor eax, eax
jne 0x10040812
push 2
lea ecx, [ebp - 0x384]
call fcn.1001bad7
cmp dword [eax], 0
jne 0x10040812
and dword [ebp - 0x2d4], 0
jmp 0x1004081c
mov dword [ebp - 0x2d4], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x14]
add eax, 0xbb6a
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x4f0], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3f4]
call fcn.1001bab2
jmp 0x10040867
mov byte [ebp - 0x3c], 0
push 0x5071
push 0x4d7f
lea eax, [ebp - 0x3c]
push eax
push 0
call fcn.10050cc8
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.1001bab2
jmp 0x100417c5
mov dword [ebp - 0xd0], 0x1f7e2799
mov dword [ebp - 0x7c], 0xfffffffb
push 4
lea ecx, [ebp - 0x3c4]
call fcn.1001ba30
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x414], 0xde6eab3a
lea eax, [ebp - 0x41c]
push eax
push 1
push 0x29b9
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.1003ce13
add esp, 0x14
mov dword [ebp - 0xd0], 0
jmp 0x100408e2
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0xffffffea
je 0x10040a5d
push 1
lea ecx, [ebp - 0x21c]
call fcn.1001ba30
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x6c], 0xdcefbde2
push 0x50f0
push 0
lea eax, [ebp - 0x21c]
push eax
push 0x66c6
lea eax, [ebp - 0x424]
push eax
call fcn.1004ac2f
add esp, 0x14
push 0xfce
push 1
push 0x2779
lea eax, [ebp - 0x21c]
push eax
push 0x40ec
push 0x28ad
push 0xcf0
push 1
push 0x7f86
push 0x553d
push 0
call fcn.1004314c
add esp, 0x2c
push 0
lea ecx, [ebp - 0x21c]
call fcn.1001bad7
cmp dword [eax], 0
je 0x100409cb
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x36c], 0xb6046e74
push 1
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x36c]
push eax
push 1
push 0x21b
call fcn.1003c0d5
add esp, 0x20
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x39]
push eax
push 0
call fcn.10045c43
pop ecx
pop ecx
jmp 0x10040a49
mov dword [ebp - 0x7c], 0
jmp 0x100409db
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x10040a49
mov dword [ebp - 0x6c], 0
jmp 0x100409f1
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jg 0x10040a47
push 0x506b
push 0x1a28
push 0x201e
lea eax, [ebp - 0x7c]
push eax
push 0x5cf8
push 0x7294
push 0x3bcf
push 1
lea eax, [ebp - 0x21c]
push eax
push 1
push 1
call fcn.1003c360
add esp, 0x2c
mov byte [ebp - 0x31], 0
lea eax, [ebp - 0x31]
push eax
push 0x375e
push 0
call fcn.1005107c
add esp, 0xc
jmp 0x100409ea
jmp 0x100409d4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x21c]
call fcn.1001bab2
jmp 0x100408d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.1001bab2
push 0x32f5
push 0x7a68
lea eax, [ebp - 0x70]
push eax
push 1
push 1
push 0xc79
call fcn.1003cd26
add esp, 0x18
mov dword [ebp - 0x30], 0x438bea12
mov dword [ebp - 0x1d4], 0xfffffff9
mov dword [ebp - 0x54], 0x45bbbdeb
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x2dc], 0xb56
mov dword [ebp - 0xb8], 0
jmp 0x10040ad0
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 3
jge 0x10040aec
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x508], 3
jmp 0x10040ac3
cmp dword [ebp - 0x30], 1
ja 0x10040b2b
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x160], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x160]
mov dword [ebp + eax - 0x508], ecx
cmp dword [ebp - 0x160], 0
jne 0x10040b2b
and dword [ebp - 0x170], 0
jmp 0x10040b35
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x30], 0
je 0x10040b56
cmp dword [ebp - 0x30], 0
je 0x10040b56
mov dword [ebp - 0x1b4], 1
jmp 0x10040b5d
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x1b4]
test eax, eax
jne 0x10040b7a
cmp dword [ebp - 0x30], 0
jne 0x10040b7a
and dword [ebp - 0x168], 0
jmp 0x10040b84
mov dword [ebp - 0x168], 1
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x168], eax
jne 0x10040b9b
mov dword [ebp - 0x1f4], 1
jmp 0x10040ba2
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1f4], eax
je 0x10040bb9
mov dword [ebp - 0x1bc], 1
jmp 0x10040bc0
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x1bc]
jl 0x10040bda
mov dword [ebp - 0x178], 1
jmp 0x10040be1
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
add eax, 0x6dd2
imul eax, dword [ebp - 0x54]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x54], 2
jmp 0x10040c06
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x10040c32
mov dword [ebp - 0x434], 0xffffffff
mov dword [ebp - 0x4c0], 0xffffffff
push 0
lea eax, [ebp - 0x2dc]
push eax
call fcn.10043036
pop ecx
pop ecx
jmp 0x10040bff
mov dword [ebp - 0x188], 0x213b
mov dword [ebp - 0x264], 0x1000c1dc
cmp dword [ebp - 0x188], 0x246c
jle 0x10040d31
and dword [ebp - 0x94], 0
jmp 0x10040c6c
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x629f
jge 0x10040d31
and dword [ebp - 0x9c], 0
jmp 0x10040c92
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x16ab
jge 0x10040d2c
and dword [ebp - 0x88], 0
jmp 0x10040cb8
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x540
jge 0x10040d27
and dword [ebp - 0x8c], 0
jmp 0x10040cda
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x4543
jge 0x10040d25
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
xor ecx, dword [ebp - 0x9c]
xor eax, ecx
cdq
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], edx
push dword [ebp - 0x340]
push dword [ebp - 0x344]
mov ecx, 0x106232b8
call fcn.1001b658
jmp 0x10040ccd
jmp 0x10040cab
jmp 0x10040c85
jmp 0x10040c5f
mov eax, dword [ebp - 0x70]
cmp dword [eax + 8], 0
jne 0x10041001
mov dword [ebp - 0xa4], 5
push 1
lea ecx, [ebp - 0x3d0]
call fcn.1001ba30
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x3d0]
push eax
push 0
push 1
lea eax, [ebp - 0x4ac]
push eax
call fcn.10052625
add esp, 0x10
mov dword [ebp - 0xa4], 0
jmp 0x10040d8f
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 7
jl 0x10040fe0
push 4
lea ecx, [ebp - 0x204]
call fcn.1001ba30
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xac], 0x946507e6
push 1
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x204]
push eax
push 0x389f
call fcn.1003d9b1
add esp, 0x14
mov dword [ebp - 0x60], 0
jmp 0x10040de3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x10040df9
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x43c], 0
jmp 0x10040ddc
push 1
lea ecx, [ebp - 0x204]
call fcn.1001bad7
and dword [eax], 0
jmp 0x10040e2f
push 1
lea ecx, [ebp - 0x204]
call fcn.1001bad7
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x204]
call fcn.1001bad7
cmp dword [eax], 0
jl 0x10040e6c
push 4
pop esi
shl esi, 0
push 1
lea ecx, [ebp - 0x204]
call fcn.1001bad7
push dword [eax]
lea ecx, [ebp - 0x3d0]
call fcn.1001bad7
mov eax, dword [eax]
mov dword [ebp + esi - 0x43c], eax
jmp 0x10040e0b
mov dword [ebp - 0xac], 0xffffffed
jmp 0x10040e85
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 4
jl 0x10040fcc
mov dword [ebp - 0xb4], 0x5aa96141
mov dword [ebp - 0xb4], 0
jmp 0x10040eb5
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 1
jg 0x10040fc7
push 2
lea ecx, [ebp - 0x378]
call fcn.1001ba30
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xbc], 0
jmp 0x10040eec
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 2
jge 0x10040f0e
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x378]
call fcn.1001bad7
mov dword [eax], 0xa80bfb3a
jmp 0x10040edf
push 1
lea ecx, [ebp - 0x378]
call fcn.1001bad7
and dword [eax], 0
jmp 0x10040f44
push 1
lea ecx, [ebp - 0x378]
call fcn.1001bad7
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x114]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x378]
call fcn.1001bad7
cmp dword [eax], 3
jg 0x10040fb3
mov dword [ebp - 0xc4], 0x2b96ce02
mov dword [ebp - 0xc4], 0
jmp 0x10040f79
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 1
jg 0x10040fae
mov byte [ebp - 0x3d], 0
push 0x3d17
push 1
push 0x175e
push 1
lea eax, [ebp - 0x3d]
push eax
push 0x39e7
push 0x126
push 0
call fcn.1004b5d6
add esp, 0x20
jmp 0x10040f6c
jmp 0x10040f20
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x378]
call fcn.1001bab2
jmp 0x10040ea8
jmp 0x10040e78
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x204]
call fcn.1001bab2
jmp 0x10040d82
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d0]
call fcn.1001bab2
lea eax, [ebp - 0x78]
push eax
push 0
call fcn.10042931
pop ecx
pop ecx
jmp 0x100417c5
mov dword [ebp - 4], 0x12
cmp dword [ebp - 0x188], 0x2081
jge 0x10041024
mov edx, dword [ebp - 0x264]
mov ecx, 0x106232b8
call fcn.100201ca
jmp 0x10041040
or dword [ebp - 4], 0xffffffff
jmp 0x1004104a
mov dword [ebp - 0x5c], 0x4fd3df75
mov dword [ebp - 0x354], 0xf7e
mov dword [ebp - 0x2e4], 0x4727cad7
mov dword [ebp - 0x26c], 0x1d65f4e2
mov dword [ebp - 0x5c], 0
jmp 0x1004107f
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x12
jne 0x100410df
mov dword [ebp - 0x324], 0x7a4bedcc
mov dword [ebp - 0x274], 1
push 0
push 0x5f80
lea eax, [ebp - 0x324]
push eax
push 0xd75
lea eax, [ebp - 0x26c]
push eax
push 0x7feb
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x274]
push eax
push 1
push 1
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10045ce3
add esp, 0x30
jmp 0x10041078
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2ec]
push eax
push dword [ebp - 0xcc]
push dword [ebp - 0x48]
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x70]
call fcn.1003add9
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2ec]
push eax
push dword [ebp - 0xcc]
lea eax, [ebp - 0xf0]
push eax
call fcn.1003ba58
add esp, 0x14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 0x6e40424b
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x28], 0
jmp 0x1004115e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10041174
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x31c], 0x2280643b
jmp 0x10041157
mov dword [ebp - 0x28], 0
jmp 0x10041184
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004119a
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x28c], 0x17c264f8
jmp 0x1004117d
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x18]
imul eax, eax, 0x7e44
cmp eax, dword [ebp - 0x18]
jl 0x100411b7
mov dword [ebp - 0x1dc], 1
jmp 0x100411be
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 0xc1de
jg 0x100411d6
mov dword [ebp - 0x18c], 1
jmp 0x100411dd
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18c]
jge 0x100411f4
mov dword [ebp - 0x118], 1
jmp 0x100411fb
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 1
ja 0x10041210
mov dword [ebp - 0x11c], 1
jmp 0x10041217
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x11c]
je 0x1004122e
mov dword [ebp - 0x124], 1
jmp 0x10041235
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x12c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp + eax - 0x31c], ecx
cmp dword [ebp - 0x12c], 0xe9ab5c29
ja 0x1004126f
mov dword [ebp - 0x134], 1
jmp 0x10041276
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x134], eax
jle 0x1004128d
mov dword [ebp - 0x13c], 1
jmp 0x10041294
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100412c5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x31c], 0
jne 0x100412c5
mov eax, 0xee0cd979
test eax, eax
jne 0x100412c5
and dword [ebp - 0x144], 0
jmp 0x100412cf
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x144], eax
jl 0x100412e6
mov dword [ebp - 0x14c], 1
jmp 0x100412ed
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14c], eax
jne 0x10041304
mov dword [ebp - 0x154], 1
jmp 0x1004130b
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x18]
dec eax
je 0x100413c1
mov dword [ebp - 0x408], 4
mov dword [ebp - 0x330], 0xfffffffe
mov dword [ebp - 0x4b8], 0x79c90e69
mov dword [ebp - 0x24], 0
jmp 0x1004135e
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffffc
jg 0x1004139c
mov dword [ebp - 0x284], 1
push 0x35f1
lea eax, [ebp - 0x284]
push eax
push 0
call fcn.100542f0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
push 0x1551
push 0
call fcn.1004856e
add esp, 0xc
jmp 0x10041357
push 0x4b10
push 0x7df3
lea eax, [ebp - 0x20]
push eax
push 1
push 0x60d
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.1003cecc
add esp, 0x1c
jmp 0x10041407
push 0x7d5f
lea eax, [ebp - 0x24]
push eax
push 0x604a
push 1
push 1
push 0x67ca
lea eax, [ebp - 0x20]
push eax
call fcn.1003f6e2
add esp, 0x1c
mov byte [ebp - 0x3b], 0
push 0x697d
push 0xf27
push 1
push 0x1478
lea eax, [ebp - 0x3b]
push eax
push 1
call fcn.1003f874
add esp, 0x18
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x31c]
mov dword [ebp - 0x410], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + eax - 0x31c]
jne 0x10041436
mov dword [ebp - 0x15c], 1
jmp 0x1004143d
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x15c]
sub ecx, dword [ebp + eax - 0x28c]
cmp ecx, dword [ebp - 0x18]
jg 0x10041461
mov dword [ebp - 0x164], 1
jmp 0x10041468
and dword [ebp - 0x164], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x31c]
add eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x18]
jle 0x1004148c
mov dword [ebp - 0x16c], 1
jmp 0x10041493
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x16c], eax
je 0x100414aa
mov dword [ebp - 0x174], 1
jmp 0x100414b1
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0xe341
jle 0x100414c9
mov dword [ebp - 0x17c], 1
jmp 0x100414d0
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x17c]
sub eax, 0x5c25
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jl 0x100415f2
mov dword [ebp - 0x364], 1
mov dword [ebp - 0x3a4], 0x4a8a5a2d
mov dword [ebp - 0x3a0], 0x4a8a5a2d
mov dword [ebp - 0x39c], 0x4a8a5a2d
mov dword [ebp - 0x398], 0x4a8a5a2d
lea ecx, [ebp - 0x10d]
call fcn.1001bb39
push eax
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x520]
call fcn.1001bb3c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x498]
call fcn.1001ba8c
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2fc], 0xfffffff8
mov dword [ebp - 0x29c], 0x69abc45
mov dword [ebp - 0x294], 0xcd9e91b6
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x580d
lea eax, [ebp - 0x2f4]
push eax
push 0
push 0x3e81
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x364]
push eax
push 0x11b0
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.10041f55
add esp, 0x38
push 1
push 1
call fcn.1003fa3e
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x498]
call fcn.1001bab2
jmp 0x10041613
mov byte [ebp - 0x3a], 0
push 0x663
push 0x18fc
lea eax, [ebp - 0x3a]
push eax
push 0
push 0x2053
call fcn.10053cd4
add esp, 0x14
cmp dword [ebp - 0x78], 0
jne 0x100417c0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x304], 0xcd7d393e
push 4
lea ecx, [ebp - 0x4a8]
call fcn.1001ba30
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x2c], 0
jmp 0x10041652
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x10041668
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x4fc], 0x4bcd76ce
jmp 0x1004164b
mov dword [ebp - 0x2c], 0
jmp 0x10041678
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x10041694
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4a8]
call fcn.1001bad7
mov dword [eax], 0x42afa017
jmp 0x10041671
push 0x5701
push 0x27c5
push 0x6a0
push 1
push 0x369d
push 0x1a0c
push 1
push 0x1665
push 0
push 0x1608
call fcn.1004ae22
add esp, 0x28
cmp dword [ebp - 0x1c], 0
je 0x10041777
cmp dword [ebp - 0x1c], 0
jne 0x100416e4
cmp dword [ebp - 0x1c], 0
jne 0x100416e4
and dword [ebp - 0xf4], 0
jmp 0x100416ee
mov dword [ebp - 0xf4], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xf4]
mov dword [ebp + eax - 0x4fc], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xf4]
jne 0x10041717
mov dword [ebp - 0x190], 1
jmp 0x1004171e
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x190], eax
jg 0x10041735
mov dword [ebp - 0x198], 1
jmp 0x1004173c
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x198], eax
jge 0x10041753
mov dword [ebp - 0x33c], 1
jmp 0x1004175a
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jge 0x10041777
mov dword [ebp - 0x1a0], 1
jmp 0x1004177e
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1a0]
je 0x10041795
mov dword [ebp - 0x2ac], 1
jmp 0x1004179c
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x304], 0xfffffff6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a8]
call fcn.1001bab2
jmp 0x100417c5
jmp 0x1003fff3
push 2
lea ecx, [ebp - 0x3dc]
call fcn.1001ba30
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x4d4], 0xfffffffe
mov dword [ebp - 0x420], 0xba1bf2b
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x49c]
push eax
push 0
call fcn.1004b0fd
add esp, 0xc
push 0
push 1
lea eax, [ebp - 0x3dc]
push eax
call fcn.10042a09
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3dc]
call fcn.1001bab2
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
jmp 0x10041d92
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
push dword [eax]
mov ecx, dword [ebp - 0x240]
call fcn.1001bad7
mov ecx, dword [ebp - 0x250]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x10041d92
mov dword [ebp - 0x1a8], 0x2769
mov dword [ebp - 0x258], 0x1000c22c
cmp dword [ebp - 0x1a8], 0x2989
jle 0x100419e3
and dword [ebp - 0xe4], 0
jmp 0x10041905
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x2fa8
jge 0x100419d2
and dword [ebp - 0xec], 0
jmp 0x1004192b
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x5915
jge 0x100419cd
and dword [ebp - 0xd4], 0
jmp 0x10041951
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x597d
jge 0x100419c8
and dword [ebp - 0xdc], 0
jmp 0x10041973
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x6de9
jge 0x100419c3
mov esi, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xdc]
sar esi, cl
mov eax, dword [ebp - 0xe4]
cdq
idiv dword [ebp - 0xec]
or edx, esi
mov eax, edx
cdq
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x34c], edx
push dword [ebp - 0x34c]
push dword [ebp - 0x350]
mov ecx, 0x106232b8
call fcn.1001b658
jmp 0x10041966
jmp 0x10041944
jmp 0x1004191e
jmp 0x100418f8
push 0
push 0x1485
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 0x17
cmp dword [ebp - 0x1a8], 0x24f4
jge 0x10041a0f
mov edx, dword [ebp - 0x258]
mov ecx, 0x106232b8
call fcn.100201ca
jmp 0x10041a2b
or dword [ebp - 4], 0xffffffff
jmp 0x10041a35
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x2f0], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x23c]
movzx eax, byte [eax]
test eax, eax
je 0x10041d32
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d8], eax
push 3
mov ecx, dword [ebp - 0x58]
call fcn.1001bad7
mov esi, eax
mov eax, dword [ebp - 0x108]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.1001bad7
mov eax, dword [eax]
cmp eax, dword [esi]
jg 0x10041b70
mov eax, 0x6d1d
test eax, eax
je 0x10041b70
mov dword [ebp - 0x1b0], 1
jmp 0x10041b77
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x1b0], eax
jne 0x10041b90
mov dword [ebp - 0x1b8], 1
jmp 0x10041b97
and dword [ebp - 0x1b8], 0
mov esi, dword [ebp - 0x1b8]
sub esi, 0xffff
mov eax, dword [ebp - 0x108]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.1001bad7
cmp esi, dword [eax]
jle 0x10041bc3
mov dword [ebp - 0x1c0], 1
jmp 0x10041bca
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x1c0]
cmp ecx, dword [eax]
jne 0x10041bec
mov dword [ebp - 0x1c8], 1
jmp 0x10041bf3
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 3
jne 0x10041c10
mov eax, dword [ebp - 0xf8]
cmp dword [eax], 0
jne 0x10041c10
and dword [ebp - 0x1d0], 0
jmp 0x10041c1a
mov dword [ebp - 0x1d0], 1
cmp dword [ebp - 0x1d0], 0x4e401d93
jl 0x10041c32
mov dword [ebp - 0x1d8], 1
jmp 0x10041c39
and dword [ebp - 0x1d8], 0
push 0
mov ecx, dword [ebp - 0x58]
call fcn.1001bad7
mov eax, dword [eax]
imul eax, dword [ebp - 0x1d8]
neg eax
mov ecx, dword [ebp - 0xf8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xf8]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x10041c71
mov dword [ebp - 0x1e0], 1
jmp 0x10041c78
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0xb891
jg 0x10041c94
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
jne 0x10041c94
and dword [ebp - 0x100], 0
jmp 0x10041c9e
mov dword [ebp - 0x100], 1
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
cmp dword [ebp - 0x100], 1
jb 0x10041cc1
mov dword [ebp - 0x1e8], 1
jmp 0x10041cc8
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x108]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.1001bad7
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1e8]
jne 0x10041cee
mov dword [ebp - 0x1f0], 1
jmp 0x10041cf5
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x50]
mov esi, dword [eax]
imul esi, dword [ebp - 0x1f0]
push 2
mov ecx, dword [ebp - 0x58]
call fcn.1001bad7
cmp esi, dword [eax]
jg 0x10041d1b
mov dword [ebp - 0x1f8], 1
jmp 0x10041d22
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x1f8]
mov dword [eax], ecx
jmp 0x10041d92
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x80]
mov dword [eax], 0
jmp 0x10041d75
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov eax, dword [ebp - 0x80]
cmp dword [eax], 4
jge 0x10041d92
mov eax, dword [ebp - 0x80]
push dword [eax]
mov ecx, dword [ebp - 0x234]
call fcn.1001bad7
and dword [eax], 0
jmp 0x10041d6a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret