Function at 0x10029835
Capabilities:
Enumerate pe sections
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100790fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10029869
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1002a2a1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x188], 0x177e8edf
mov dword [ebp - 0x184], 0x177e8edf
mov dword [ebp - 0x180], 0x177e8edf
mov dword [ebp - 0x17c], 0x177e8edf
mov dword [ebp - 0x38], 0xe6e3245f
mov dword [ebp - 0x38], 0
jmp 0x100298cc
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x100298dc
push 0
call fcn.10025e11
pop ecx
jmp 0x100298c5
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0x1d832937
mov dword [ebp - 0x34], 0xeb2fc257
mov dword [ebp - 0x13c], 0x96e8
mov dword [ebp - 0x138], 0x96e8
mov dword [ebp - 0x134], 0x96e8
mov dword [ebp - 0x130], 0x96e8
lea ecx, [ebp - 0x5d]
call fcn.10008bd3
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x190]
call fcn.10017177
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x158]
call fcn.10017126
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x1002996d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10029983
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x120], 0x25f321ee
jmp 0x10029966
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x10029994
mov dword [ebp - 0x78], 1
jmp 0x10029998
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x78]
test eax, eax
jne 0x100299b2
cmp dword [ebp - 0x10], 0
jne 0x100299b2
and dword [ebp - 0xa4], 0
jmp 0x100299bc
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0xa4]
sub eax, 3
cmp eax, dword [ebp - 0x10]
jge 0x100299d3
mov dword [ebp - 0x4c], 1
jmp 0x100299d7
and dword [ebp - 0x4c], 0
push 0
lea ecx, [ebp - 0x158]
call fcn.10017168
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
cmp dword [ebp - 0x4c], 0
jle 0x100299fb
mov dword [ebp - 0xd0], 1
jmp 0x10029a02
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xd0], eax
jge 0x10029a16
mov dword [ebp - 0x7c], 1
jmp 0x10029a1a
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x7c], eax
jne 0x10029a31
cmp dword [ebp - 0x34], 0
jne 0x10029a31
and dword [ebp - 0xbc], 0
jmp 0x10029a3b
mov dword [ebp - 0xbc], 1
cmp dword [ebp - 0xbc], 1
je 0x10029a50
mov dword [ebp - 0x84], 1
jmp 0x10029a57
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
je 0x10029a6e
mov dword [ebp - 0xac], 1
jmp 0x10029a75
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0xd857
jg 0x10029a8d
mov dword [ebp - 0x8c], 1
jmp 0x10029a94
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
add eax, 0x9c08
cmp eax, dword [ebp - 0x10]
je 0x10029ab0
mov dword [ebp - 0xcc], 1
jmp 0x10029ab7
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xcc]
jne 0x10029ace
mov dword [ebp - 0x94], 1
jmp 0x10029ad5
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x94], eax
jge 0x10029aec
mov dword [ebp - 0xb4], 1
jmp 0x10029af3
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jbe 0x10029b0e
mov dword [ebp - 0x9c], 1
jmp 0x10029b15
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x9c]
jl 0x10029b2c
mov dword [ebp - 0xe0], 1
jmp 0x10029b33
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x178], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x120], 0xf55126ed
mov eax, 0xf55126ed
test eax, eax
je 0x10029b72
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10029b70
push 0x2a7f
push 0
call fcn.100265b7
pop ecx
pop ecx
jmp 0x10029bd0
mov dword [ebp - 0x118], 0x9170
mov dword [ebp - 0x10], 0
jmp 0x10029b8c
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff2
jle 0x10029bd0
mov dword [ebp - 0xf4], 0x4ad1532d
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x118]
mov dword [ebp + eax - 0x120], ecx
push 0
push 0x4a87
push 0x34d2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.100256f2
add esp, 0x14
jmp 0x10029b85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.1001714c
and dword [ebp - 0x58], 0
jmp 0x10029bf5
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x58], eax
jge 0x1002a2a1
mov dword [ebp - 0x20], 0x5d09ea9
push 3
lea ecx, [ebp - 0x6c]
call fcn.100170ca
mov dword [ebp - 4], 1
mov dword [ebp - 0x10c], 0xf0720718
mov dword [ebp - 0x108], 0xf0720718
mov dword [ebp - 0x104], 0xf0720718
mov dword [ebp - 0x100], 0xf0720718
mov dword [ebp - 0x24], 0x631615e8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14c], 0xae446f9
mov dword [ebp - 0x15c], 0xffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push 0xf04
push 0x13c6
lea eax, [ebp - 0x6c]
push eax
push 0x12d7
call fcn.10026bbd
add esp, 0x18
mov dword [ebp - 0x14], 0
jmp 0x10029c9a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10029cb0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf0], 0xd11e8e10
jmp 0x10029c93
mov dword [ebp - 0x14], 0
jmp 0x10029cc0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10029cd6
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x128], 1
jmp 0x10029cb9
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x10c], 1
cmp dword [ebp - 0x20], 0x7c7747bb
jge 0x10029cfc
mov dword [ebp - 0xd4], 1
jmp 0x10029d03
and dword [ebp - 0xd4], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10017168
push 1
lea ecx, [ebp - 0x6c]
call fcn.10017168
cmp dword [eax], 1
jne 0x10029d28
mov dword [ebp - 0xc4], 1
jmp 0x10029d2f
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc4]
je 0x10029d43
mov dword [ebp - 0x74], 1
jmp 0x10029d47
and dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10017168
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jg 0x10029d61
mov dword [ebp - 0x70], 1
jmp 0x10029d65
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x6c]
call fcn.10017168
cmp esi, dword [eax]
jl 0x10029ec2
mov dword [ebp - 0x20], 0
jmp 0x10029d90
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x10029ebd
mov dword [ebp - 0x80], 0x46aa1dd5
mov dword [ebp - 0x24], 0
jmp 0x10029db1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x10029e6c
mov dword [ebp - 0xe8], 0xb7228d02
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x10c]
neg eax
imul eax, eax, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov edx, 0xc3d076c5
sub edx, dword [ebp + ecx*4 - 0x10c]
cmp eax, edx
jle 0x10029df3
mov dword [ebp - 0x110], 1
jmp 0x10029dfa
and dword [ebp - 0x110], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x6c]
call fcn.10017168
push dword [ebp - 0x24]
lea ecx, [ebp - 0x6c]
call fcn.10017168
mov dword [ebp - 0x80], 0xfffffff6
cmp dword [ebp - 0x80], 0xffffffff
jg 0x10029e26
mov dword [ebp - 0x50], 1
jmp 0x10029e2a
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x10c], ecx
cmp dword [ebp - 0x50], 0x86fc3314
jbe 0x10029e4c
mov dword [ebp - 0x88], 1
jmp 0x10029e53
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xe8], eax
jmp 0x10029daa
mov dword [ebp - 0x18], 0
jmp 0x10029e7c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x10029eb8
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10029eb6
push 0
push 0x7786
push 0x6ab0
push 0x45ea
push 0x51b4
push 0x4732
push 0x7a8
call fcn.1002a334
add esp, 0x1c
jmp 0x10029e75
jmp 0x10029d89
jmp 0x1002a03d
mov dword [ebp - 0xfc], 0x9b6ef542
mov dword [ebp - 0x48], 0
jmp 0x10029edc
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10029eef
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x54], 0x730e92f9
jmp 0x10029ed5
mov dword [ebp - 0x18], 0
jmp 0x10029eff
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1b
jge 0x1002a03d
mov dword [ebp - 0x114], 9
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10029f4c
push 0
push 0xe69
push 0x2c93
push 0x5afe
push 0x44fd
push 0x4635
push 0x7122
push 0x51b
call fcn.10026107
add esp, 0x20
cmp dword [ebp - 0x114], 1
jle 0x10029f61
mov dword [ebp - 0x90], 1
jmp 0x10029f68
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x54]
add esi, dword [ebp - 0x90]
push 2
lea ecx, [ebp - 0x6c]
call fcn.10017168
cmp esi, dword [eax]
jg 0x10029f92
mov dword [ebp - 0x98], 1
jmp 0x10029f99
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 7
jb 0x10029fae
mov dword [ebp - 0xa0], 1
jmp 0x10029fb5
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf0]
add eax, dword [ebp - 0xa0]
jne 0x10029fd6
mov dword [ebp - 0xa8], 1
jmp 0x10029fdd
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0xa8], eax
jge 0x10029ffb
mov dword [ebp - 0xb0], 1
jmp 0x1002a002
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
sub eax, dword [ebp - 0xb0]
cmp eax, 0x3b9fe29f
jne 0x1002a025
mov dword [ebp - 0xb8], 1
jmp 0x1002a02c
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xfc], eax
jmp 0x10029ef8
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x128], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1001714c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x1002a097
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x393
call fcn.10027d2f
add esp, 0x18
jmp 0x10029be5
mov dword [ebp - 0xd8], 0xfffffff7
mov dword [ebp - 0xdc], 8
mov dword [ebp - 0x16c], 0x23b6182e
push 4
lea ecx, [ebp - 0x168]
call fcn.100170ca
mov dword [ebp - 4], 2
mov dword [ebp - 0xc0], 0xe08cccdd
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x168]
push eax
push 1
call fcn.10024c66
add esp, 0xc
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.1001714c
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0xc]
push ecx
push 0x4d47
push 0x4433
call fcn.10023fb3
pop ecx
pop ecx
call eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe4]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x5c]
call fcn.1002426b
add esp, 0xc
mov dword [ebp - 0x30], 0xffffffff
push 3
lea ecx, [ebp - 0x148]
call fcn.100170ca
mov dword [ebp - 4], 3
push 0x2678
push 0
push 0x7f2c
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.10026089
add esp, 0x14
cmp dword [ebp - 0x30], 0
je 0x1002a1ce
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002a1c9
push 0x27e4
push 0
push 0xf4c
push 0x2fe4
call fcn.1002da46
add esp, 0x10
jmp 0x1002a271
mov dword [ebp - 0xec], 0x4d513c61
mov dword [ebp - 0x30], 0xffffffe6
jmp 0x1002a1e8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jne 0x1002a268
mov dword [ebp - 0x44], 0xfffffff8
lea eax, [ebp - 0x148]
push eax
push 0
push 0x7b52
call fcn.1002669e
add esp, 0xc
mov dword [ebp - 0x44], 0
jmp 0x1002a21b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jg 0x1002a263
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002a24d
push 0
push 0x725
push 0x9fe
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1002a261
push 0
call fcn.10027bab
pop ecx
jmp 0x1002a214
jmp 0x1002a1e1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xec], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.1001714c
push 0x4f2d
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4847
push 0
call fcn.1002907f
add esp, 0x14
jmp 0x10029be5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret