Function at 0x4592c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4595e9
sub esp, 0x14
mov eax, dword [esp + 0x20]
test eax, eax
sete cl
setl dl
mov ebx, dword [esp + 0x1c]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ecx, ebp
or edx, ecx
test dl, dl
jne 0x4595d2
mov ecx, dword [esp + 0x28]
test ecx, ecx
jl 0x4595bc
lea eax, [0x588074]
mov dword [esp], eax
call fcn.00479370
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x459328
mov ecx, dword [esp + 0x18]
jmp 0x459343
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 6]
test dl, dl
je 0x459343
lea eax, [ecx + 0x30]
mov dword [esp], eax
call fcn.0040bda0
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
call fcn.00458a50
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45935f
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00458ec0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
lea ecx, [0x4d721c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.00458a10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4593d5
mov edx, dword [0x587dc8]
test edx, edx
jne 0x4593a7
mov edx, dword [esp + 0x34]
jmp 0x4593c1
call fcn.00474ad0
mov dword [edi], eax
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0x24]
mov dword [edi + 0xc], ebx
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [ecx + 0xc], ebx
mov ebp, dword [esp + 0x20]
mov dword [ecx + 0x10], ebp
movzx esi, byte [ecx + 5]
test edx, edx
setg dl
xchg edi, ebx
sete bl
xchg edi, ebx
test eax, eax
seta al
and eax, edi
or edx, eax
mov byte [esp + 0xd], dl
xchg esi, eax
test al, 1
xchg esi, eax
je 0x4594da
or esi, 2
xchg esi, eax
mov byte [ecx + 5], al
xchg esi, eax
xchg esi, eax
test al, 4
xchg esi, eax
je 0x459448
mov eax, dword [ecx + 0x2c]
test byte [eax], al
add eax, 0x14
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.004793e0
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 5]
and ecx, 0xfffffffb
mov byte [eax + 5], cl
mov ecx, eax
mov eax, dword [ecx + 0x2c]
test byte [eax], al
add eax, 0x28
mov dword [esp], eax
call fcn.00479410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x45948d
mov edx, dword [esp + 0x20]
cmp edx, ecx
setl cl
sete bl
mov ebp, dword [esp + 0x1c]
cmp ebp, eax
setb al
and eax, ebx
or eax, ecx
test al, al
je 0x4594d2
mov eax, dword [esp + 0x18]
lea ecx, [eax + 4]
movzx edx, byte [eax + 5]
mov dword [esp], ecx
mov byte [esp + 4], dl
call fcn.00479550
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.0045a880
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov eax, 1
jmp 0x4594d4
xor eax, eax
mov ecx, dword [esp + 0x18]
jmp 0x4594dc
xor eax, eax
mov byte [esp + 0xc], al
mov dword [esp], ecx
call fcn.00459600
movzx eax, byte [esp + 4]
mov byte [esp + 0xe], al
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4594ff
mov edx, dword [esp + 0x18]
jmp 0x45950e
mov edx, dword [esp + 0x18]
movzx ebx, byte [edx + 6]
test bl, bl
je 0x45950e
inc dword [edx + 0x28]
mov dword [esp], edx
call fcn.00458aa0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x459529
mov eax, dword [esp + 0x18]
movzx edx, byte [esp + 0xd]
jmp 0x459578
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x45953c
movzx edx, byte [esp + 0xd]
jmp 0x459578
mov dword [esp], eax
call fcn.00458b00
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004067c0
movzx eax, byte [esp + 4]
mov byte [esp + 0xf], al
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 0x30]
mov dword [esp], edx
call fcn.0040bfc0
movzx edx, byte [esp + 0xd]
movzx eax, byte [esp + 0xf]
or edx, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0xd], dl
movzx ecx, byte [esp + 0xe]
test cl, cl
je 0x459592
mov dword [esp], eax
call fcn.004596c0
movzx edx, byte [esp + 0xd]
movzx eax, byte [esp + 0xc]
test al, al
je 0x4595b4
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00445260
movzx edx, byte [esp + 0xd]
mov byte [esp + 0x3c], dl
add esp, 0x14
ret
lea eax, [0x4de325]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0046f470
lea eax, [0x4dc801]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0046f470
nop
call fcn.004736a0
jmp fcn.004592c0