Function at 0x4536a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
add eax, 0x8c
push eax
call dword [0x6ecff4]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x48]
call dword [eax + 0x64]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x453728
mov dword [ebp - 4], 0xffffffff
jmp 0x4538e2
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x6ed000]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x453751
mov dword [ebp - 4], 0xfffffffe
jmp 0x4538e2
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x18]
push edx
call dword [0x6ed004]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x453778
mov dword [ebp - 4], 0xfffffffd
jmp 0x4538e2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov cx, word [eax + 6]
sub ecx, 1
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + ecx + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], 0
jmp 0x4537f1
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x34], ecx
jge 0x4538a9
mov edx, dword [ebp - 0x34]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
add eax, edx
push eax
call fcn.00401e01
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7f1ff305
je 0x45382c
cmp dword [ebp - 0x44], 0x71469b04
jne 0x4538a4
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x34]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov ecx, dword [eax + ecx + 8]
cmp ecx, dword [esi + edx + 0x10]
jae 0x45386a
mov edx, dword [ebp - 0x34]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x4c], ecx
jmp 0x45387a
mov edx, dword [ebp - 0x34]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x1000
jbe 0x453896
mov eax, dword [ebp - 0xc]
sub eax, 0x1000
mov dword [ebp - 0x50], eax
jmp 0x45389c
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xc], edx
jmp 0x4538a9
jmp 0x4537e8
cmp dword [ebp - 0x1c], 0
je 0x4538db
cmp dword [ebp - 0xc], 0
je 0x4538db
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x1c]
push ecx
call fcn.00401389
add esp, 8
and eax, 0xffff
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [ebp - 4], 1
jmp 0x4538e2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x6ed008]
mov edx, dword [ebp - 0x18]
push edx
call dword [0x6ed050]
mov eax, dword [ebp - 0x14]
push eax
call dword [0x6ed050]
mov ecx, dword [ebp - 0x48]
add ecx, 0x8c
push ecx
call dword [0x6ecff8]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8