Function at 0x565a90
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x565efe
sub esp, 0x60
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00465feb
lea edi, [esp + 0x4c]
call fcn.00465feb
mov ecx, dword [esp + 0x68]
cmp ecx, 0xc
jl 0x565d51
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4c], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x565ef1
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4e], bx
lea ebp, [ecx - 4]
cmp ebp, 3
jbe 0x565ee5
lea ebp, [ecx - 8]
mov eax, ebx
movzx ebx, byte [edx + 7]
mov esi, ebp
movzx ebp, byte [edx + 6]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 5]
shl ebp, 0x10
or ebp, ebx
movzx ebx, byte [edx + 4]
shl ebx, 0x18
or ebx, ebp
cmp esi, 1
jbe 0x565ed9
movzx ebp, byte [edx + 9]
mov esi, ebx
movzx ebx, byte [edx + 8]
shl ebx, 8
or ebp, ebx
mov word [esp + 0x5c], bp
add ecx, 0xfffffff6
cmp ecx, 1
jbe 0x565ecf
movzx ecx, byte [edx + 0xb]
movzx edx, byte [edx + 0xa]
shl edx, 8
or ecx, edx
mov word [esp + 0x5e], cx
test esi, esi
je 0x565de3
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jl 0x565c91
movzx eax, ax
lea edx, [esi + eax*4]
cmp ecx, edx
jl 0x565bd1
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], eax
lea ecx, [0x6b3700]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x28]
xor esi, esi
jmp 0x565e3e
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x703e53]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x3c]
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 + 0x30], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x4c]
call fcn.004664ce
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], eax
add esp, 0x60
ret
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp], esi
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x703e53]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x3c]
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 + 0x30], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x4c]
call fcn.004664ce
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], eax
add esp, 0x60
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [0x703e88]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x34]
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 + 0x30], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x4c]
call fcn.004664ce
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], eax
add esp, 0x60
ret
lea edi, [esp + 0x7c]
lea esi, [esp + 0x4c]
call fcn.004664ce
mov dword [esp + 0x90], 0xc
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x60
ret
mov edx, dword [esp + 0x2c]
lea edx, [edx + esi*4 + 2]
mov ebx, dword [esp + 0x24]
movzx ebp, byte [ecx + ebx + 3]
movzx ebx, byte [ecx + ebx + 2]
shl ebx, 8
or ebp, ebx
mov word [edx], bp
inc esi
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, edi
cmp esi, eax
jge 0x565de3
mov edi, ebp
lea ebp, [ebp + esi*4]
cmp edx, ebp
jb 0x565ec6
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x54]
sub ebx, ebp
neg ebx
sar ebx, 0x1f
and ebx, ebp
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x74]
sub ebx, ebp
cmp esi, edx
jae 0x565ebd
cmp ebx, 3
jbe 0x565eb1
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x2c]
lea ebp, [edx + esi*4]
mov edx, dword [esp + 0x24]
movzx ebx, byte [ecx + edx + 1]
movzx edx, byte [ecx + edx]
shl edx, 8
or ebx, edx
mov word [ebp], bx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffffe
cmp edx, 1
ja 0x565e15
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, esi
mov ecx, edx
call fcn.00465e00
mov eax, ebp
mov ecx, edx
call fcn.00465e60
mov eax, 1
call fcn.00465e00
mov eax, 1
mov ecx, esi
call fcn.00465e00
mov eax, 3
mov ecx, ebp
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00565a90