Function at 0x10029afe
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10029b87
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
jmp 0x10029b62
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 0x10029b82
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov ecx, dword [ebp - 0x174]
call fcn.10018bb0
mov dword [eax], 1
jmp 0x10029b57
jmp 0x1002aad6
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], 0x7e2799ac
mov dword [ebp - 0x220], 0xfd4914d2
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x1e8], 7
mov dword [ebp - 0x1f0], 0xfffffff7
mov dword [ebp - 0x1f8], 0xfffffffa
push 3
lea ecx, [ebp - 0x230]
call fcn.10018b26
and dword [ebp - 4], 0
mov dword [ebp - 0x208], 1
push 3
lea ecx, [ebp - 0x1a0]
call fcn.10018b26
mov byte [ebp - 4], 1
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x14], 0
jmp 0x10029c1e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10029c3a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x230]
call fcn.10018bb0
mov dword [eax], 0x76881957
jmp 0x10029c17
mov dword [ebp - 0x14], 0
jmp 0x10029c4a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10029c60
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x254], 8
jmp 0x10029c43
mov dword [ebp - 0x14], 0
jmp 0x10029c70
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10029c8c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1a0]
call fcn.10018bb0
mov dword [eax], 0xffff
jmp 0x10029c69
mov dword [ebp - 0x5c], 0
jmp 0x10029c9c
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xfffffffa
jl 0x10029d2d
mov dword [ebp - 0x218], 0xfffffffe
mov dword [ebp - 0x1c8], 0x4ad744d0
mov dword [ebp - 0x1d8], 0x3e34b64b
mov dword [ebp - 0x1d4], 0xb8bffbef
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x60], 0
jmp 0x10029ce8
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x10029cfe
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x264], 0xfffffff6
jmp 0x10029ce1
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10029d18
push 0x6060
push 0
call fcn.100306d1
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x1a0]
push eax
call fcn.1002811f
pop ecx
pop ecx
jmp 0x10029c95
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.10018bab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10018bab
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
push 2
lea ecx, [ebp - 0x6c]
call fcn.10018b26
mov dword [ebp - 4], 2
mov dword [ebp - 0x40], 0
jmp 0x10029d78
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x10029d8e
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x124], 0x62d5
jmp 0x10029d71
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1002be5f
add esp, 0xc
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
and dword [eax], 0
jmp 0x10029dd0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xec]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
cmp dword [eax], 1
jge 0x10029df8
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x124], 1
jmp 0x10029daf
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
mov esi, eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10029e39
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
cmp dword [eax], 0
je 0x10029e39
mov dword [ebp - 0xe8], 1
jmp 0x10029e40
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x124]
add eax, 0xa86b
cmp dword [ebp - 0xe8], eax
jge 0x10029e66
mov dword [ebp - 0x11c], 1
jmp 0x10029e6d
and dword [ebp - 0x11c], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [eax]
cmp ecx, 0xfffffffc
jge 0x10029e90
mov dword [ebp - 0xa4], 1
jmp 0x10029e97
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xdfa8
jge 0x10029eaf
mov dword [ebp - 0xe4], 1
jmp 0x10029eb6
and dword [ebp - 0xe4], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10018bb0
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10018bab
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x24], eax
and dword [ebp - 0x70], 0
jmp 0x10029eff
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x24]
add eax, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x70], eax
jge 0x1002aad6
push 2
lea ecx, [ebp - 0x8c]
call fcn.10018b26
mov dword [ebp - 4], 3
mov dword [ebp - 0x17c], 0x2466
mov dword [ebp - 0xb4], 3
mov dword [ebp - 0xbc], 0xfffffffa
push 1
lea ecx, [ebp - 0x1c4]
call fcn.10018b26
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0x1ac]
call fcn.10018b26
mov byte [ebp - 4], 5
mov dword [ebp - 0x140], 0xbd791f9e
mov dword [ebp - 0x10], 0
jmp 0x10029f7f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10029f9b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
mov dword [eax], 0x12df3d37
jmp 0x10029f78
mov dword [ebp - 0x10], 0
jmp 0x10029fab
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10029fc1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x94], 1
jmp 0x10029fa4
push 0
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002bff0
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x10029fe6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10029fff
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1ac]
call fcn.10018bb0
or dword [eax], 0xffffffff
jmp 0x10029fdf
push 1
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
mov esi, eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1002a02d
mov dword [ebp - 0xf0], 1
jmp 0x1002a034
and dword [ebp - 0xf0], 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
push 1
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [eax]
mov dword [ebp + ecx - 0x94], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x17c], eax
jg 0x1002a07e
mov dword [ebp - 0xac], 1
jmp 0x1002a085
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
add eax, 0xdc38
je 0x1002a0a0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x94], 0
mov eax, 0xa14c
imul esi, eax, 0x6a7f
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
cmp esi, dword [eax]
jne 0x1002a0c8
mov dword [ebp - 0x108], 1
jmp 0x1002a0cf
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xf0], eax
je 0x1002a0f5
mov dword [ebp - 0x164], 1
jmp 0x1002a0fc
and dword [ebp - 0x164], 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
xor eax, eax
add eax, 0xa12afd78
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
push 0
lea ecx, [ebp - 0x1c4]
call fcn.10018bb0
mov dword [eax], esi
mov eax, 0x4bda99da
test eax, eax
jl 0x1002a140
mov dword [ebp - 0x118], 1
jmp 0x1002a147
and dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
mov esi, dword [ebp - 0x118]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
sub esi, dword [eax]
push 1
lea ecx, [ebp - 0x8c]
call fcn.10018bb0
add esi, dword [eax]
mov dword [ebp - 0xc4], esi
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10018bb0
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
cmp dword [ebp - 0xc4], 0xcc72b752
jae 0x1002a1ad
mov dword [ebp - 0xf8], 1
jmp 0x1002a1b4
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x140], eax
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002a1e0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetBkColor]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
call fcn.10018bab
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c4]
call fcn.10018bab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10018bab
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
jne 0x1002a4b2
mov dword [ebp - 0x20], 0xb26bdde0
mov dword [ebp - 0x148], 5
mov dword [ebp - 0x20], 0xffffffee
jmp 0x1002a23b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xb
jne 0x1002a347
mov dword [ebp - 0x1c], 0x2cfb6318
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x1002a263
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xa
jl 0x1002a280
push 0
call fcn.10027fd0
pop ecx
lea eax, [ebp - 0x78]
push eax
push 0
call fcn.10027ec7
pop ecx
pop ecx
jmp 0x1002a25c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], eax
jge 0x1002a2a6
mov dword [ebp - 0xcc], 1
jmp 0x1002a2ad
and dword [ebp - 0xcc], 0
imul eax, dword [ebp - 0xcc], 0x9ef4
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
neg eax
cmp eax, dword [ebp - 0x20]
jne 0x1002a2d0
mov dword [ebp - 0x110], 1
jmp 0x1002a2d7
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x110], eax
je 0x1002a2ee
mov dword [ebp - 0xd4], 1
jmp 0x1002a2f5
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
add eax, 0x6038
je 0x1002a317
mov eax, 0xfa48
test eax, eax
je 0x1002a317
mov dword [ebp - 0x170], 1
jmp 0x1002a31e
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x148], eax
jmp 0x1002a234
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10029120
add esp, 0x14
push 3
lea ecx, [ebp - 0x240]
call fcn.10018b26
mov dword [ebp - 4], 6
push 4
lea ecx, [ebp - 0x18c]
call fcn.10018b26
mov byte [ebp - 4], 7
mov dword [ebp - 0x178], 1
push 0x2793
lea eax, [ebp - 0x150]
push eax
push 0x3a69
lea eax, [ebp - 0x240]
push eax
push 0
call fcn.10028008
add esp, 0x14
push 0
push 0x373
push 0x662c
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.100302b5
add esp, 0x14
push 0
lea ecx, [ebp - 0x18c]
call fcn.10018bb0
and dword [eax], 0
jmp 0x1002a410
push 0
lea ecx, [ebp - 0x18c]
call fcn.10018bb0
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x100]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x18c]
call fcn.10018bb0
cmp dword [eax], 2
jg 0x1002a478
mov dword [ebp - 0x58], 0xfffffff8
mov byte [ebp - 0x2b], 0
push 0
lea eax, [ebp - 0x2b]
push eax
push 0x5176
push 0x2997
call fcn.10027df2
add esp, 0x10
mov dword [ebp - 0x58], 2
jmp 0x1002a455
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1002a473
push 0
push 0x377
lea eax, [ebp - 0x178]
push eax
call fcn.10027268
add esp, 0xc
jmp 0x1002a44e
jmp 0x1002a3ec
mov byte [ebp - 0x2f], 0
push 1
lea eax, [ebp - 0x2f]
push eax
push 0x2410
call fcn.10027268
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18c]
call fcn.10018bab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10018bab
jmp 0x10029eef
mov dword [ebp - 0x28], 0x17f75960
mov dword [ebp - 0x80], 0x2eda8ed4
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xc0], 0x8461e707
mov dword [ebp - 0x168], 0xa23a3407
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x138], 0xecce005a
mov dword [ebp - 0x38], 0xf3bba684
mov dword [ebp - 0x1f4], 0
push 1
lea ecx, [ebp - 0x204]
call fcn.10018b26
mov dword [ebp - 4], 8
mov dword [ebp - 0x13c], 0xf9aa
mov dword [ebp - 0x224], 0x2ad
mov dword [ebp - 0x48], 0
jmp 0x1002a545
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1002a561
push dword [ebp - 0x48]
lea ecx, [ebp - 0x204]
call fcn.10018bb0
mov dword [eax], 0x3d2cf3e
jmp 0x1002a53e
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x28]
jl 0x1002a578
mov dword [ebp - 0xdc], 1
jmp 0x1002a57f
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xdc], eax
jle 0x1002a596
mov dword [ebp - 0x120], 1
jmp 0x1002a59d
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 1
jne 0x1002a5b2
mov dword [ebp - 0x9c], 1
jmp 0x1002a5b9
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x80], eax
jg 0x1002a5db
or eax, 0xffffffff
jne 0x1002a5db
and dword [ebp - 0xa0], 0
jmp 0x1002a5e5
mov dword [ebp - 0xa0], 1
cmp dword [ebp - 0xa0], 0x5cefd06b
jne 0x1002a5fd
mov dword [ebp - 0xa8], 1
jmp 0x1002a604
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x22a1
jge 0x1002a61c
mov dword [ebp - 0xb0], 1
jmp 0x1002a623
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jl 0x1002a649
mov dword [ebp - 0x158], 1
jmp 0x1002a650
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x1002a67b
cmp dword [ebp - 0x90], 0
je 0x1002a704
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x180], 0xd423cb8e
mov dword [ebp - 0x160], 9
mov dword [ebp - 0x4c], 0
jmp 0x1002a6a9
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1002a6bf
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x248], 0x3c9e4a04
jmp 0x1002a6a2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.1002ac73
add esp, 0x28
jmp 0x1002a78f
push 3
lea ecx, [ebp - 0x1b8]
call fcn.10018b26
mov byte [ebp - 4], 9
mov dword [ebp - 0x54], 0
jmp 0x1002a725
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x1002a741
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1b8]
call fcn.10018bb0
mov dword [eax], 0xeda7
jmp 0x1002a71e
mov dword [ebp - 0x38], 0
jmp 0x1002a751
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1002a780
mov dword [ebp - 0x144], 8
push 1
push 0x27e8
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.10027df2
add esp, 0x10
jmp 0x1002a74a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b8]
call fcn.10018bab
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002a7b7
push 0
push 0x265b
push 0x1cfa
push 0xaa6
push 0x1769
call dword [sym.imp.GDI32.dll_CreateBitmap]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10018bab
push 4
push 0x1000
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0xc]
push ecx
push 0x517c
push 0x6e91
call fcn.100267db
pop ecx
pop ecx
call eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14c]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x7c]
call fcn.1002686b
add esp, 0xc
mov dword [ebp - 0x18], 0xb02
mov dword [ebp - 0x34], 0xe6aa1654
push 1
lea ecx, [ebp - 0x130]
call fcn.10018b26
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x44], 0
jmp 0x1002a846
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1002a862
push dword [ebp - 0x44]
lea ecx, [ebp - 0x130]
call fcn.10018bb0
mov dword [eax], 0x19f23e52
jmp 0x1002a83f
cmp dword [ebp - 0x18], 0
je 0x1002a883
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x18], 0
je 0x1002a883
mov dword [ebp - 0xd0], 1
jmp 0x1002a88a
and dword [ebp - 0xd0], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x34]
jle 0x1002a8a4
mov dword [ebp - 0xd8], 1
jmp 0x1002a8ab
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
neg eax
imul eax, eax, 0xfffffffa
sub eax, 0x9ac5
cmp eax, dword [ebp - 0x18]
je 0x1002a8cc
mov dword [ebp - 0xe0], 1
jmp 0x1002a8d3
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x130]
call fcn.10018bb0
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [eax]
jge 0x1002a8f3
mov dword [ebp - 0x74], 1
jmp 0x1002a8f7
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x130]
call fcn.10018bb0
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
cmp dword [ebp - 0x74], 0
je 0x1002a92d
push 0
lea ecx, [ebp - 0x130]
call fcn.10018bb0
cmp dword [eax], 0
je 0x1002a92d
mov dword [ebp - 0x98], 1
jmp 0x1002a934
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x98]
add eax, ecx
je 0x1002a97a
mov dword [ebp - 0xf4], 4
mov eax, dword [ebp - 0xf4]
imul eax, dword [ebp - 0xf4]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002a975
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
jmp 0x1002aaa1
mov dword [ebp - 0x154], 0x215169ff
mov dword [ebp - 0x15c], 0x95674643
mov dword [ebp - 0x34], 0
jmp 0x1002a99e
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1002aaa1
mov dword [ebp - 0xfc], 0xc309ab83
mov dword [ebp - 0x18], 0
jmp 0x1002a9c2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1002a9da
lea eax, [ebp - 0x154]
push eax
push 0
call fcn.1002dcc4
pop ecx
pop ecx
jmp 0x1002a9bb
push 0
lea ecx, [ebp - 0x130]
call fcn.10018bb0
mov eax, dword [eax]
sub eax, dword [ebp - 0xfc]
jns 0x1002a9fd
mov dword [ebp - 0x104], 1
jmp 0x1002aa04
and dword [ebp - 0x104], 0
push 0
lea ecx, [ebp - 0x130]
call fcn.10018bb0
cmp dword [eax], 0
je 0x1002aa1d
cmp dword [ebp - 0xfc], 0
mov eax, 0xb14898d0
test eax, eax
jne 0x1002aa32
mov dword [ebp - 0x10c], 1
jmp 0x1002aa39
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x10c]
jg 0x1002aa53
mov dword [ebp - 0x114], 1
jmp 0x1002aa5a
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x114], eax
jg 0x1002aa82
lea eax, [ebp - 0x15c]
push eax
push 1
push 0x34fc
push 0x70c7
call fcn.10027e54
add esp, 0x10
jmp 0x1002aa9c
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1002aa9c
push 0x873
push 1
call fcn.10027ec7
pop ecx
pop ecx
jmp 0x1002a997
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10018bab
push 0x2f71
push 0
push 0x7bfe
push 0x7fd
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002f41b
add esp, 0x18
jmp 0x10029eef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret