Function at 0x452ea2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp edx, eax
setae al
movzx eax, al
test eax, eax
je 0x453056
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xc
mov eax, 0xffffffff
mov edx, 0
div dword [ebp - 0x10]
mov edx, 0xfffffffd
cmp eax, 0xfffffffd
cmova eax, edx
cmp eax, dword [ebp - 0xc]
setb al
movzx eax, al
test eax, eax
je 0x452f05
mov eax, 0xffffffff
jmp 0x453163
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044fc08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
sete al
movzx eax, al
test eax, eax
je 0x452f3b
mov eax, 0xffffffff
jmp 0x453163
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044fc08
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044fc08
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044fc08
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044fc08
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], 0
sete al
movzx eax, al
test eax, eax
jne 0x452fe3
cmp dword [ebp - 0x1c], 0
sete al
movzx eax, al
test eax, eax
je 0x452fea
mov eax, 1
jmp 0x452fef
mov eax, 0
test eax, eax
jne 0x453001
cmp dword [ebp - 0x20], 0
sete al
movzx eax, al
test eax, eax
je 0x453008
mov eax, 1
jmp 0x45300d
mov eax, 0
test eax, eax
jne 0x45301f
cmp dword [ebp - 0x24], 0
sete al
movzx eax, al
test eax, eax
je 0x453029
mov eax, 0xffffffff
jmp 0x453163
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
shl eax, 3
lea ecx, [edx + eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
shl eax, 3
add eax, edx
mov edx, dword [eax + 4]
and edx, 0xfffc00ff
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
shl eax, 3
add eax, edx
movzx edx, byte [ebp + 0x10]
cmp dl, 5
jne 0x4530b2
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x5c]
cmp edx, 1
jg 0x4530bb
movzx edx, byte [ebp + 0x10]
cmp dl, 6
jne 0x4530c2
mov edx, 1
jmp 0x4530c7
mov edx, 0
and edx, 1
and edx, 1
mov ecx, edx
shl ecx, 4
movzx edx, byte [eax + 6]
and edx, 0xffffffef
or edx, ecx
mov byte [eax + 6], dl
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
shl eax, 2
add eax, edx
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
nop
leave
ret