Function at 0x4598b0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1898054]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x459b00
sub esp, 0x4c
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + 5]
test cl, 6
je 0x4598dd
call fcn.0045a1b0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x34], ebp
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x44], esi
mov edi, dword [eax + 0x24]
mov dword [esp + 0x48], edi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 0x28]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x54]
sub edi, ecx
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x58]
sbb esi, edx
mov dword [esp + 0x28], esi
test ebp, ebp
sete dl
setg cl
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ecx, ebp
test cl, cl
jne 0x459944
xor ecx, ecx
xor edx, edx
jmp 0x4599b0
mov dword [esp + 0x30], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.00467110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 1
adc ecx, 0
mov edx, eax
mov eax, dword [esp + 0x30]
mov ebx, edx
mov ebp, eax
mul edx
imul ebp, ecx
mov ecx, dword [esp + 0x34]
imul ecx, ebx
add ecx, edx
add ecx, ebp
mov edx, dword [esp + 0x3c]
add eax, edx
mov edx, dword [esp + 0x38]
adc ecx, edx
test ecx, ecx
jge 0x4599a2
mov ecx, 0x7fffffff
mov eax, 0xffffffff
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x40], 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 0x459a1b
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 ecx, ecx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x459a0f
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.0047d0a0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00457ff0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00457fa0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x459a33
mov dword [esp], eax
call fcn.00457f50
lea eax, [0x1898c14]
mov dword [esp], eax
call fcn.0047d080
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x459a57
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
jmp 0x459a92
mov ecx, dword [esp + 0x50]
movzx ebx, byte [ecx + 6]
test bl, bl
jne 0x459a6d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
jmp 0x459a92
lea eax, [ecx + 0x30]
nop
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x28], eax
je 0x459a8e
lea edx, [0xf16c1c]
jmp 0x459a92
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
call ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x459ac9
mov eax, dword [esp + 0x40]
test eax, eax
jmp 0x459aef
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x459add
mov eax, dword [esp + 0x40]
test eax, eax
jmp 0x459aef
add eax, 0x30
nop
mov dword [esp], eax
call fcn.0040e0c0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x459afc
nop
nop
nop
mov dword [esp], eax
call fcn.0040dea0
add esp, 0x4c
ret
call fcn.00472170
jmp fcn.004598b0