Function at 0x40b736
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40c1f9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x120], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x154], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xe8]
movzx eax, byte [eax]
test eax, eax
je 0x40b8e8
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x180]
movzx eax, byte [eax]
test eax, eax
je 0x40b8a7
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x110]
mov dword [eax], 1
jmp 0x40b8e3
push 0x1a2
push 0xd8a
push 0x416
push 0x237e
push 0x732
push 0xc09
push 0x108b
push 0xdd7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Arc]
jmp 0x40c1f7
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x128]
movzx eax, byte [eax]
test eax, eax
je 0x40b967
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
test eax, eax
je 0x40b962
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
jmp 0x40c1f7
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x24], eax
push 0
push 1
push 1
push 1
push 0x269e
push 0
push 0x2c2d
push 0
call fcn.00422b4f
add esp, 0x20
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x17c], 0
push 0
lea eax, [ebp - 0x17c]
push eax
push 0
call fcn.0040dccd
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c4], 4
mov dword [ebp - 0x1a8], 0x56915a13
mov dword [ebp - 0x1c0], 0x86cce57b
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x14c], 0xf47a6d
mov dword [ebp - 0x184], 8
mov dword [ebp - 0x38], 0
jmp 0x40ba30
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x40ba46
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1d4], 0x1328f6c7
jmp 0x40ba29
lea eax, [ebp - 0x184]
push eax
push 0
push 0x3fc4
push 0
call fcn.00415331
add esp, 0x10
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d4]
mov dword [ebp - 0x14c], eax
and dword [ebp - 0x40], 0
jmp 0x40ba87
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x40], eax
jge 0x40c1f7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x40beea
mov dword [ebp - 0x10], 0x2569
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0xbc], 0x779a7b44
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x30], 0x9e885dc1
mov dword [ebp - 0x48], 0x3cf81320
mov dword [ebp - 0x1b8], 0x73d5943e
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0xc698dc50
mov dword [ebp - 0xa8], 0x277ed46
mov dword [ebp - 4], 0
jmp 0x40bb0f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x40bb25
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x198], 6
jmp 0x40bb08
mov dword [ebp - 4], 0
jmp 0x40bb35
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x40bb4b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1e0], 1
jmp 0x40bb2e
mov dword [ebp - 4], 0
jmp 0x40bb5b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x40bb71
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1ec], 0xfffffffd
jmp 0x40bb54
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x2c], eax
jl 0x40bc73
cmp dword [ebp - 0x30], 0
jne 0x40bc3d
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0xbc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x30], eax
jne 0x40bbbf
cmp dword [ebp - 0x30], 0
je 0x40bbbf
mov dword [ebp - 0x54], 1
jmp 0x40bbc3
and dword [ebp - 0x54], 0
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x198], 0x786c
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0x1e0], ecx
mov eax, dword [ebp - 0x54]
add eax, 0x786c
cmp eax, 0x5534fd39
jge 0x40bc0b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x198], 0
je 0x40bc0b
mov dword [ebp - 0x60], 1
jmp 0x40bc0f
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], eax
jge 0x40bc26
mov dword [ebp - 0x68], 1
jmp 0x40bc2a
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
sub eax, 0x6f2c
jne 0x40bc3d
and dword [ebp - 0x98], 0
jmp 0x40bc47
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x98], eax
jne 0x40bc5b
mov dword [ebp - 0x70], 1
jmp 0x40bc5f
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x70], eax
jne 0x40bc73
and dword [ebp - 0xd0], 0
jmp 0x40bc7d
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x198], 0xa53061ec
ja 0x40bca9
push 9
pop eax
test eax, eax
jne 0x40bca9
and dword [ebp - 0xb0], 0
jmp 0x40bcb3
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xb0], eax
jge 0x40bcc7
mov dword [ebp - 0x78], 1
jmp 0x40bccb
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x10]
jl 0x40bcef
mov eax, 0x44bab92a
test eax, eax
je 0x40bcef
mov dword [ebp - 0xa0], 1
jmp 0x40bcf6
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa0], eax
jge 0x40bd0a
mov dword [ebp - 0x80], 1
jmp 0x40bd0e
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 1
je 0x40bd20
mov dword [ebp - 0xc0], 1
jmp 0x40bd27
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0x7efbae54
jne 0x40bd3f
mov dword [ebp - 0x88], 1
jmp 0x40bd46
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xa8]
jl 0x40bd64
mov dword [ebp - 0x90], 1
jmp 0x40bd6b
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x2c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1ec], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0x1ade
call fcn.00415597
add esp, 0x18
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x5e314a5e
mov dword [ebp - 0x34], 0
jmp 0x40bdd6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x40bdec
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xc8], 0xfffffffa
jmp 0x40bdcf
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc8], 0
je 0x40be46
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x1c], 1
jmp 0x40be13
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x40be41
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xc8], 0
je 0x40be28
jmp 0x40be41
mov byte [ebp - 0xc], 0
push 0x1e0b
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004122dd
add esp, 0xc
jmp 0x40be0c
jmp 0x40bee5
mov dword [ebp - 0x74], 0xc9214a9b
cmp dword [ebp - 0x74], 0xd697e780
jae 0x40be62
mov dword [ebp - 0xb8], 1
jmp 0x40be69
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0
jle 0x40be7b
mov dword [ebp - 0x64], 1
jmp 0x40be7f
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
cmp eax, dword [ebp - 0x64]
jle 0x40be9a
mov dword [ebp - 0x6c], 1
jmp 0x40be9e
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
cmp eax, dword [ebp - 0x6c]
jl 0x40bebc
mov dword [ebp - 0xdc], 1
jmp 0x40bec3
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0x74], 8
jge 0x40bed2
mov dword [ebp - 0x7c], 1
jmp 0x40bed6
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
jmp 0x40ba77
mov dword [ebp - 0x104], 0xd94fe5f3
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xf4], 0xfffffff6
mov dword [ebp - 0xfc], 0xa41a80d1
lea eax, [ebp - 0xf4]
push eax
push 0x2223
push 1
push 0
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x323a
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.0041156d
add esp, 0x24
mov dword [ebp - 0x14], 0
jmp 0x40bf50
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x11
jle 0x40bf94
mov dword [ebp - 0x10c], 0xffffffff
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0xa]
push eax
push 0
push 0x101d
call fcn.0041cfca
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 0x306c
push 0x74f3
push 0
call fcn.0041c193
add esp, 0x10
jmp 0x40bf49
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x84]
add ecx, dword [eax + 0xc]
push ecx
push 0x6e48
push 0x687b
call fcn.004069d7
pop ecx
pop ecx
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x114]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x50]
call fcn.00407433
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
jmp 0x40bff9
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x40c00c
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x5c], 0xe8cff0ea
jmp 0x40bff2
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x5c], 0xfffffff3
jmp 0x40c031
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0xffffffe7
jge 0x40c051
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xb]
push eax
push 0
call fcn.004129cc
pop ecx
pop ecx
jmp 0x40c01c
mov dword [ebp - 0x20], 0
jmp 0x40c061
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
jg 0x40c1db
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x18], 0
jmp 0x40c08c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x17
jle 0x40c1a7
mov dword [ebp - 0x12c], 0x31d2
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0x134], 0xffffffff
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x40c0d7
cmp dword [ebp - 0x18], 0
jne 0x40c0d7
push 4
pop eax
test eax, eax
jne 0x40c0d7
and dword [ebp - 0x8c], 0
jmp 0x40c0e1
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x8c], 1
je 0x40c0f6
mov dword [ebp - 0x94], 1
jmp 0x40c0fd
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x94], eax
je 0x40c117
mov dword [ebp - 0x124], 1
jmp 0x40c11e
and dword [ebp - 0x124], 0
or eax, 0xffffffff
je 0x40c135
cmp dword [ebp - 0x20], 0
je 0x40c135
mov dword [ebp - 0x9c], 1
jmp 0x40c13c
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x9c]
jle 0x40c156
mov dword [ebp - 0xa4], 1
jmp 0x40c15d
and dword [ebp - 0xa4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0xa4], eax
jge 0x40c17b
mov dword [ebp - 0xac], 1
jmp 0x40c182
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x134], eax
push 0
call fcn.0040c231
pop ecx
jmp 0x40c085
mov byte [ebp - 9], 0
push 0
push 0x3345
push 0x2011
push 0x3003
push 0x575b
lea eax, [ebp - 9]
push eax
push 1
push 0
push 0x65c9
call fcn.0040e49e
add esp, 0x24
jmp 0x40c05a
push 0
lea eax, [ebp - 8]
push eax
push 0x6799
lea eax, [ebp - 0x50]
push eax
call fcn.00414ca8
add esp, 0x10
jmp 0x40ba77
jmp 0x40c22d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x13c], eax
push 0x636
push 0x35d8
push 0x450
push 0x1d17
push 0
push 0x664
push 1
push dword [ebp - 0x13c]
call fcn.00414823
add esp, 0x20
mov esp, ebp
pop ebp
ret