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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ca6e6
sub esp, 0x68
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005c7720
mov eax, dword [esp + 4]
cmp eax, 8
jne 0x5ca691
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x90]
test byte [ecx], al
mov ecx, dword [eax + 0x90]
and ecx, 8
mov dword [eax + 0x90], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x74]
test byte [ecx], al
lea edx, [esp + 0x60]
mov dword [esp], edx
lea ebx, [ecx + 0x1e3]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0x1d
call fcn.005cc9b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x5ca664
lea eax, [0x654380]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 4
call fcn.00437b60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + 0x182]
mov esi, 0x61
mov edi, 0x7e
jmp 0x5ca5e3
shl edx, 4
mov edi, dword [esp + 0x38]
mov dword [esi + edx], edi
mov edi, dword [esp + 0x3c]
mov dword [esi + edx + 4], edi
mov dword [esi + edx + 8], eax
mov dword [esi + edx + 0xc], ecx
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, ebp
mov ecx, ebx
mov edx, esi
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], edx
mov eax, 0xaaaaaaab
imul esi
add edx, esi
sar edx, 4
mov eax, esi
sar esi, 0x1f
sub edx, esi
mov esi, dword [esp + 0x48]
cmp esi, edx
jge 0x5ca55b
lea esi, [esi + esi*2]
shl esi, 3
cmp esi, eax
ja 0x5ca6df
sub eax, esi
sub edi, esi
mov dword [esp + 0x34], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and esi, edi
lea edi, [ebp + esi]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc
jb 0x5ca6d8
movzx esi, byte [ebp + esi]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5ca55b
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], edi
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], ecx
call fcn.005cc9b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
cmp edx, 0xc
jb 0x5ca6d1
mov edx, dword [esp + 0x34]
add edx, 0xfffffff4
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0xc
mov ebp, dword [esp + 0x54]
add edx, ebp
cmp ebx, 0xc
jb 0x5ca6d1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], ebx
call fcn.005cc9b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x5ca52e
mov edx, dword [esp + 0x20]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
jg 0x5ca4e4
mov esi, dword [esp + 0x5c]
jmp 0x5ca38e
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x654380]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00437ce0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
jmp 0x5ca38e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
add esp, 0x68
ret
lea eax, [edx + edx*2]
shl eax, 3
mov ecx, dword [esp + 0x28]
cmp eax, ecx
ja 0x5ca6ca
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
cmp edx, 1
jb 0x5ca6ca
movzx eax, byte [ebp + eax]
test al, al
jbe 0x5ca62f
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x200
mov dword [esp + 0x10], 0x200
call fcn.005cc110
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5ca602
mov ebx, dword [esp + 0x74]
mov esi, 0x200
mov edi, 0x200
mov ebp, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
jmp 0x5ca3cf
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x68
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
mov eax, dword [0x86fb6c]
mov ecx, dword [0x86fb68]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.00449d70
jmp fcn.005ca2a0