Function at 0x407ecd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ab85
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x59de90]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x10], 0
jmp 0x407f29
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
jge 0x40810f
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
jne 0x407f8b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x407f89
push 4
push 0x1000
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x14]
call fcn.00527ae0
add esp, 0xc
jmp 0x407f19
push 0
call fcn.0040b550
pop ecx
push eax
call fcn.00525f68
pop ecx
call fcn.00525f7a
add eax, 0x24
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
and eax, 0x80000001
jns 0x407fb4
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x407fc1
mov eax, dword [ebp - 0x24]
add eax, 0x3a
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x80]
call fcn.00401b3b
and dword [ebp - 4], 0
push 0x578080
lea ecx, [ebp - 0x80]
call fcn.00401547
push 0x5d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x5d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x45
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x41
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x4d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x49
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x39
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x35
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x4d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x3d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x4d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x39
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x39
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x5d
lea ecx, [ebp - 0x80]
call fcn.00404a3d
push 0x45
lea ecx, [ebp - 0x80]
call fcn.00404a3d
lea ecx, [ebp - 0x80]
call fcn.00401c04
push eax
push 0x578084
call fcn.00525eab
pop ecx
pop ecx
push 8
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x24]
call fcn.0053e158
add esp, 0xc
push 0x32
lea ecx, [ebp - 0x80]
call fcn.00404a3d
lea ecx, [ebp - 0x80]
call fcn.00401c04
push eax
lea eax, [ebp - 0x64]
push eax
push 0x578088
call fcn.00525eab
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00401be7
push 4
push 0x1000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x14]
call fcn.0052b500
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x407f19
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00524b49
leave
ret