Function at 0x1002c5a2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082a2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002c62a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
jmp 0x1002c605
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 1
jge 0x1002c625
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov ecx, dword [ebp - 0x12c]
call fcn.10016fbc
mov dword [eax], 0xfdcba86b
jmp 0x1002c5fa
jmp 0x1002d541
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
push 3
lea ecx, [ebp - 0x1dc]
call fcn.10016f4f
and dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x27c], 0xfffffff6
push 4
lea ecx, [ebp - 0x244]
call fcn.10016f4f
mov byte [ebp - 4], 1
lea eax, [ebp - 0x160]
push eax
push 0x637
push 0
lea eax, [ebp - 0x1dc]
push eax
call fcn.100269e4
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
push 0x43e4
push 0
lea eax, [ebp - 0x160]
push eax
call fcn.10027993
add esp, 0x10
mov dword [ebp - 0x44], 0
jmp 0x1002c6bf
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jg 0x1002c929
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x220], 1
push 1
lea ecx, [ebp - 0x234]
call fcn.10016f4f
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0
jmp 0x1002c6fb
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x1002c717
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x234]
call fcn.10016fbc
mov dword [eax], 0x974ca779
jmp 0x1002c6f4
mov byte [ebp - 0x31], 0
push 0x67b4
push 0x462
lea eax, [ebp - 0x31]
push eax
push 0
call fcn.10026964
add esp, 0x10
mov dword [ebp - 0x40], 0
jmp 0x1002c743
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jg 0x1002c915
mov dword [ebp - 0x64], 0xfaaaeb9a
mov dword [ebp - 0x54], 0
jmp 0x1002c764
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1002c77a
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x258], 3
jmp 0x1002c75d
mov dword [ebp - 0x64], 2
jmp 0x1002c78a
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x1002c910
mov dword [ebp - 0x1a0], 0xdbda7fe6
mov dword [ebp - 0x19c], 0xdbda7fe6
mov dword [ebp - 0x198], 0xdbda7fe6
mov dword [ebp - 0x194], 0xdbda7fe6
lea ecx, [ebp - 0x79]
call fcn.10008f43
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x28c]
call fcn.10016fcb
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1d0]
call fcn.10016f91
mov byte [ebp - 4], 3
mov dword [ebp - 0x174], 0x710dd013
mov dword [ebp - 0x60], 0
jmp 0x1002c80c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x1002c822
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x17c], 0xd3ed23c5
jmp 0x1002c805
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1dc]
call fcn.10016fbc
cmp dword [eax], 0
je 0x1002c867
mov dword [ebp - 0x140], 0x7e4a9061
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x1d0]
push eax
call fcn.1002a394
add esp, 0x14
jmp 0x1002c8fc
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x228], 0xfffffffd
mov dword [ebp - 0x1fc], 0xffffffff
mov dword [ebp - 0x204], 0xfffffff8
mov dword [ebp - 0x20c], 0xfffffff8
mov dword [ebp - 0x214], 0xfffffffc
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1ec], 0
je 0x1002c8e1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d0]
call fcn.10016fb7
jmp 0x1002c910
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x17c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x17c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d0]
call fcn.10016fb7
jmp 0x1002c783
jmp 0x1002c73c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10016fb7
jmp 0x1002c6b8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10016fb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.10016fb7
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x14], 0xac204e2d
mov dword [ebp - 0x14], 0
jmp 0x1002c96a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1b
jle 0x1002cb25
mov dword [ebp - 0x38], 0xfffffffd
mov dword [ebp - 0x13c], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x1002c995
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002c9ab
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x18c], 0x8753
jmp 0x1002c98e
mov dword [ebp - 0x18], 0
jmp 0x1002c9bb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002c9d1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x15c], 0x6c65b0b5
jmp 0x1002c9b4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x38], eax
je 0x1002ca00
mov dword [ebp - 0x104], 1
jmp 0x1002ca07
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xfffe
jbe 0x1002ca1f
mov dword [ebp - 0x98], 1
jmp 0x1002ca26
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x18c], 0x4952f341
cmp dword [ebp - 0x98], 0x4952f341
jl 0x1002ca58
mov eax, 0xa5bc
test eax, eax
je 0x1002ca58
mov dword [ebp - 0x10c], 1
jmp 0x1002ca5f
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x10c], eax
jne 0x1002ca7a
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x18c], 0
je 0x1002ca8f
mov eax, 0xa2ef
test eax, eax
je 0x1002ca8f
mov dword [ebp - 0xd8], 1
jmp 0x1002ca96
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd8], eax
jge 0x1002cab4
push 4
pop eax
test eax, eax
je 0x1002cab4
mov dword [ebp - 0xa0], 1
jmp 0x1002cabb
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x14]
jne 0x1002cacc
cmp dword [ebp - 0x14], 0
je 0x1002cade
cmp dword [ebp - 0x38], 0
je 0x1002cade
mov dword [ebp - 0xf8], 1
jmp 0x1002cae5
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xaf9d
jg 0x1002cafd
mov dword [ebp - 0x134], 1
jmp 0x1002cb04
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x284], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x15c]
mov dword [ebp - 0x13c], eax
jmp 0x1002c963
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.1002a356
pop ecx
pop ecx
mov dword [ebp - 0xa8], 0x6aabecba
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x144], 0xd77f1724
cmp dword [ebp - 0xa8], 0xfffffff8
jl 0x1002cbea
mov dword [ebp - 0x168], 0x5efa
push 2
lea ecx, [ebp - 0x1c4]
call fcn.10016f4f
mov dword [ebp - 4], 4
mov dword [ebp - 0x58], 0
jmp 0x1002cb8b
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1002cba7
push dword [ebp - 0x58]
lea ecx, [ebp - 0x1c4]
call fcn.10016fbc
mov dword [eax], 1
jmp 0x1002cb84
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0
lea eax, [ebp - 0x164]
push eax
push 0xb44
lea eax, [ebp - 0xa8]
push eax
call fcn.100267bf
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10016fb7
jmp 0x1002cc2e
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002cc07
push 0xc
push 0x9b5
push 0
call fcn.1002b917
add esp, 0xc
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1002cc2e
push 0xb23
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]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x28], eax
push 2
lea ecx, [ebp - 0x274]
call fcn.10016f4f
mov dword [ebp - 4], 5
mov dword [ebp - 0x48], 0x19d29be1
mov dword [ebp - 0x1f8], 0xfffffff9
mov dword [ebp - 0x1f4], 0xaafe30f5
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x278], 0xe7ccc895
mov dword [ebp - 0x200], 0xfe662db8
push 2
lea ecx, [ebp - 0x264]
call fcn.10016f4f
mov byte [ebp - 4], 6
push 0x67fa
push 0
lea eax, [ebp - 0x274]
push eax
push 0x6e19
lea eax, [ebp - 0x14c]
push eax
push 0x337e
push 0x7a9c
call fcn.1002a71f
add esp, 0x1c
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push 0x6077
call fcn.10028dd3
add esp, 0x10
mov dword [ebp - 0x48], 1
jmp 0x1002ccfa
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002ce34
mov dword [ebp - 0x2c], 0x45db34e6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x208], 0xb7d8cf4c
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x268], 0
push 1
lea ecx, [ebp - 0x254]
call fcn.10016f4f
mov byte [ebp - 4], 7
push 3
lea ecx, [ebp - 0x1ac]
call fcn.10016f4f
mov byte [ebp - 4], 8
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x254]
push eax
push 0x515f
push 0
push 0xf47
call fcn.1002ee40
add esp, 0x14
push 0
lea eax, [ebp - 0x1ac]
push eax
push 0x25b1
lea eax, [ebp - 0x16c]
push eax
push 0x52d5
call fcn.10027803
add esp, 0x14
mov dword [ebp - 0x2c], 0
jmp 0x1002cda9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x1002cdcb
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002cdc9
push 0x4a18
push 0
call fcn.10027950
pop ecx
pop ecx
jmp 0x1002cda2
push 2
lea ecx, [ebp - 0x1ac]
call fcn.10016fbc
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 0
jmp 0x1002cdff
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x1002ce11
mov dword [ebp - 0x154], 1
jmp 0x1002cdf8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1ac]
call fcn.10016fb7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x254]
call fcn.10016fb7
jmp 0x1002ccf3
lea eax, [ebp - 0x120]
push eax
push 0
call fcn.100278ad
pop ecx
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.10016fb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.10016fb7
and dword [ebp - 0x68], 0
jmp 0x1002ce78
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x68], eax
jge 0x1002d541
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
jne 0x1002d4b6
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xac], 0xb416c28c
mov dword [ebp - 0x110], 0x99b96bc7
mov dword [ebp - 0x94], 0x9ea4087b
mov dword [ebp - 0x130], 0xfffffff8
mov dword [ebp - 0x70], 0xfffffff8
mov dword [ebp - 0x50], 0x7c08a59c
mov dword [ebp - 0x138], 0xf93b76f0
mov dword [ebp - 0x1c], 0
jmp 0x1002cef8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1002cf0e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x8c], 0
jmp 0x1002cef1
mov dword [ebp - 0x1c], 0
jmp 0x1002cf1e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002cf34
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x184], 0xb6c411e6
jmp 0x1002cf17
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x8c]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x8c], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x8c], 0
jne 0x1002d195
mov dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0x6c], eax
jg 0x1002cf87
mov dword [ebp - 0xb0], 1
jmp 0x1002cf8e
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0xb0], eax
jg 0x1002cfaf
mov dword [ebp - 0x108], 1
jmp 0x1002cfb6
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0x24b6749e
jl 0x1002cfce
mov dword [ebp - 0xb8], 1
jmp 0x1002cfd5
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
dec eax
jne 0x1002cfec
xor eax, eax
inc eax
jne 0x1002cfec
and dword [ebp - 0xe8], 0
jmp 0x1002cff6
mov dword [ebp - 0xe8], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0xe8], eax
jle 0x1002d024
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8c], 0
jne 0x1002d024
and dword [ebp - 0xc0], 0
jmp 0x1002d02e
mov dword [ebp - 0xc0], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xd890fc52
jb 0x1002d05f
mov dword [ebp - 0xc8], 1
jmp 0x1002d066
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xac], eax
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x8c]
cmp dword [ebp + eax - 0x8c], ecx
jl 0x1002d099
mov dword [ebp - 0xf0], 1
jmp 0x1002d0a0
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0xf0], eax
jne 0x1002d0c0
mov dword [ebp - 0xd0], 1
jmp 0x1002d0c7
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x94], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp eax, dword [ebp - 0x94]
jne 0x1002d100
mov dword [ebp - 0x9c], 1
jmp 0x1002d107
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xe0c28056
jae 0x1002d11f
mov dword [ebp - 0xa4], 1
jmp 0x1002d126
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x9172c2e8
jbe 0x1002d13b
mov dword [ebp - 0x74], 1
jmp 0x1002d13f
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x184], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x130], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x248], eax
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0x8c], 0xffff
test eax, eax
jne 0x1002d195
and dword [ebp - 0xb4], 0
jmp 0x1002d19f
mov dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x1002d1bc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x184], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x6c], eax
xor eax, eax
inc eax
jne 0x1002d1d6
cmp dword [ebp - 0x70], 0
jne 0x1002d1d6
and dword [ebp - 0xbc], 0
jmp 0x1002d1e0
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xbc], eax
je 0x1002d1f7
mov dword [ebp - 0xc4], 1
jmp 0x1002d1fe
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xc4], eax
jl 0x1002d215
mov dword [ebp - 0xcc], 1
jmp 0x1002d21c
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x50], eax
push 0x12c7
lea eax, [ebp - 0x138]
push eax
push 0x5e98
push 0
call fcn.1002ec12
add esp, 0x10
push dword [ebp - 0x90]
push dword [ebp - 0x28]
push dword [ebp - 0x124]
push 0x940
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.1002d6b0
add esp, 0x18
mov dword [ebp - 0x10], 0x642c70bb
push 2
lea ecx, [ebp - 0x1b8]
call fcn.10016f4f
mov dword [ebp - 4], 9
mov dword [ebp - 0x20], 0
jmp 0x1002d28d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1002d2a3
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x11c], 0xfffffff6
jmp 0x1002d286
mov dword [ebp - 0x20], 0
jmp 0x1002d2b3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002d2cf
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1b8]
call fcn.10016fbc
mov dword [eax], 0xb14151c8
jmp 0x1002d2ac
mov dword [ebp - 0x10], 0
jmp 0x1002d2df
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002d2f5
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x11c], 0xffffffff
jmp 0x1002d2d8
mov dword [ebp - 0x10], 2
jmp 0x1002d305
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002d4a2
mov dword [ebp - 0x24], 0xffffffff
push 0
push 0x6ca3
push 0x24e6
call fcn.1002eda1
add esp, 0xc
mov dword [ebp - 0x24], 2
jmp 0x1002d33a
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1002d49d
mov dword [ebp - 0x148], 0xfffffff9
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x11c], 0
je 0x1002d459
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x148], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x11c], 1
jg 0x1002d38a
mov dword [ebp - 0x150], 1
jmp 0x1002d391
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x11c], 0
je 0x1002d3b9
cmp dword [ebp - 0x10], 0
je 0x1002d3b9
mov dword [ebp - 0xd4], 1
jmp 0x1002d3c0
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xa0b59785
jbe 0x1002d3dc
push 8
pop eax
test eax, eax
jne 0x1002d3dc
and dword [ebp - 0xdc], 0
jmp 0x1002d3e6
mov dword [ebp - 0xdc], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x11c]
cmp dword [ebp - 0xdc], eax
jl 0x1002d407
mov dword [ebp - 0xe4], 1
jmp 0x1002d40e
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0xe4]
cmp dword [ebp + eax - 0x11c], ecx
jge 0x1002d432
mov dword [ebp - 0xec], 1
jmp 0x1002d439
and dword [ebp - 0xec], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x11c]
cmp eax, dword [ebp - 0xec]
jle 0x1002d459
mov dword [ebp - 0xf4], 1
jmp 0x1002d460
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
add eax, 6
cmp eax, 0xd0f0
je 0x1002d47c
mov dword [ebp - 0xfc], 1
jmp 0x1002d483
and dword [ebp - 0xfc], 0
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10016fbc
mov ecx, dword [ebp - 0xfc]
mov dword [eax], ecx
jmp 0x1002d333
jmp 0x1002d2fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.10016fb7
jmp 0x1002ce68
push 4
push 0x1000
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax + 0xc]
push ecx
push 0xe875
push 0xd696
call fcn.10025548
pop ecx
pop ecx
call eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x158]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x78]
call fcn.10025610
add esp, 0xc
mov dword [ebp - 0x280], 0xa8c6
push 0x49cc
push 0x7823
push 0
call fcn.1002c4ab
add esp, 0xc
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.1002b2e4
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x78]
mov dword [eax + 8], ecx
jmp 0x1002ce68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret