Function at 0x1002a3c2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002a412
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002ae71
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], 0x3fcb50bf
mov dword [ebp - 0x68], 0x4157736
mov dword [ebp - 0xd0], 2
mov dword [ebp - 0x5c], 0
jmp 0x1002a452
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x1002a468
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x10c], 0xa8eac8b
jmp 0x1002a44b
mov dword [ebp - 0x18], 3
jmp 0x1002a478
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002a71c
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x1002a499
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x1002a5fe
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x124], 0x31e1
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x10c], 0xfffffffb
jbe 0x1002a4d0
mov dword [ebp - 0xc8], 1
jmp 0x1002a4d7
and dword [ebp - 0xc8], 0
mov dword [ebp - 0x13c], 0x589fe57f
cmp dword [ebp - 4], 0
jne 0x1002a4fa
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x10c], 0
jne 0x1002a4fa
and dword [ebp - 0x80], 0
jmp 0x1002a501
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x10c]
cmp eax, dword [ebp - 0x68]
jl 0x1002a522
mov dword [ebp - 0x88], 1
jmp 0x1002a529
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp + eax*4 - 0x10c]
cmp ecx, 0x3735b263
jle 0x1002a54d
mov dword [ebp - 0x84], 1
jmp 0x1002a554
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x84], eax
jne 0x1002a56b
mov dword [ebp - 0xe0], 1
jmp 0x1002a572
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xe0], eax
je 0x1002a589
mov dword [ebp - 0x90], 1
jmp 0x1002a590
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x10c]
imul eax, dword [ebp - 0x90]
cmp dword [ebp - 0xc8], eax
jg 0x1002a5b5
mov dword [ebp - 0x98], 1
jmp 0x1002a5bc
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x98]
lea eax, [ecx + eax - 0x43cc]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x10c]
je 0x1002a5e6
mov dword [ebp - 0xf0], 1
jmp 0x1002a5ed
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x124], eax
jmp 0x1002a492
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10c], 0x1efe0c23
je 0x1002a61a
mov dword [ebp - 0x6c], 1
jmp 0x1002a61e
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x10c], ecx
cmp dword [ebp - 0x6c], 0
je 0x1002a676
cmp dword [ebp - 4], 0
jne 0x1002a66a
mov eax, 0xb2d505b8
test eax, eax
je 0x1002a654
cmp dword [ebp - 4], 0
je 0x1002a654
mov dword [ebp - 0x14c], 1
jmp 0x1002a65b
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x18], 0
je 0x1002a676
mov dword [ebp - 0xa0], 1
jmp 0x1002a67d
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xa0], eax
jle 0x1002a699
xor eax, eax
inc eax
je 0x1002a699
mov dword [ebp - 0xa8], 1
jmp 0x1002a6a0
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0xa8]
jg 0x1002a6c3
mov dword [ebp - 0xe8], 1
jmp 0x1002a6ca
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xe8], eax
jne 0x1002a6e1
mov dword [ebp - 0xb0], 1
jmp 0x1002a6e8
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, 0x8e18
jne 0x1002a704
cmp dword [ebp - 4], 0
jne 0x1002a704
and dword [ebp - 0xd8], 0
jmp 0x1002a70e
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x68], eax
jmp 0x1002a471
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002a73c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 4]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x20], 0x68ec0ae9
mov dword [ebp - 0x4c], 0xfffffff9
mov dword [ebp - 0x30], 0xffff
mov dword [ebp - 0x7c], 0xd5943e2f
mov dword [ebp - 0x114], 0xfffffff7
mov dword [ebp - 0xc], 0
jmp 0x1002a77e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x1002a794
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1a0], 0x779a7b44
jmp 0x1002a777
mov dword [ebp - 0xc], 0
jmp 0x1002a7a4
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x1002a7ba
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1c0], 0xa4f0
jmp 0x1002a79d
mov dword [ebp - 0x20], 0
jmp 0x1002a7ca
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x13
jle 0x1002a7da
push 0
call fcn.10026f84
pop ecx
jmp 0x1002a7c3
cmp dword [ebp - 0x4c], 0
je 0x1002a835
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xb8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x1a0], ecx
cmp dword [ebp - 0xb8], 0
jne 0x1002a811
mov dword [ebp - 0xf8], 1
jmp 0x1002a818
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x30]
je 0x1002a835
mov dword [ebp - 0xc0], 1
jmp 0x1002a83c
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x7c], eax
jl 0x1002a859
mov dword [ebp - 0x12c], 1
jmp 0x1002a860
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x194], eax
xor eax, eax
add eax, 9
cmp eax, 0xb592
jg 0x1002a881
mov dword [ebp - 0x144], 1
jmp 0x1002a888
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x4c], eax
jle 0x1002a8b4
mov dword [ebp - 0x134], 1
jmp 0x1002a8bb
and dword [ebp - 0x134], 0
xor eax, eax
add eax, 0xffffeeaf
jne 0x1002a8d1
xor eax, eax
jne 0x1002a8d1
and dword [ebp - 0x8c], 0
jmp 0x1002a8db
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x170], 0x4039b642
mov dword [ebp - 0x16c], 0x4039b642
mov dword [ebp - 0x168], 0x4039b642
mov dword [ebp - 0x164], 0x4039b642
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x180], 0xe69
push 0x52ad
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.1002dcb4
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x1002a94a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x1002a9c8
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x94], 9
mov dword [ebp - 0x64], 0
jmp 0x1002a974
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1002a98a
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x1a8], 1
jmp 0x1002a96d
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x170]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x170], eax
mov dword [ebp - 0x54], 0
jmp 0x1002a9ae
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jg 0x1002a9c3
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
jmp 0x1002a9a7
jmp 0x1002a943
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
and dword [ebp - 0x74], 0
jmp 0x1002a9f3
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x74], eax
jge 0x1002ae71
mov dword [ebp - 0x160], 0x4039b642
mov dword [ebp - 0x15c], 0x4039b642
mov dword [ebp - 0x158], 0x4039b642
mov dword [ebp - 0x154], 0x4039b642
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x184], 0xe69
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x1002aa5c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1002aada
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x9c], 9
mov dword [ebp - 0x40], 0
jmp 0x1002aa86
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1002aa9c
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1b0], 1
jmp 0x1002aa7f
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x160]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x160], eax
mov dword [ebp - 0x44], 0
jmp 0x1002aac0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jg 0x1002aad5
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
jmp 0x1002aab9
jmp 0x1002aa55
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x1002adaa
mov dword [ebp - 0x3c], 0xcff0ea75
mov dword [ebp - 0x3c], 0
jmp 0x1002aafe
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffe7
jle 0x1002ab22
cmp dword [ebp - 0x3c], 0
je 0x1002ab0c
jmp 0x1002ab22
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002ab20
push 0
call fcn.1002bd6d
pop ecx
jmp 0x1002aaf7
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x3107
call fcn.1002500e
add esp, 0x18
mov dword [ebp - 0x14], 0xfe7d8a87
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x48], 0
jmp 0x1002ab6f
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1002ab82
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x70], 9
jmp 0x1002ab68
mov dword [ebp - 0x14], 0
jmp 0x1002ab92
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002ad63
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0x128], 0x19c4
mov dword [ebp - 0x50], 0
jmp 0x1002abc0
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1002abd6
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x120], 0x62bb2c59
jmp 0x1002abb9
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002ac05
push 0x3f79
push 0xc0d
push 0
push 0xeeb
push 0x3d0c
push 0x355d
call fcn.10026e89
add esp, 0x18
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x70]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x14], 0
je 0x1002ace8
cmp dword [ebp - 0x14], 0xffffffff
je 0x1002ac2e
mov dword [ebp - 0xbc], 1
jmp 0x1002ac35
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0x34], 9
je 0x1002ac47
mov dword [ebp - 0xa4], 1
jmp 0x1002ac4e
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xfffffffd
je 0x1002ac63
mov dword [ebp - 0xac], 1
jmp 0x1002ac6a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x34]
cmp eax, 4
je 0x1002ac84
mov dword [ebp - 0xb4], 1
jmp 0x1002ac8b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb4], eax
jg 0x1002aca2
mov dword [ebp - 0xc4], 1
jmp 0x1002aca9
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc4]
je 0x1002acc3
mov dword [ebp - 0xcc], 1
jmp 0x1002acca
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp - 0xcc], eax
jg 0x1002ace8
mov dword [ebp - 0xd4], 1
jmp 0x1002acef
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x120], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x70], 0x5a9cea44
jne 0x1002ad2a
mov dword [ebp - 0xe4], 1
jmp 0x1002ad31
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0xe4], eax
jg 0x1002ad4b
mov dword [ebp - 0xec], 1
jmp 0x1002ad52
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x130], eax
jmp 0x1002ab8b
mov dword [ebp - 0x34], 0
jmp 0x1002ad73
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1b
je 0x1002ada5
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002ada3
push 0x71f2
push 0x2a55
push 0x740
push 0
push 0x610c
call fcn.1002bb82
add esp, 0x14
jmp 0x1002ad6c
jmp 0x1002a9e3
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xf4]
add ecx, dword [eax + 0xc]
push ecx
push 0x30ed
push 0x346b
call fcn.100245ed
pop ecx
pop ecx
call eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x138]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x78]
call fcn.1002460f
add esp, 0xc
mov dword [ebp - 0x38], 0xfffffff7
mov dword [ebp - 0x58], 0
jmp 0x1002ae0f
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1002ae25
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x140], 0x24f01c08
jmp 0x1002ae08
mov dword [ebp - 0x38], 0
jmp 0x1002ae35
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1002ae63
mov dword [ebp - 0xfc], 0xd3f4
mov eax, dword [ebp - 0xfc]
dec eax
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x140], 0
je 0x1002ae61
jmp 0x1002ae63
jmp 0x1002ae2e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x78]
mov dword [eax + 8], ecx
jmp 0x1002a9e3
mov esp, ebp
pop ebp
ret