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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x565430
sub esp, 0x64
lea eax, [0x63bc60]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
lea eax, [0x64b645]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.004098c0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
mov dword [esp + 0x50], eax
test cl, cl
je 0x565406
lea ecx, [0x6024e0]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
xor ecx, ecx
mov edx, dword [esp + 0x50]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x2c]
cmp ecx, esi
jge 0x5653f6
mov edi, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.004c0920
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x64ac55]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004bfb50
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
cmp ecx, 1
jne 0x5650b5
mov edx, dword [eax + 4]
test edx, edx
jne 0x5650b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
add esi, 8
mov edi, dword [esp + 0x40]
inc edi
mov ebx, ecx
mov ebp, eax
mov ecx, edi
mov eax, edx
mov edx, esi
jmp 0x56501b
xor edx, edx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], esi
cmp edx, ecx
jge 0x5653eb
jae 0x5653e4
shl edx, 3
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + edx]
mov ebx, dword [eax + edx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.004c0920
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov dword [ebx + edx + 4], ecx
mov ecx, dword [esp + 0x30]
lea ebp, [ebx + ecx*8]
mov esi, dword [0x77c810]
test esi, esi
jne 0x5653c7
mov dword [ebx + edx], eax
mov eax, dword [ebx + edx]
mov dword [esp + 0x4c], eax
mov edx, dword [ebx + edx + 4]
mov dword [esp + 0x3c], edx
test edx, edx
jne 0x56515e
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov esi, ebp
mov eax, dword [esp + 0x48]
mov ebp, edx
mov edx, edi
jmp 0x5650c3
mov dword [esp], eax
mov dword [esp + 4], edx
lea ebp, [0x64ac57]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.004c0f10
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5653b6
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x5653af
lea edx, [eax + 1]
cmp edx, ecx
ja 0x5653af
sub ecx, edx
lea ebx, [ecx - 1]
sar ebx, 0x1f
xor ebx, 0xffffffff
and edx, ebx
mov ebx, dword [esp + 0x4c]
add edx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00565c20
movzx eax, byte [esp + 8]
test al, al
je 0x565396
mov eax, dword [esp + 0x70]
test eax, eax
je 0x56522b
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x565200
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x565146
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00449cb0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x56522b
mov eax, dword [esp + 0x70]
jmp 0x5651e7
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00565b20
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
test al, al
jne 0x565276
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x565146
lea eax, [0x63a840]
mov dword [esp], eax
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x56537d
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x565364
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x38]
cmp edx, ebx
jg 0x565326
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
lea esi, [ebp + ecx*4]
mov edi, dword [0x77c810]
test edi, edi
jne 0x56530c
mov dword [ebp + ecx*4], eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, edx
mov edx, ebp
mov ebp, dword [esp + 0x38]
jmp 0x565146
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040d580
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
jmp 0x5652f7
lea ebp, [0x612480]
mov dword [esp], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00437350
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
jmp 0x5652d9
mov dword [esp], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x5652c6
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x5652a7
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x565146
call fcn.004246c0
ud2
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
xor ecx, ecx
xor edx, edx
jmp 0x5651b2
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x565127
call fcn.00424660
ud2
mov eax, esi
mov ecx, ebx
mov edx, ebp
jmp 0x56509a
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
add esp, 0x64
ret
lea eax, [0x6024e0]
mov dword [esp], eax
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
call fcn.00448420
jmp fcn.00564fa0