Function at 0x451bce
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 0x451d82
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 0x451c31
mov eax, 0xffffffff
jmp 0x451e8f
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.0044e934
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
sete al
movzx eax, al
test eax, eax
je 0x451c67
mov eax, 0xffffffff
jmp 0x451e8f
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.0044e934
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.0044e934
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.0044e934
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.0044e934
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], 0
sete al
movzx eax, al
test eax, eax
jne 0x451d0f
cmp dword [ebp - 0x1c], 0
sete al
movzx eax, al
test eax, eax
je 0x451d16
mov eax, 1
jmp 0x451d1b
mov eax, 0
test eax, eax
jne 0x451d2d
cmp dword [ebp - 0x20], 0
sete al
movzx eax, al
test eax, eax
je 0x451d34
mov eax, 1
jmp 0x451d39
mov eax, 0
test eax, eax
jne 0x451d4b
cmp dword [ebp - 0x24], 0
sete al
movzx eax, al
test eax, eax
je 0x451d55
mov eax, 0xffffffff
jmp 0x451e8f
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 0x451dde
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x5c]
cmp edx, 1
jg 0x451de7
movzx edx, byte [ebp + 0x10]
cmp dl, 6
jne 0x451dee
mov edx, 1
jmp 0x451df3
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