Function at 0x40c09f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40c13d
lea eax, [ebp + 0xc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x40c10c
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x118], eax
push 0
push dword [ebp - 0x118]
push dword [ebp - 0xe0]
call fcn.00410a99
add esp, 0xc
jmp 0x40c138
push 1
push 1
push 0x30bb
push 0x30dd
push 0x7b77
push 0x73c3
push 0
push 0x126f
push 0x6699
call fcn.004085f6
add esp, 0x24
jmp 0x40cbe6
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x120]
movzx eax, byte [eax]
test eax, eax
je 0x40cbc4
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x100]
movzx eax, byte [eax]
test eax, eax
je 0x40c24a
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x40c225
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 1
jge 0x40c245
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x114]
call fcn.0042aeee
mov dword [eax], 0xfffffff6
jmp 0x40c21a
jmp 0x40cbc2
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x40], eax
push 0
call fcn.00408d98
pop ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
push 0xbb2
push 1
push 0
push 1
call fcn.00408b68
add esp, 0x10
mov dword [ebp - 0x20], 0xca631852
mov dword [ebp - 0xc], 8
push 4
lea ecx, [ebp - 0x17c]
call fcn.0042ae00
mov dword [ebp - 0x14c], 0xed761e7f
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x188], 0xffffffff
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0x2a57
push 0
call fcn.0041bfb0
add esp, 0x10
mov dword [ebp - 0x20], 0
jmp 0x40c2f8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xb
je 0x40c459
mov dword [ebp - 0x8c], 0x3e90a624
or dword [ebp - 0x170], 0xffffffff
or dword [ebp - 0x16c], 0xffffffff
or dword [ebp - 0x168], 0xffffffff
or dword [ebp - 0x164], 0xffffffff
lea ecx, [ebp - 0x61]
call fcn.0042aefd
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.0042af00
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1bc]
call fcn.0042aeac
mov dword [ebp - 0x124], 0xd23c5ad0
mov dword [ebp - 0x134], 0xfffffff7
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 0
jmp 0x40c387
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x40c449
mov dword [ebp - 0x144], 0x6f26
mov dword [ebp - 0x12c], 0x8f949145
push 3
lea ecx, [ebp - 0x1ac]
call fcn.0042ae00
mov dword [ebp - 0x10c], 0xe0ecf58a
push 0
push 0x2a60
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00408b94
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x1bc]
push eax
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.0041d6b9
add esp, 0x2c
lea eax, [ebp - 0x10c]
push eax
push 0
push 0x7613
call fcn.00414128
add esp, 0xc
lea ecx, [ebp - 0x1ac]
call fcn.0042aed2
jmp 0x40c380
lea ecx, [ebp - 0x1bc]
call fcn.0042aed2
jmp 0x40c2f1
mov dword [ebp - 0xc], 0
jmp 0x40c469
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x13
jl 0x40c490
mov byte [ebp - 0x19], 0
push 0x2f5b
lea eax, [ebp - 0x19]
push eax
push 0
call fcn.00416fbe
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x40c48e
jmp 0x40c462
jmp 0x40c462
lea ecx, [ebp - 0x17c]
call fcn.0042aed2
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 - 0x10], eax
mov dword [ebp - 0x18], 0xfffffffa
mov dword [ebp - 0x34], 0
jmp 0x40c4c7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x40c4dd
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x15c], 0xfffffff8
jmp 0x40c4c0
mov dword [ebp - 0x18], 0
jmp 0x40c4ed
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x19
jl 0x40c557
mov dword [ebp - 0x9c], 0xddd1
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x15c], 0x13638ecf
cmp dword [ebp - 0x9c], 1
jne 0x40c520
mov dword [ebp - 0x74], 1
jmp 0x40c524
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x74], eax
jl 0x40c53b
mov dword [ebp - 0xb4], 1
jmp 0x40c542
and dword [ebp - 0xb4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x15c], ecx
jmp 0x40c4e6
mov dword [ebp - 0x18], 0
jmp 0x40c567
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x40c610
mov dword [ebp - 0x1c0], 0xf4981ff2
mov dword [ebp - 0x18c], 2
mov dword [ebp - 0x190], 9
mov dword [ebp - 0x194], 0x2ba7b7e8
mov dword [ebp - 0x1e0], 0x31c587c7
mov dword [ebp - 0x1dc], 0x31c587c7
mov dword [ebp - 0x1d8], 0x31c587c7
mov dword [ebp - 0x1d4], 0x31c587c7
push 1
lea ecx, [ebp - 0x1cc]
call fcn.0042ae00
mov dword [ebp - 0xd0], 0x209c
lea eax, [ebp - 0x1cc]
push eax
push 0
lea eax, [ebp - 0x198]
push eax
call fcn.00408e87
add esp, 0xc
push 0
lea eax, [ebp - 0xd0]
push eax
call fcn.0041649c
pop ecx
pop ecx
lea ecx, [ebp - 0x1cc]
call fcn.0042aed2
jmp 0x40c560
and dword [ebp - 0x50], 0
jmp 0x40c626
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x50], eax
jge 0x40cbc2
push 0x51f7
push 0
call fcn.00409762
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x40cb5d
mov dword [ebp - 8], 0x6af1124f
mov dword [ebp - 0x58], 0x2e1dfe00
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x60], 0x665969a2
mov dword [ebp - 8], 0
jmp 0x40c67f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x17
jle 0x40cb15
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], 0xc326874b
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x38], 0
jmp 0x40c6ae
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x40c6c1
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x30], 6
jmp 0x40c6a7
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
push 0x2be9
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 4]
push eax
call fcn.004089d8
add esp, 0x20
cmp dword [ebp - 0x14], 0
jne 0x40c814
cmp dword [ebp - 0x60], 0
je 0x40c805
cmp dword [ebp - 4], 0x61302d9c
jne 0x40c70e
mov dword [ebp - 0x7c], 1
jmp 0x40c712
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x5708880d
jne 0x40c727
mov dword [ebp - 0xa4], 1
jmp 0x40c72e
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xa4], eax
jg 0x40c745
mov dword [ebp - 0x84], 1
jmp 0x40c74c
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x84]
jle 0x40c763
mov dword [ebp - 0xc4], 1
jmp 0x40c76a
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xc4], eax
jle 0x40c77e
mov dword [ebp - 0x68], 1
jmp 0x40c782
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 4], eax
jge 0x40c798
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 4], 0
je 0x40c7b9
cmp dword [ebp - 4], 0
je 0x40c7b9
mov dword [ebp - 0xac], 1
jmp 0x40c7c0
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xac], eax
jle 0x40c7d7
mov dword [ebp - 0x94], 1
jmp 0x40c7de
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xa40a7b48
jb 0x40c7f6
mov dword [ebp - 0xd4], 1
jmp 0x40c7fd
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x44], eax
jl 0x40c814
cmp dword [ebp - 8], 0
jne 0x40c814
and dword [ebp - 0xdc], 0
jmp 0x40c81e
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1a0], eax
xor eax, eax
inc eax
cmp eax, 0x10f121ad
jae 0x40c837
cmp dword [ebp - 8], 0
jne 0x40c846
cmp dword [ebp - 0x28], 0
jne 0x40c846
and dword [ebp - 0xbc], 0
jmp 0x40c850
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xbc], eax
je 0x40c864
mov dword [ebp - 0x6c], 1
jmp 0x40c868
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jge 0x40c880
mov dword [ebp - 0x70], 1
jmp 0x40c884
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x70], eax
jne 0x40c895
mov dword [ebp - 0x4c], 1
jmp 0x40c899
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x30], ecx
cmp dword [ebp - 0x4c], 0
jne 0x40c8b8
cmp dword [ebp - 0x44], 0
jne 0x40c8b8
and dword [ebp - 0x78], 0
jmp 0x40c8bf
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x28]
cmp eax, 0x5bae5bd5
jne 0x40c8db
mov eax, 0xe9572ab1
test eax, eax
jne 0x40c8db
and dword [ebp - 0x80], 0
jmp 0x40c8e2
mov dword [ebp - 0x80], 1
imul eax, dword [ebp - 0x80], 0xfff7
cmp eax, dword [ebp - 0x14]
je 0x40c907
push 0
push 0x7195
push 0xbfd
call fcn.0040880f
add esp, 0xc
jmp 0x40cb10
mov dword [ebp - 0x24], 0xfe49
mov dword [ebp - 0x3c], 0
jmp 0x40c91e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x40c934
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xf4], 4
jmp 0x40c917
mov dword [ebp - 4], 0
jmp 0x40c944
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x40c99c
mov dword [ebp - 0xe4], 0x348f6f7e
mov byte [ebp - 0x1a], 0
push 0x15ba
lea eax, [ebp - 0x1a]
push eax
push 0
call fcn.004208d1
add esp, 0xc
cmp dword [ebp - 0xe4], 0
jne 0x40c983
cmp dword [ebp - 0x24], 0
jne 0x40c983
and dword [ebp - 0x88], 0
jmp 0x40c98d
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x30], ecx
jmp 0x40c93d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 0
je 0x40ca6d
cmp dword [ebp - 8], 4
jbe 0x40c9bf
mov dword [ebp - 0x98], 1
jmp 0x40c9c6
and dword [ebp - 0x98], 0
imul eax, dword [ebp - 0x28], 0
test eax, eax
jne 0x40c9dd
cmp dword [ebp - 4], 0
jne 0x40c9dd
and dword [ebp - 0x90], 0
jmp 0x40c9e7
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x90], 0x75ae
sub eax, ecx
jne 0x40ca07
cmp dword [ebp - 0x24], 0
jne 0x40ca07
and dword [ebp - 0xa0], 0
jmp 0x40ca11
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0xa0]
jg 0x40ca2b
mov dword [ebp - 0xa8], 1
jmp 0x40ca32
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xa8], eax
jne 0x40ca49
mov dword [ebp - 0xec], 1
jmp 0x40ca50
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x44], eax
jle 0x40ca6d
mov dword [ebp - 0xb0], 1
jmp 0x40ca74
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
neg eax
cmp eax, 0xfb0f
je 0x40ca8d
xor eax, eax
jne 0x40ca8d
and dword [ebp - 0x54], 0
jmp 0x40ca94
mov dword [ebp - 0x54], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0xf4], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x54], eax
je 0x40cab8
mov dword [ebp - 0xb8], 1
jmp 0x40cabf
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xbda1
je 0x40cad7
mov dword [ebp - 0xc0], 1
jmp 0x40cade
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0xc0], eax
jne 0x40caf9
mov dword [ebp - 0x5c], 1
jmp 0x40cafd
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x30], ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
jmp 0x40c678
push 0
lea eax, [ebp - 0xfc]
push eax
push 0x12d0
push 0x20f6
lea eax, [ebp - 0xc8]
push eax
push 0x1979
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040eee2
add esp, 0x20
push 0x19a7
push 0
push 0x7975
call fcn.0040b97f
add esp, 0xc
jmp 0x40c616
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0xc]
push ecx
push 0x4a6
push 0x5d8
call fcn.004073b4
pop ecx
pop ecx
call eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x104]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x48]
call fcn.00407a6b
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.00408bb4
add esp, 0xc
jmp 0x40c616
jmp 0x40cbe6
push 0
push 0
push 0x5c88
push 0x3bef
push 0x231f
push 1
push 0x1e99
call fcn.0041546d
add esp, 0x1c
mov esp, ebp
pop ebp
ret