Function at 0x1002ed25
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002ed72
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
movzx eax, byte [eax]
test eax, eax
je 0x1002ed6d
push 0
push 0x4bb
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1002fe69
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x228]
add ecx, dword [eax]
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x10c], 0x42ca8cda
mov dword [ebp - 0x230], 0x29b3a00d
mov dword [ebp - 0x1a0], 0xffffffff
mov dword [ebp - 0x4c], 0
jmp 0x1002edcb
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1002ede1
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x98], 3
jmp 0x1002edc4
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002edf5
push 0
call fcn.1002dec3
pop ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x288], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x10c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x10c], eax
jl 0x1002ee3c
mov dword [ebp - 0x190], 1
jmp 0x1002ee43
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x9f6a
jne 0x1002ee5b
mov dword [ebp - 0x15c], 1
jmp 0x1002ee62
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x15c], eax
je 0x1002ee83
mov dword [ebp - 0x188], 1
jmp 0x1002ee8a
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 0xfffa
jbe 0x1002eea2
mov dword [ebp - 0xa8], 1
jmp 0x1002eea9
and dword [ebp - 0xa8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
imul eax, dword [ebp - 0xa8]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x98]
test eax, eax
jne 0x1002eedf
push 8
pop eax
test eax, eax
jne 0x1002eedf
and dword [ebp - 0x120], 0
jmp 0x1002eee9
mov dword [ebp - 0x120], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x120], eax
jg 0x1002ef13
cmp dword [ebp - 0x230], 0
je 0x1002ef13
mov dword [ebp - 0xb0], 1
jmp 0x1002ef1a
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0xb0], eax
jge 0x1002ef3b
mov dword [ebp - 0x158], 1
jmp 0x1002ef42
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x158], eax
je 0x1002ef63
mov dword [ebp - 0xb8], 1
jmp 0x1002ef6a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x50], eax
and dword [ebp - 0x70], 0
jmp 0x1002ef96
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
inc eax
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x70], eax
jae 0x1002fe5c
mov dword [ebp - 4], 0xa4f833fc
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x130], 0x5bc9807
mov dword [ebp - 0xd8], 3
mov dword [ebp - 0x24], 0x1b4373c9
mov dword [ebp - 0x138], 0xea0262b0
mov dword [ebp - 0x1c4], 0xfffb
mov dword [ebp - 0x1cc], 7
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x68], 0
jmp 0x1002f00d
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1002f020
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0xc], 0xa8ea
jmp 0x1002f006
mov dword [ebp - 4], 0
jmp 0x1002f030
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1002f291
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x38], 0
jmp 0x1002f051
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002f067
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1bc], 0xffffffff
jmp 0x1002f04a
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
jne 0x1002f07d
mov dword [ebp - 0x128], 1
jmp 0x1002f084
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0xf1e2
je 0x1002f0a0
mov dword [ebp - 0xc0], 1
jmp 0x1002f0a7
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0xc0]
jge 0x1002f0c1
mov dword [ebp - 0x1a8], 1
jmp 0x1002f0c8
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
imul eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xb4cf22a1
jb 0x1002f0ee
cmp dword [ebp - 0x74], 0
jne 0x1002f0ee
and dword [ebp - 0x184], 0
jmp 0x1002f0f8
mov dword [ebp - 0x184], 1
cmp dword [ebp - 0x184], 1
ja 0x1002f110
cmp dword [ebp - 4], 0
jne 0x1002f110
and dword [ebp - 0xc8], 0
jmp 0x1002f11a
mov dword [ebp - 0xc8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
imul eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0xc]
jne 0x1002f140
mov dword [ebp - 0x1f4], 1
jmp 0x1002f147
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
mov dword [ebp - 0x130], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x130], eax
je 0x1002f178
cmp dword [ebp - 0x7c], 0
je 0x1002f178
mov dword [ebp - 0xd0], 1
jmp 0x1002f17f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
cmp dword [ebp - 0xd0], eax
jl 0x1002f19a
mov dword [ebp - 0x164], 1
jmp 0x1002f1a1
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
sub eax, 0xb56
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1bc], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xd8], eax
jne 0x1002f1d9
mov dword [ebp - 0x214], 1
jmp 0x1002f1e0
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x138], 0xfffffffc
mov eax, dword [ebp - 0x138]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xc]
cmp eax, dword [ebp - 0x74]
je 0x1002f221
cmp dword [ebp - 0x1c4], 0
je 0x1002f221
mov dword [ebp - 0xe0], 1
jmp 0x1002f228
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
add eax, 0x6b471dfd
cmp eax, 0x510b
jne 0x1002f246
mov dword [ebp - 0x1fc], 1
jmp 0x1002f24d
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 4], 0
jne 0x1002f264
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
cmp dword [ebp - 0x24], 0x5eac84c9
jne 0x1002f279
mov dword [ebp - 0x17c], 1
jmp 0x1002f280
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1cc], eax
jmp 0x1002f029
mov dword [ebp - 0x24], 0
jmp 0x1002f2a1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x1002f2b5
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0xc], 0
je 0x1002f2b3
jmp 0x1002f2b5
jmp 0x1002f29a
mov dword [ebp - 0x1c], 0xfffffff9
mov dword [ebp - 0x16c], 0xf7e4
mov dword [ebp - 0x1d4], 0x4dde9a
mov dword [ebp - 0x44], 0
jmp 0x1002f2e0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1002f2f6
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x19c], 0x624039b6
jmp 0x1002f2d9
mov dword [ebp - 0x1c], 0
jmp 0x1002f306
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1002f32a
mov byte [ebp - 0x1d], 0
push 0
push 0xa10
push 0x3c2
lea eax, [ebp - 0x1d]
push eax
call fcn.10031630
add esp, 0x10
jmp 0x1002f2ff
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x19c]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2a8], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x19c], 0
jne 0x1002f39e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x27c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x16c]
cmp dword [ebp + eax - 0x19c], ecx
jge 0x1002f37e
mov dword [ebp - 0xe8], 1
jmp 0x1002f385
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xe8]
cmp eax, 0x8cf
je 0x1002f39e
and dword [ebp - 0x140], 0
jmp 0x1002f3a8
mov dword [ebp - 0x140], 1
cmp dword [ebp - 0x140], 0x1de6fc60
jl 0x1002f3c0
mov dword [ebp - 0xf0], 1
jmp 0x1002f3c7
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0
jne 0x1002f3dc
mov dword [ebp - 0x224], 1
jmp 0x1002f3e3
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x2a4], eax
imul eax, dword [ebp - 0x1c], 7
test eax, eax
jne 0x1002f41c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x19c], 0
jne 0x1002f41c
and dword [ebp - 0x204], 0
jmp 0x1002f426
mov dword [ebp - 0x204], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x19c]
mov dword [ebp - 0x254], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x19c]
mov dword [ebp + ecx - 0x19c], eax
mov dword [ebp - 0x34], 0xfffffff6
mov dword [ebp - 0x48], 0
jmp 0x1002f468
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1002f47e
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x8c], 1
jmp 0x1002f461
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x8c], 0
jmp 0x1002f4a9
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x8c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8c], 0x1c
je 0x1002f565
mov dword [ebp - 0x60], 0
jmp 0x1002f4cc
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1002f4e2
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x2b8], 0x3c8fc558
jmp 0x1002f4c5
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2b8], 0
je 0x1002f53e
mov dword [ebp - 0x284], 0x22e6
mov dword [ebp - 0x1dc], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x1002f516
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1002f52c
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x25c], 0xfffffff9
jmp 0x1002f50f
lea eax, [ebp - 0x1dc]
push eax
push 1
call fcn.1002c3f7
pop ecx
pop ecx
jmp 0x1002f560
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8c], 0
je 0x1002f54f
jmp 0x1002f565
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x26]
push eax
push 1
call fcn.1002c43d
pop ecx
pop ecx
jmp 0x1002f490
mov dword [ebp - 0x34], 0xfffffffe
jmp 0x1002f575
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xc
jg 0x1002f8ae
mov dword [ebp - 8], 0xfa831eb2
mov dword [ebp - 0x150], 0
mov dword [ebp - 8], 2
jmp 0x1002f5a0
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x1002f8a9
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x64], 0
jmp 0x1002f5c4
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x1002f5da
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x1b4], 1
jmp 0x1002f5bd
mov eax, 0x2134
test eax, eax
je 0x1002f67a
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1b4]
mov dword [ebp - 0x29c], eax
mov eax, 0xa98c
test eax, eax
je 0x1002f614
cmp dword [ebp - 8], 0
je 0x1002f614
mov dword [ebp - 0xf8], 1
jmp 0x1002f61b
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xf8], eax
jne 0x1002f632
mov dword [ebp - 0x148], 1
jmp 0x1002f639
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp eax, dword [ebp - 0x148]
jle 0x1002f65a
mov dword [ebp - 0x100], 1
jmp 0x1002f661
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 8]
inc eax
inc eax
je 0x1002f67a
mov dword [ebp - 0x18c], 1
jmp 0x1002f681
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0xe4d8
jle 0x1002f699
mov dword [ebp - 0x108], 1
jmp 0x1002f6a0
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffffffb
jle 0x1002f6be
mov eax, 0xc9ba
test eax, eax
je 0x1002f6be
mov dword [ebp - 0x21c], 1
jmp 0x1002f6c5
and dword [ebp - 0x21c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b4]
mov dword [ebp - 0x264], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1b4], 0
je 0x1002f715
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp + ecx*4 - 0x8c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x8c], 0
je 0x1002f710
jmp 0x1002f8a9
jmp 0x1002f891
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xa4], 0xdf7dc239
mov dword [ebp - 0x1e4], 0xfffffffd
mov eax, dword [ebp - 8]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x34], eax
jle 0x1002f75f
mov dword [ebp - 0xbc], 1
jmp 0x1002f766
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x1e4]
inc eax
je 0x1002f781
cmp dword [ebp - 8], 0
je 0x1002f781
mov dword [ebp - 0x174], 1
jmp 0x1002f788
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x174]
je 0x1002f7a8
mov eax, 0xf4aca62e
test eax, eax
je 0x1002f7a8
mov dword [ebp - 0x118], 1
jmp 0x1002f7af
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x118]
jl 0x1002f7c9
mov dword [ebp - 0xa0], 1
jmp 0x1002f7d0
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xfffffff7
jne 0x1002f7e5
mov dword [ebp - 0xac], 1
jmp 0x1002f7ec
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0xac]
cmp eax, 0xc53312a7
ja 0x1002f80c
mov dword [ebp - 0xb4], 1
jmp 0x1002f813
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x540778d4
jle 0x1002f82b
mov dword [ebp - 0xc4], 1
jmp 0x1002f832
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc4]
jge 0x1002f84c
mov dword [ebp - 0xcc], 1
jmp 0x1002f853
and dword [ebp - 0xcc], 0
imul eax, dword [ebp - 0xcc], 0x53eb
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1b4]
je 0x1002f877
mov dword [ebp - 0xd4], 1
jmp 0x1002f87e
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0x8c], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b4]
mov dword [ebp - 0x20c], eax
jmp 0x1002f599
jmp 0x1002f56e
lea eax, [ebp - 0x50]
push eax
push 0x6ca9
lea eax, [ebp - 0x1f0]
push eax
push 0
call fcn.1002cd0b
add esp, 0x10
mov dword [ebp - 0x14], 0xfffb
mov dword [ebp - 0x30], 0x1b71
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x10], 0xdb88dcfd
mov dword [ebp - 0x80], 0xf6e56995
cmp dword [ebp - 0x14], 0
jne 0x1002f902
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
jne 0x1002f902
and dword [ebp - 0x1ec], 0
jmp 0x1002f90c
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x26c], eax
xor eax, eax
imul eax, eax, 0
cmp eax, dword [ebp - 0x14]
jne 0x1002f934
mov dword [ebp - 0x22c], 1
jmp 0x1002f93b
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2ac], eax
push 3
pop eax
cmp eax, 0x891ba802
ja 0x1002f95a
mov dword [ebp - 0xdc], 1
jmp 0x1002f961
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x30], 0x161ab6ec
jg 0x1002f982
mov dword [ebp - 0xe4], 1
jmp 0x1002f989
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xe4]
jne 0x1002f9a0
mov dword [ebp - 0xec], 1
jmp 0x1002f9a7
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x294], eax
push 9
pop eax
sub eax, dword [ebp - 0x14]
jne 0x1002f9d6
mov dword [ebp - 0xf4], 1
jmp 0x1002f9dd
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0xf4]
test eax, eax
je 0x1002fb59
mov dword [ebp - 0x2c], 0xcb4e347
mov dword [ebp - 0x114], 0xa2e85c68
mov dword [ebp - 0x11c], 0x18a0a82b
mov dword [ebp - 0x1c0], 0xd42f534
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002fa43
push 0x4822
push 0
push 0x49ac
push 0x463b
push 0x6526
push 0x39ee
call fcn.10031533
add esp, 0x18
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], eax
jl 0x1002fa57
mov dword [ebp - 0xfc], 1
jmp 0x1002fa5e
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0x2c], 0
jne 0x1002fa76
mov eax, 0x914be495
test eax, eax
jne 0x1002fa76
and dword [ebp - 0x1a4], 0
jmp 0x1002fa80
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0xfc], 0xd909
jge 0x1002faa1
mov dword [ebp - 0x104], 1
jmp 0x1002faa8
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0x8c74
jg 0x1002fac0
mov dword [ebp - 0x9c], 1
jmp 0x1002fac7
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 1
jne 0x1002fadc
mov dword [ebp - 0x1b8], 1
jmp 0x1002fae3
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x11c], eax
jne 0x1002fb1d
mov dword [ebp - 0x124], 1
jmp 0x1002fb24
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x10], eax
jl 0x1002fb41
mov dword [ebp - 0x12c], 1
jmp 0x1002fb48
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1c0], eax
jmp 0x1002fdf5
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x14]
test eax, eax
jg 0x1002fb9c
mov dword [ebp - 0x1c8], 1
jmp 0x1002fba3
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x14], eax
jge 0x1002fbc0
mov dword [ebp - 0x134], 1
jmp 0x1002fbc7
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x134]
cmp eax, 6
jne 0x1002fce3
mov dword [ebp - 0x78], 0x8275baed
mov dword [ebp - 0x5c], 0
jmp 0x1002fbf0
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1002fc06
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x23c], 0xffffffff
jmp 0x1002fbe9
mov dword [ebp - 0x10], 0xd
jmp 0x1002fc16
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jg 0x1002fc38
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002fc36
push 1
push 0x6ae1
call fcn.1002c48d
pop ecx
pop ecx
jmp 0x1002fc0f
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1d0], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp + eax - 0x23c], ecx
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x23c], 1
cmp dword [ebp - 0x78], 1
jle 0x1002fc76
mov dword [ebp - 0x13c], 1
jmp 0x1002fc7d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x13c], eax
je 0x1002fca4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x23c], 0
je 0x1002fca4
mov dword [ebp - 0x144], 1
jmp 0x1002fcab
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x144]
cmp dword [ebp - 0x10], eax
je 0x1002fcc5
mov dword [ebp - 0x1d8], 1
jmp 0x1002fccc
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x78], eax
jmp 0x1002fdf5
mov dword [ebp - 0x40], 0xcd06db25
mov dword [ebp - 0x3c], 0
jmp 0x1002fcfa
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1002fd10
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1e8], 0xfffffffb
jmp 0x1002fcf3
cmp dword [ebp - 0x80], 0
jne 0x1002fd22
mov dword [ebp - 0x14c], 1
jmp 0x1002fd29
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14c], eax
jle 0x1002fd40
mov dword [ebp - 0x170], 1
jmp 0x1002fd47
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x40], 0
je 0x1002fd65
cmp dword [ebp - 0x40], 0
jne 0x1002fd65
and dword [ebp - 0x154], 0
jmp 0x1002fd6f
mov dword [ebp - 0x154], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x154], eax
jl 0x1002fd86
mov dword [ebp - 0x160], 1
jmp 0x1002fd8d
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x18]
jg 0x1002fdb0
cmp dword [ebp - 0x18], 0
jne 0x1002fdb0
and dword [ebp - 0x178], 0
jmp 0x1002fdba
mov dword [ebp - 0x178], 1
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x178]
jg 0x1002fdd4
mov dword [ebp - 0x1e0], 1
jmp 0x1002fddb
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x280], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1e8], 0
lea eax, [ebp - 0x208]
push eax
push 0x6b3
lea eax, [ebp - 0x50]
push eax
push 0x783f
push 0
call fcn.1003123b
add esp, 0x14
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 3
je 0x1002fe2d
jmp 0x1002fe57
mov eax, dword [ebp - 0x200]
add eax, dword [ebp - 0x208]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x210]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
jmp 0x1002ef87
lea eax, [ebp - 0x58]
push eax
push 1
call fcn.1002c4cd
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret