Function at 0x10029f1b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10029f45
push 0
push 0x6df
push 0x88f
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
jmp 0x1002bc36
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x11c], 0x143e
mov dword [ebp - 0x1fc], 0xebf889e0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x78], 5
mov dword [ebp - 0x80], 0xd66de6b9
mov dword [ebp - 0x134], 0xe834ab46
mov dword [ebp - 0x50], 5
mov dword [ebp - 0xc0], 0x76e8d2ca
mov dword [ebp - 0x6c], 0x47f2
mov dword [ebp - 0x9c], 0
jmp 0x10029fc4
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jge 0x10029fe0
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x164], 0x8604
jmp 0x10029fb7
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100260f9
add esp, 0x1c
mov dword [ebp - 0x50], 0
jmp 0x1002a01d
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffff3
jl 0x1002a706
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x350], 0x8b88ead4
mov dword [ebp - 0x98], 0
jmp 0x1002a051
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 4
jge 0x1002a06d
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x2f0], 0xfffffff8
jmp 0x1002a044
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jl 0x1002a084
mov dword [ebp - 0x290], 1
jmp 0x1002a08b
and dword [ebp - 0x290], 0
cmp dword [ebp - 0x290], 0x3970
jg 0x1002a0a3
mov dword [ebp - 0x2c8], 1
jmp 0x1002a0aa
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x2c8], eax
jle 0x1002a0c4
mov dword [ebp - 0x2d0], 1
jmp 0x1002a0cb
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x2d0]
jle 0x1002a0e8
mov dword [ebp - 0x2f4], 1
jmp 0x1002a0ef
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
cmp eax, 0x6bc59458
jge 0x1002a109
mov dword [ebp - 0x294], 1
jmp 0x1002a110
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x294], eax
jg 0x1002a127
mov dword [ebp - 0xfc], 1
jmp 0x1002a12e
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xfc], eax
jne 0x1002a145
mov dword [ebp - 0x248], 1
jmp 0x1002a14c
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x248]
test eax, eax
je 0x1002a16b
xor eax, eax
inc eax
je 0x1002a16b
mov dword [ebp - 0x104], 1
jmp 0x1002a172
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
neg eax
cmp dword [ebp - 0x14], eax
jne 0x1002a18b
mov dword [ebp - 0x2d4], 1
jmp 0x1002a192
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x2d4]
sub eax, dword [ebp - 0x78]
jne 0x1002a1ac
cmp dword [ebp - 0x80], 0
jne 0x1002a1ac
and dword [ebp - 0x10c], 0
jmp 0x1002a1b6
mov dword [ebp - 0x10c], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10c]
mov dword [ebp + eax - 0x2f0], ecx
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x50], eax
jne 0x1002a1e0
mov dword [ebp - 0x250], 1
jmp 0x1002a1e7
and dword [ebp - 0x250], 0
cmp dword [ebp - 0x250], 0
je 0x1002a360
mov dword [ebp - 0x390], 0xfffffffd
mov dword [ebp - 0x38c], 0xfffffffd
mov dword [ebp - 0x388], 0xfffffffd
mov dword [ebp - 0x384], 0xfffffffd
mov dword [ebp - 0xb4], 0x93a78091
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x390], 0
xor eax, eax
je 0x1002a250
cmp dword [ebp - 0xc0], 0
je 0x1002a250
mov dword [ebp - 0x114], 1
jmp 0x1002a257
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x114], eax
je 0x1002a277
cmp dword [ebp - 0x78], 0
je 0x1002a277
mov dword [ebp - 0x29c], 1
jmp 0x1002a27e
and dword [ebp - 0x29c], 0
cmp dword [ebp - 0x29c], 0
jle 0x1002a293
mov dword [ebp - 0x258], 1
jmp 0x1002a29a
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x258], eax
jg 0x1002a2b4
mov dword [ebp - 0x124], 1
jmp 0x1002a2bb
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2f0]
cmp eax, dword [ebp - 0x124]
jl 0x1002a2dc
mov dword [ebp - 0x2bc], 1
jmp 0x1002a2e3
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x2bc], eax
jl 0x1002a2fd
mov dword [ebp - 0x12c], 1
jmp 0x1002a304
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x12c], eax
jle 0x1002a31e
mov dword [ebp - 0x260], 1
jmp 0x1002a325
and dword [ebp - 0x260], 0
cmp dword [ebp - 0x260], 0x7f595c98
jge 0x1002a33d
mov dword [ebp - 0x2a4], 1
jmp 0x1002a344
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x134]
add eax, dword [ebp - 0x2a4]
push 0xfffffffffffffffa
pop ecx
sub ecx, eax
mov dword [ebp - 0xb4], ecx
jmp 0x1002a59d
mov dword [ebp - 0x3bc], 0xfffffff9
mov dword [ebp - 0x338], 0xf9805026
cmp dword [ebp - 0x6c], 1
jne 0x1002a396
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2f0], 0
je 0x1002a396
mov dword [ebp - 0x13c], 1
jmp 0x1002a39d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x13c], eax
jl 0x1002a3b4
mov dword [ebp - 0xdc], 1
jmp 0x1002a3bb
and dword [ebp - 0xdc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + eax - 0x2f0], ecx
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0xdc]
cmp eax, 0x97e7
jle 0x1002a3eb
mov dword [ebp - 0x1f8], 1
jmp 0x1002a3f2
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x3c], 3
jmp 0x1002a40b
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1002a59d
mov dword [ebp - 0xbc], 0x36b0
cmp dword [ebp - 0x338], 0
je 0x1002a43d
mov eax, 0xeaa4
test eax, eax
je 0x1002a43d
mov dword [ebp - 0x144], 1
jmp 0x1002a444
and dword [ebp - 0x144], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2f0]
sub eax, dword [ebp - 0x144]
cmp eax, 0x5540566f
je 0x1002a46a
mov dword [ebp - 0x14c], 1
jmp 0x1002a471
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x1fc]
add eax, dword [ebp - 0x14c]
jne 0x1002a491
cmp dword [ebp - 0xbc], 0
jne 0x1002a491
and dword [ebp - 0x204], 0
jmp 0x1002a49b
mov dword [ebp - 0x204], 1
cmp dword [ebp - 0x204], 0xffffffff
jne 0x1002a4b0
mov dword [ebp - 0x348], 1
jmp 0x1002a4b7
and dword [ebp - 0x348], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x164], 0xbd8e
je 0x1002a4d6
mov dword [ebp - 0x154], 1
jmp 0x1002a4dd
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
add eax, 0xc112
cmp eax, dword [ebp - 0xbc]
jge 0x1002a4fc
mov dword [ebp - 0x20c], 1
jmp 0x1002a503
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x20c]
cmp dword [ebp - 0xbc], eax
jl 0x1002a523
mov dword [ebp - 0xc8], 1
jmp 0x1002a52a
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x2f0], ecx
cmp dword [ebp - 0xc8], 0xfffd
je 0x1002a55f
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x2f0], 0
je 0x1002a55f
mov dword [ebp - 0x15c], 1
jmp 0x1002a566
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x350], eax
mov byte [ebp - 0x51], 0
push 0x7d94
push 0x48c1
push 1
push 0x207d
push 0x6915
lea eax, [ebp - 0x51]
push eax
call fcn.10027e8f
add esp, 0x18
jmp 0x1002a404
mov dword [ebp - 0x6c], 0
jmp 0x1002a5ad
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jg 0x1002a701
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x380], 9
mov dword [ebp - 0x37c], 9
mov dword [ebp - 0x378], 9
mov dword [ebp - 0x374], 9
cmp dword [ebp - 0x214], 1
jb 0x1002a5fe
mov dword [ebp - 0x22c], 1
jmp 0x1002a605
and dword [ebp - 0x22c], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2f0], 0
je 0x1002a646
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp + eax*4 - 0x164], ecx
cmp dword [ebp - 0x21c], 0
je 0x1002a646
mov dword [ebp - 0x224], 1
jmp 0x1002a64d
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x394], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x2f0], 0x7910a939
jl 0x1002a67e
mov dword [ebp - 0x16c], 1
jmp 0x1002a685
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 1
jne 0x1002a69a
mov dword [ebp - 0x174], 1
jmp 0x1002a6a1
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x224]
imul eax, dword [ebp - 0x174]
cmp dword [ebp - 0x22c], eax
jne 0x1002a6c2
mov dword [ebp - 0x17c], 1
jmp 0x1002a6c9
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + eax - 0x380], ecx
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x1002a6fc
push 0x32b1
push 0x6564
push 0
call fcn.10030ec9
add esp, 0xc
jmp 0x1002a5a6
jmp 0x1002a016
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 0x184], 0xffffffff
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x58], 0xededc87a
mov dword [ebp - 0x344], 8
mov dword [ebp - 0x300], 0x344157f0
mov dword [ebp - 4], 0
jmp 0x1002a75f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002a775
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2e0], 0xa6f
jmp 0x1002a758
mov dword [ebp - 4], 0
jmp 0x1002a785
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002a79b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1e4], 0xffffffff
jmp 0x1002a77e
mov dword [ebp - 4], 0
jmp 0x1002a7ab
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002a7c1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd8], 0xfff8
jmp 0x1002a7a4
cmp dword [ebp - 0x34], 0
je 0x1002a929
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], eax
jl 0x1002a7df
cmp dword [ebp - 0x10], 0
jne 0x1002a7f8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2e0], 0
jne 0x1002a7f8
and dword [ebp - 0x234], 0
jmp 0x1002a802
mov dword [ebp - 0x234], 1
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x234]
imul eax, eax, 0xa40f
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x2e0]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x2e0]
jge 0x1002a847
mov dword [ebp - 0x23c], 1
jmp 0x1002a84e
and dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 5
jne 0x1002a863
mov dword [ebp - 0x18c], 1
jmp 0x1002a86a
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp + eax - 0x2e0]
mov dword [ebp - 0x244], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x244]
mov dword [ebp + eax - 0x1e4], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x244], eax
jne 0x1002a8ad
mov dword [ebp - 0x194], 1
jmp 0x1002a8b4
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2e0]
cmp dword [ebp - 0x194], eax
jl 0x1002a8d5
mov dword [ebp - 0x24c], 1
jmp 0x1002a8dc
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x34], eax
jl 0x1002a904
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2e0], 0
jne 0x1002a904
and dword [ebp - 0x19c], 0
jmp 0x1002a90e
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1002a929
mov dword [ebp - 0x254], 1
jmp 0x1002a930
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
je 0x1002ac23
mov eax, dword [ebp - 0x70]
imul eax, dword [ebp - 0x70]
test eax, eax
jne 0x1002a986
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xd8]
dec ecx
push 4
pop edx
imul edx, edx, 0
mov dword [ebp + edx - 0xd8], ecx
test eax, eax
jne 0x1002a986
and dword [ebp - 0x1a4], 0
jmp 0x1002a990
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1a4]
jne 0x1002ac23
mov dword [ebp - 0x280], 0xffffffff
mov dword [ebp - 0x288], 0x57b790eb
mov dword [ebp - 0x1cc], 0x4d024bfc
mov dword [ebp - 0x330], 0x759719bd
mov dword [ebp - 0x20], 0
jmp 0x1002a9d7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1002a9ea
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x40], 1
jmp 0x1002a9d0
mov dword [ebp - 0x20], 0
jmp 0x1002a9fa
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1002aa10
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x3e0], 8
jmp 0x1002a9f3
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x70], eax
jge 0x1002aa2b
mov dword [ebp - 0xf0], 1
jmp 0x1002aa32
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 0xfffffffe
jle 0x1002aa4b
mov dword [ebp - 0x25c], 1
jmp 0x1002aa52
and dword [ebp - 0x25c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x25c], eax
jg 0x1002aa70
mov dword [ebp - 0x1ac], 1
jmp 0x1002aa77
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0xb669
jg 0x1002aa8f
mov dword [ebp - 0x264], 1
jmp 0x1002aa96
and dword [ebp - 0x264], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2e0]
cmp eax, dword [ebp - 0x264]
jne 0x1002aab7
mov dword [ebp - 0x1b4], 1
jmp 0x1002aabe
and dword [ebp - 0x1b4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
imul eax, dword [ebp - 0x1b4]
cmp eax, 0xffffffff
jb 0x1002aae6
mov eax, 0xfd77
test eax, eax
jne 0x1002aae6
and dword [ebp - 0x358], 0
jmp 0x1002aaf0
mov dword [ebp - 0x358], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x3c8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x344]
cmp dword [ebp + eax - 0x3e0], ecx
jg 0x1002ab21
mov dword [ebp - 0x278], 1
jmp 0x1002ab28
and dword [ebp - 0x278], 0
cmp dword [ebp - 0x278], 0
jge 0x1002ab3d
mov dword [ebp - 0x1bc], 1
jmp 0x1002ab44
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x280], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x280], eax
jl 0x1002ab6e
mov dword [ebp - 0x1c4], 1
jmp 0x1002ab75
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
cmp dword [ebp - 0xf0], eax
jle 0x1002abaa
cmp dword [ebp - 0x34], 0
jne 0x1002abaa
and dword [ebp - 0x1d4], 0
jmp 0x1002abb4
mov dword [ebp - 0x1d4], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2e0]
add eax, dword [ebp - 0x1d4]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x40]
cmp eax, dword [ebp - 0x10]
je 0x1002abe2
mov dword [ebp - 0x298], 1
jmp 0x1002abe9
and dword [ebp - 0x298], 0
cmp dword [ebp - 0x298], 0xfffffff9
jb 0x1002ac0b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 0
je 0x1002ac0b
mov dword [ebp - 0x1dc], 1
jmp 0x1002ac12
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x330], eax
jmp 0x1002adad
mov dword [ebp - 0xb8], 0
jmp 0x1002ac3c
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jge 0x1002ac58
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x304], 1
jmp 0x1002ac2f
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x300]
cmp dword [ebp + eax - 0x304], ecx
jl 0x1002ac79
mov dword [ebp - 0x2a0], 1
jmp 0x1002ac80
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
jmp 0x1002ac99
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe6
jg 0x1002adad
mov dword [ebp - 0xa0], 0
jmp 0x1002acbc
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x1002acd8
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x360], 0x149c
jmp 0x1002acaf
mov dword [ebp - 0x58], 0
jmp 0x1002ace8
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xa
jge 0x1002ada8
mov dword [ebp - 0x1f4], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1e4], 0
je 0x1002ad3d
cmp dword [ebp - 0x1f4], 0
jbe 0x1002ad21
mov dword [ebp - 0x2a8], 1
jmp 0x1002ad28
and dword [ebp - 0x2a8], 0
cmp dword [ebp - 0x2a8], 0xfffffff7
je 0x1002ad3d
mov dword [ebp - 0x1ec], 1
jmp 0x1002ad44
and dword [ebp - 0x1ec], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x360]
cmp eax, dword [ebp - 0x1ec]
je 0x1002ad65
mov dword [ebp - 0x2b0], 1
jmp 0x1002ad6c
and dword [ebp - 0x2b0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2b0]
sub ecx, dword [ebp + eax - 0x360]
cmp dword [ebp - 0x1f4], ecx
jge 0x1002ad93
mov dword [ebp - 0x2b8], 1
jmp 0x1002ad9a
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x70], eax
jmp 0x1002ace1
jmp 0x1002ac92
mov dword [ebp - 0xc], 0x90f9
mov dword [ebp - 0x1c], 0xe022a5bc
mov dword [ebp - 0x38], 0
jmp 0x1002adcb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1002ade1
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x88], 0xbea12209
jmp 0x1002adc4
mov dword [ebp - 0x38], 0
jmp 0x1002adf1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1002ae07
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x3ec], 0xef3c
jmp 0x1002adea
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x88], 0xffff
je 0x1002ae26
mov dword [ebp - 0x334], 1
jmp 0x1002ae2d
and dword [ebp - 0x334], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x398], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x39c], eax
push 7
pop eax
test eax, eax
jne 0x1002ae73
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x88], 0
jne 0x1002ae73
and dword [ebp - 0x2c0], 0
jmp 0x1002ae7d
mov dword [ebp - 0x2c0], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
cmp dword [ebp - 0x2c0], eax
jge 0x1002ae9e
mov dword [ebp - 0x200], 1
jmp 0x1002aea5
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0xc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
cmp eax, dword [ebp - 0xc]
jle 0x1002aecc
mov dword [ebp - 0x268], 1
jmp 0x1002aed3
and dword [ebp - 0x268], 0
cmp dword [ebp - 0x268], 9
ja 0x1002aee8
mov dword [ebp - 0x208], 1
jmp 0x1002aeef
and dword [ebp - 0x208], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
sub eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x1c]
jge 0x1002af13
mov dword [ebp - 0xd0], 1
jmp 0x1002af1a
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd0]
mov dword [ebp + eax - 0x88], ecx
cmp dword [ebp - 0xd0], 0
jne 0x1002af42
mov dword [ebp - 0x2cc], 1
jmp 0x1002af49
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x2cc]
inc eax
inc eax
sub eax, dword [ebp - 0x1c]
cmp eax, 0xfffffffc
je 0x1002af84
mov dword [ebp - 0x1c], 0xffffffe7
jmp 0x1002af69
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x32
jne 0x1002af7f
push 0
push 0x535b
call fcn.1002fad3
pop ecx
pop ecx
jmp 0x1002af62
jmp 0x1002b15c
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x1002af9b
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1002afb1
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x88], 0xe7b1b0ca
jmp 0x1002af94
mov dword [ebp - 0x1c], 7
jmp 0x1002afc1
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 7
jl 0x1002b15c
mov dword [ebp - 0x30c], 0xfffffff9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3ec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0xc], 0xfffffffc
jmp 0x1002aff5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jg 0x1002b157
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xe0], eax
jg 0x1002b020
mov dword [ebp - 0x210], 1
jmp 0x1002b027
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0xd2570d97
jae 0x1002b03f
mov dword [ebp - 0x27c], 1
jmp 0x1002b046
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x27c]
je 0x1002b05d
mov dword [ebp - 0x218], 1
jmp 0x1002b064
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x30c]
cmp dword [ebp - 0x218], eax
jg 0x1002b081
cmp dword [ebp - 0x60], 0
jne 0x1002b081
and dword [ebp - 0x2ac], 0
jmp 0x1002b08b
mov dword [ebp - 0x2ac], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2ac]
lea eax, [ecx + eax + 0x37f20bab]
cmp eax, dword [ebp - 0xe0]
je 0x1002b0af
mov dword [ebp - 0x220], 1
jmp 0x1002b0b6
and dword [ebp - 0x220], 0
cmp dword [ebp - 0x220], 0xe360
je 0x1002b0ce
mov dword [ebp - 0x284], 1
jmp 0x1002b0d5
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x284], eax
jg 0x1002b0ec
mov dword [ebp - 0x354], 1
jmp 0x1002b0f3
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x60], 0
jne 0x1002b114
mov eax, 0xffff
test eax, eax
jne 0x1002b114
and dword [ebp - 0x228], 0
jmp 0x1002b11e
mov dword [ebp - 0x228], 1
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x228]
jge 0x1002b138
mov dword [ebp - 0x2c4], 1
jmp 0x1002b13f
and dword [ebp - 0x2c4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp + eax - 0x88], ecx
jmp 0x1002afee
jmp 0x1002afba
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1002b170
push 0
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 9
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x370], 0x5881f6c9
mov dword [ebp - 0x36c], 0x5881f6c9
mov dword [ebp - 0x368], 0x5881f6c9
mov dword [ebp - 0x364], 0x5881f6c9
mov dword [ebp - 0x2fc], 0xabb25a59
mov dword [ebp - 0xb0], 0
jmp 0x1002b1f5
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x1002b211
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0xec], 1
jmp 0x1002b1e8
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3cc], eax
xor eax, eax
je 0x1002b3fe
mov dword [ebp - 0xc4], 0xfffb
mov dword [ebp - 0xa8], 0
jmp 0x1002b248
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jge 0x1002b261
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x48], 0xffffffff
jmp 0x1002b23b
mov eax, 0x59141a9
test eax, eax
je 0x1002b283
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x1002b283
mov dword [ebp - 0x238], 1
jmp 0x1002b28a
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x2c]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x48]
mov dword [ebp - 8], eax
je 0x1002b2a8
mov dword [ebp - 0x230], 1
jmp 0x1002b2af
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
imul eax, dword [ebp - 0x230]
imul eax, eax, 0xffffffff
imul eax, eax, 0
shl eax, 1
cmp dword [ebp - 0xc4], eax
jg 0x1002b2e9
mov dword [ebp - 0x28c], 1
jmp 0x1002b2f0
and dword [ebp - 0x28c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x28c], eax
je 0x1002b30e
mov dword [ebp - 0x2b4], 1
jmp 0x1002b315
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x2b4]
jle 0x1002b32f
mov dword [ebp - 0x314], 1
jmp 0x1002b336
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3d4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x3b8], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x48]
cmp dword [ebp + eax - 0x48], ecx
jne 0x1002b374
mov dword [ebp - 0x240], 1
jmp 0x1002b37b
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x240], 0x6f9a
jne 0x1002b393
mov dword [ebp - 0xf4], 1
jmp 0x1002b39a
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf4]
sub ecx, dword [ebp + eax - 0x48]
cmp ecx, dword [ebp - 0x94]
jle 0x1002b3be
mov dword [ebp - 0xf8], 1
jmp 0x1002b3c5
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0xf8], eax
jl 0x1002b3df
mov dword [ebp - 0x100], 1
jmp 0x1002b3e6
and dword [ebp - 0x100], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x100]
sub ecx, dword [ebp + eax - 0x48]
mov dword [ebp - 0x2c], ecx
jmp 0x1002b713
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x118], 0xfffffff7
mov dword [ebp - 0x150], 0x8ee08a9c
mov dword [ebp - 0x18], 0
jmp 0x1002b429
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1002b713
mov dword [ebp - 0x68], 0xfffffff6
mov dword [ebp - 0x148], 0xfffffff9
mov dword [ebp - 8], 0
jmp 0x1002b454
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jg 0x1002b627
mov dword [ebp - 0x31c], 0xb47d
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0xec], 0
je 0x1002b60e
mov dword [ebp - 0x33c], 1
mov dword [ebp - 0x340], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xec], 0
jae 0x1002b5b5
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0xec]
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x74], 0
jne 0x1002b4c2
mov dword [ebp - 0x108], 1
jmp 0x1002b4c9
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
sub eax, 0xa83a
cmp eax, dword [ebp - 0x31c]
jne 0x1002b4e8
mov dword [ebp - 0x34c], 1
jmp 0x1002b4ef
and dword [ebp - 0x34c], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp + ecx*4 - 0xec]
cmp dword [ebp + eax*4 - 0xec], ecx
je 0x1002b511
mov dword [ebp - 0x110], 1
jmp 0x1002b518
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0xec]
cmp eax, dword [ebp - 0x118]
jg 0x1002b542
mov dword [ebp - 0x120], 1
jmp 0x1002b549
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
add eax, 0x17f4926a
cmp eax, dword [ebp - 0x68]
jl 0x1002b56a
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0xec], 0
jne 0x1002b56a
cmp dword [ebp - 0x2c], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x370], 0x7ab81002
jl 0x1002b589
mov dword [ebp - 0x324], 1
jmp 0x1002b590
and dword [ebp - 0x324], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x74]
cmp dword [ebp + eax - 0x370], ecx
jne 0x1002b5b5
push 8
pop eax
test eax, eax
je 0x1002b5b5
mov dword [ebp - 0x128], 1
jmp 0x1002b5bc
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x128]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 9
je 0x1002b5db
mov dword [ebp - 0x130], 1
jmp 0x1002b5e2
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x130], eax
jle 0x1002b5f9
mov dword [ebp - 0x138], 1
jmp 0x1002b600
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x340], eax
jmp 0x1002b622
mov byte [ebp - 0x61], 0
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x1002b622
push 0
call fcn.10029ef4
pop ecx
jmp 0x1002b44d
mov dword [ebp - 0x68], 0
jmp 0x1002b637
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jg 0x1002b70e
mov dword [ebp - 0x32c], 7
mov eax, dword [ebp - 0x68]
add eax, 0x96dc
cmp eax, dword [ebp - 0x150]
jne 0x1002b667
mov dword [ebp - 0x140], 1
jmp 0x1002b66e
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xec]
cmp eax, dword [ebp - 0x2c]
jne 0x1002b6b0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c0], eax
cmp dword [ebp - 0x150], 0
je 0x1002b6b0
mov dword [ebp - 0x158], 1
jmp 0x1002b6b7
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x158], eax
jne 0x1002b6ce
mov dword [ebp - 0x160], 1
jmp 0x1002b6d5
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x160]
sub ecx, dword [ebp + eax*4 - 0xec]
cmp ecx, dword [ebp - 0x74]
jl 0x1002b6f6
mov dword [ebp - 0x168], 1
jmp 0x1002b6fd
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x32c], eax
jmp 0x1002b630
jmp 0x1002b422
mov dword [ebp - 8], 0xd0a5
mov eax, dword [ebp - 8]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xec]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2fc], eax
and dword [ebp - 0xcc], 0
jmp 0x1002b755
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x30]
add eax, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xcc], eax
jge 0x1002bc36
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x10], 0
jne 0x1002b9ad
push dword [ebp - 0x2f8]
lea eax, [ebp - 0xd4]
push eax
push 0
push dword [ebp - 0x1b8]
push dword [ebp - 0x30]
push 0x5517
call fcn.10027e8f
add esp, 0x18
mov dword [ebp - 0xa4], 3
mov dword [ebp - 0x188], 5
mov dword [ebp - 0x308], 1
mov dword [ebp - 0x310], 0x56cd8339
mov dword [ebp - 0x24], 0
jmp 0x1002b7d7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002b7ed
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x274], 0x4a8b108f
jmp 0x1002b7d0
mov dword [ebp - 0x24], 0
jmp 0x1002b7fd
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002b813
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x3ac], 0x7d37
jmp 0x1002b7f6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x274], 0
jne 0x1002b82f
mov dword [ebp - 0x1a0], 1
jmp 0x1002b836
and dword [ebp - 0x1a0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
mov dword [ebp - 0x3a0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x274]
neg eax
mov dword [ebp - 0x170], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x170]
mov dword [ebp + eax - 0x3ac], ecx
cmp dword [ebp - 0x170], 0xfffffff8
je 0x1002b892
mov dword [ebp - 0x178], 1
jmp 0x1002b899
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jg 0x1002b8c3
cmp dword [ebp - 0xa4], 0
jne 0x1002b8c3
mov dword [ebp - 0x180], 1
jmp 0x1002b8ca
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
cmp dword [ebp - 0x188], eax
jle 0x1002b907
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x274], 0
je 0x1002b907
mov dword [ebp - 0x190], 1
jmp 0x1002b90e
and dword [ebp - 0x190], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
cmp dword [ebp - 0x190], eax
je 0x1002b92f
mov dword [ebp - 0x198], 1
jmp 0x1002b936
and dword [ebp - 0x198], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
imul eax, dword [ebp - 0x198]
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0xa4], 0
jne 0x1002b971
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3ac], 0
jne 0x1002b971
and dword [ebp - 0x1a8], 0
jmp 0x1002b97b
mov dword [ebp - 0x1a8], 1
mov eax, dword [ebp - 0x1a0]
cmp eax, dword [ebp - 0x1a8]
jg 0x1002b995
mov dword [ebp - 0x1b0], 1
jmp 0x1002b99c
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x310], eax
jmp 0x1002b73f
push 4
push 0x1000
mov eax, dword [ebp - 0x30]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1b8]
add ecx, dword [eax + 0xc]
push ecx
push 0x941e
push 0x655c
call fcn.10025698
pop ecx
pop ecx
call eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x30]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x318]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0xd4]
call fcn.100256f2
add esp, 0xc
mov dword [ebp - 0x28], 0xfffffffe
mov dword [ebp - 0x320], 2
mov dword [ebp - 0x1e0], 0xfffa
mov dword [ebp - 0x1d8], 0xfffffffe
mov dword [ebp - 0xac], 0
jmp 0x1002ba3f
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 1
jge 0x1002ba5b
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x1c8], 0xdf2f4a8b
jmp 0x1002ba32
mov dword [ebp - 0x28], 0
jmp 0x1002ba6b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 9
je 0x1002bb6c
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x90], 0
jmp 0x1002ba95
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
jge 0x1002bab1
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x1c0], 0xffffffff
jmp 0x1002ba88
mov dword [ebp - 0x7c], 0
jmp 0x1002bac1
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x1002bb57
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x44], 0
jmp 0x1002bae2
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jg 0x1002bb01
mov byte [ebp - 0x49], 0
push 0x482e
push 0
lea eax, [ebp - 0x49]
push eax
call fcn.10029d8f
add esp, 0xc
jmp 0x1002badb
mov dword [ebp - 0x44], 0
jmp 0x1002bb11
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1002bb52
mov dword [ebp - 0x3d0], 0x31d26ec1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c0], eax
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x1002bb50
push 0
call fcn.1002c47f
pop ecx
jmp 0x1002bb0a
jmp 0x1002baba
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c8]
mov dword [ebp - 0x7c], eax
jmp 0x1002ba64
mov eax, dword [ebp - 0x320]
cmp dword [ebp - 0x28], eax
jg 0x1002bb83
mov dword [ebp - 0x328], 1
jmp 0x1002bb8a
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1d0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp + eax - 0x1c8], ecx
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1d8]
cmp eax, dword [ebp - 0x1e0]
jl 0x1002bbdb
mov dword [ebp - 0x1e8], 1
jmp 0x1002bbe2
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
dec eax
jne 0x1002bbff
cmp dword [ebp - 0x28], 0
jne 0x1002bbff
xor eax, eax
inc eax
jne 0x1002bbff
and dword [ebp - 0x1f0], 0
jmp 0x1002bc09
mov dword [ebp - 0x1f0], 1
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x28], eax
push 0xbe5
lea eax, [ebp - 0xd4]
push eax
push 0x59ce
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10030c2b
add esp, 0x14
jmp 0x1002b73f
mov esp, ebp
pop ebp
ret