Function at 0x590e50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x591242
sub esp, 0x58
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00465fe9
lea edi, [esp + 0x3c]
call fcn.00465fe9
mov ecx, dword [esp + 0x60]
cmp ecx, 8
jl 0x59118b
mov edx, dword [esp + 0x5c]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x3c], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x591235
lea ebx, [ecx - 4]
movzx ebp, byte [edx + 3]
movzx esi, byte [edx + 2]
shl esi, 8
or ebp, esi
cmp ebx, 1
jbe 0x591229
movzx ebx, byte [edx + 5]
movzx esi, byte [edx + 4]
shl esi, 8
or ebx, esi
mov word [esp + 0x48], bx
lea ebx, [ecx - 6]
cmp ebx, 1
jbe 0x59121d
movzx eax, byte [edx + 7]
movzx ebx, byte [edx + 6]
shl ebx, 8
or eax, ebx
mov word [esp + 0x4a], ax
movzx eax, bp
test eax, eax
je 0x5910a2
cmp ecx, eax
jl 0x590fe2
mov ebx, dword [esp + 0x64]
sub ebx, eax
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add ebx, edx
mov dword [esp], ebx
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00582790
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
test edx, edx
je 0x590fd5
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ebx, ebx
je 0x590f65
mov ebx, dword [ebx + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
lea eax, [0x6f9e84]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0x3c]
call fcn.004664ba
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
jmp 0x5910a2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [0x705977]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0x3c]
call fcn.004664ba
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
call fcn.00591400
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x591159
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x5910e9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea eax, [0x6f9e84]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0x3c]
call fcn.004664ba
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
lea edi, [esp + 0x68]
lea esi, [esp + 0x3c]
call fcn.004664ba
mov dword [esp + 0x84], 8
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x58
ret
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea eax, [0x7050ba]
mov dword [esp], eax
mov dword [esp + 4], 0x37
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0x3c]
call fcn.004664ba
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00590e50