Function at 0x565e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5661a6
sub esp, 0x50
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x565fdf
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x58]
cmp ebx, ebp
jne 0x565ef3
test ebp, ebp
je 0x565ee9
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
cmp esi, edi
jne 0x565efb
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x50
ret
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
jmp 0x565efb
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x565f23
mov ebp, dword [esp + 0x68]
test ebp, ebp
je 0x565f23
mov ecx, esi
lea esi, [esi + edx*4 - 4]
lea edi, [edi + ebp*4 - 4]
cmp edi, esi
je 0x565fef
mov esi, ecx
mov edi, dword [esp + 0x60]
nop
cmp ebx, edx
jg 0x565f2c
mov eax, ebx
jmp 0x565f9a
cmp ebx, 1
jne 0x565f69
lea eax, [0x734120]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ebx, 1
mov esi, eax
mov edx, 1
mov eax, dword [esp + 0x64]
jmp 0x565f9a
lea eax, [0x734120]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov esi, eax
mov edx, dword [esp + 0x28]
mov eax, ebx
cmp eax, ebx
jl 0x565fa0
mov eax, ebx
cmp edi, esi
je 0x565fcf
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], edi
shl eax, 2
mov dword [esp + 8], eax
call fcn.00457450
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
test ebx, ebx
je 0x56613a
shr eax, 5
mov dword [esp + 0x44], eax
lea edi, [eax + ebx]
mov dword [esp + 0x30], edi
lea esi, [eax + ebx + 1]
cmp edx, esi
jl 0x566018
jae 0x56609c
jmp 0x56619e
test edi, edi
jne 0x56605c
lea eax, [0x734120]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x30]
mov edx, 1
mov esi, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
jmp 0x56609c
mov dword [esp + 0x2c], esi
lea ecx, [0x734120]
mov dword [esp], ecx
mov dword [esp + 4], esi
lea ecx, [eax + ebx + 5]
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x44]
cmp edx, edi
jb 0x566197
cmp eax, edi
ja 0x566190
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], ecx
sub edx, eax
mov dword [esp + 0x40], edx
shl eax, 2
mov dword [esp + 0x3c], eax
neg edx
sar edx, 0x1f
and edx, eax
add edx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x6c]
and edx, 0x1f
mov dword [esp + 0x18], edx
call fcn.0056d930
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jbe 0x566189
mov ebx, dword [esp + 0x48]
mov dword [ebx + edx*4], eax
nop
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x566135
mov dword [esp], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00457280
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
nop
mov eax, ecx
jmp 0x566150
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov ecx, ebp
test ecx, ecx
jle 0x566163
lea ebp, [ecx - 1]
cmp eax, ebp
jbe 0x566180
mov esi, dword [ebx + ecx*4 - 4]
test esi, esi
je 0x56614e
mov edx, dword [esp + 0x24]
cmp ecx, edx
ja 0x56617b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x50
ret
call fcn.00456b80
mov ecx, eax
mov eax, ebp
call fcn.00456b40
mov eax, edx
call fcn.00456b40
mov ecx, edi
call fcn.00456ba0
mov ecx, edi
call fcn.00456b80
mov ecx, esi
call fcn.00456b80
nop
call fcn.00455690
jmp fcn.00565e90