Function at 0x45b050
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x45b39d
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
lea ecx, [0x52817c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.00459430
mov eax, dword [esp + 0x4c]
test byte [eax], al
mov dword [esp], eax
call fcn.0040c9b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x45b0aa
mov dword [esp], ecx
call fcn.0040c9b0
mov eax, dword [esp + 0x4c]
movzx ecx, byte [eax + 5]
test cl, 6
je 0x45b0bc
call fcn.0045ba50
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x30], ebp
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x40], esi
mov edi, dword [eax + 0x24]
mov dword [esp + 0x44], edi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x28], edi
mov edi, dword [eax + 0x28]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x50]
sub edi, ecx
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x54]
sbb esi, edx
mov dword [esp + 0x24], esi
test ebp, ebp
setg dl
sete cl
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, ecx
or edx, ebp
test dl, dl
jne 0x45b123
xor ecx, ecx
xor edx, edx
jmp 0x45b18f
mov dword [esp + 0x2c], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.004687f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 1
adc ecx, 0
mov edx, eax
mov eax, dword [esp + 0x2c]
mov ebx, edx
mov ebp, eax
mul edx
mov esi, dword [esp + 0x30]
imul ebx, esi
add edx, ebx
imul ecx, ebp
add ecx, edx
mov edx, dword [esp + 0x38]
add eax, edx
mov edx, dword [esp + 0x34]
adc ecx, edx
test ecx, ecx
jge 0x45b181
mov ecx, 0x7fffffff
mov eax, 0xffffffff
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
movzx ebp, byte [eax + 5]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x45b1f6
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
or ebp, 2
xchg ebp, ebx
mov byte [eax + 5], bl
xchg ebp, ebx
test edx, edx
sete dl
test ecx, ecx
sete cl
and ecx, edx
test cl, cl
je 0x45b1ee
movzx ecx, byte [esp + 0x1b]
or ecx, 6
mov byte [eax + 5], cl
mov ecx, dword [eax + 0x2c]
test byte [ecx], al
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.0047a2a0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00459570
lea eax, [0x5f0074]
mov dword [esp], eax
call fcn.0047a230
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x45b216
mov ecx, dword [esp + 0x4c]
jmp 0x45b25b
mov ecx, dword [esp + 0x4c]
movzx edx, byte [ecx + 6]
test dl, dl
je 0x45b25b
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
test edx, edx
sete dl
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
je 0x45b25b
lea eax, [ecx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047a2a0
mov eax, dword [esp + 8]
test eax, eax
jl 0x45b386
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.004594c0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x45b273
mov ecx, dword [esp + 0x34]
test ecx, ecx
jmp 0x45b289
mov dword [esp], eax
call fcn.004593f0
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
je 0x45b291
mov edx, dword [esp + 0x40]
jmp 0x45b302
mov ebx, dword [esp + 0x4c]
movzx ebp, byte [ebx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45b2a5
mov edx, dword [esp + 0x40]
jmp 0x45b302
lea eax, [ebx + 0x30]
mov dword [esp], eax
call fcn.0040bea0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
test edx, edx
sete dl
test ecx, ecx
sete cl
and ecx, edx
test cl, cl
je 0x45b2ed
lea ecx, [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.0047a2a0
mov eax, dword [esp + 8]
test eax, eax
jl 0x45b370
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x28], ecx
je 0x45b2fe
lea edx, [0x532a5c]
jmp 0x45b302
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45b33d
mov eax, dword [esp + 0x3c]
test eax, eax
jmp 0x45b362
mov eax, dword [esp + 0x4c]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x45b351
mov eax, dword [esp + 0x3c]
test eax, eax
jmp 0x45b362
add eax, 0x30
mov dword [esp], eax
call fcn.0040c0c0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45b36c
mov dword [esp], eax
call fcn.004593c0
add esp, 0x48
ret
lea eax, [0x52cbaf]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004700b0
lea eax, [0x52e340]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.004700b0
nop
call fcn.00471610
jmp fcn.0045b050