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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5caaa7
sub esp, 0x6c
call fcn.0040cef0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x6c]
mov edx, dword [esp]
test ecx, ecx
je 0x5ca730
mov ebx, dword [eax + 0x70]
test ebx, ebx
je 0x5ca71c
mov ebp, dword [eax + 0x2bc]
cmp dword [ebp + 4], ebx
jae 0x5ca643
mov ecx, dword [0x7c3ca0]
mov dword [esp + 0x68], ecx
mov edx, dword [0x7c3ca4]
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 0x270]
mov dword [esp + 0x64], ebx
mov ebp, dword [eax + 0x274]
mov dword [esp + 0x34], ebp
xor esi, esi
jmp 0x5ca98b
mov dword [esp + 0x60], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0046754b
lea ecx, [0x60a080]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.004cc720
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
imul ecx, edx
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x98], eax
mov ebp, dword [ebx + 0x2ac]
add ebp, 0xfffffffc
cmp ebp, eax
jae 0x5ca6a9
mov ebp, dword [0x7c3d28]
mov esi, dword [0x7c3d2c]
xor edi, edi
jmp 0x5ca6e2
mov ebp, dword [ebx + 0x28c]
cmp ebp, eax
jb 0x5ca97f
mov esi, dword [ebx + 0x290]
sub ebp, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebp, 3
jbe 0x5ca973
mov edi, dword [ebx + 0x288]
mov edi, dword [edi + esi]
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x5ca710
cmp edi, 4
jbe 0x5ca6f8
lea edx, [ecx + edx + 4]
lea ebp, [edi + eax]
mov dword [esp + 0x44], ebp
jmp 0x5ca756
mov eax, dword [0x7c3d78]
mov ecx, dword [0x7c3d7c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x6c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [0x7c3d70]
mov ecx, dword [0x7c3d74]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
mov dword [edi], edx
mov esi, dword [esp + 0x44]
mov ebp, esi
mov edx, ebx
mov ebx, dword [esp + 0x70]
cmp edx, ebp
jae 0x5ca88a
mov dword [esp + 0x2c], edx
xor eax, eax
xor ecx, ecx
xor esi, esi
jmp 0x5ca922
mov ebp, dword [esp + 0x44]
test eax, eax
je 0x5ca88a
lea eax, [0x5f1300]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040f0f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [0x7f7690]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + ebx + 1]
test edx, edx
jne 0x5ca7ba
mov edx, dword [esp + 0x5c]
jmp 0x5ca7ca
call fcn.004672b0
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov dword [eax], edx
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + 0x94]
mov edi, dword [ebp + 0x90]
inc edi
mov eax, dword [ebp + 0x8c]
cmp esi, edi
jae 0x5ca857
mov dword [esp + 0x30], ebx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5eea60]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x94], eax
mov eax, dword [0x7f7690]
test eax, eax
je 0x5ca83d
call fcn.004672b0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x8c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x8c], ecx
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
mov edi, edx
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov dword [ebp + 0x90], edi
lea esi, [eax + edi*8 - 4]
mov dword [esi], ecx
mov esi, dword [0x7f7690]
lea edi, [eax + edi*8 - 8]
test esi, esi
je 0x5ca748
mov eax, edi
call fcn.004672b0
mov dword [edi], edx
mov esi, dword [eax]
mov dword [edi + 4], esi
mov edi, eax
jmp 0x5ca748
mov eax, dword [0x7f7690]
test eax, eax
jne 0x5ca89a
mov eax, dword [esp + 0x60]
jmp 0x5ca8ae
call fcn.004672b0
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov ecx, dword [ebx + 0x9c]
mov dword [edi + 4], ecx
mov dword [ebx + 0x9c], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov dword [esp], 0
mov dword [esp + 8], 0
xchg ebp, ebx
movzx eax, bl
xchg ebp, ebx
mov dword [esp + 4], eax
call fcn.00451a30
mov dword [esp], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.00451270
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
mov edx, ebx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], ecx
cmp eax, 0x50
jae 0x5ca779
lea edi, [eax + edx]
cmp dword [ebx + 0x2ac], edi
jbe 0x5ca771
mov ebp, dword [ebx + 0x28c]
cmp ebp, edi
jbe 0x5ca96a
mov ebp, dword [ebx + 0x288]
movzx ebp, byte [ebp + edi]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5ca8c8
jmp 0x5ca76d
mov eax, edi
mov ecx, ebp
call fcn.00467320
mov eax, 3
mov ecx, ebp
call fcn.00467310
mov ecx, ebp
call fcn.00467380
inc esi
mov eax, dword [esp + 0x70]
cmp esi, ebp
jge 0x5ca9e4
lea edi, [ebx + esi*8]
mov eax, dword [edi + 4]
cmp eax, edx
jne 0x5ca986
mov dword [esp + 0x40], esi
mov edx, dword [edi]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004034a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ca9ce
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
jmp 0x5ca986
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
jl 0x5caa8f
mov ebx, dword [eax + 0x278]
mov ebp, dword [eax + 0x274]
inc ebp
mov esi, dword [eax + 0x270]
cmp ebx, ebp
jae 0x5caa67
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5eea60]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x278], eax
mov eax, dword [0x7f7690]
test eax, eax
je 0x5caa53
call fcn.004672b0
mov dword [edi], ecx
mov eax, dword [ebx + 0x270]
mov dword [edi + 4], eax
mov dword [ebx + 0x270], ecx
mov eax, ebx
mov ebp, edx
mov esi, ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x274], ebp
lea eax, [esi + ebp*8 - 4]
mov dword [eax], edx
mov eax, dword [0x7f7690]
lea edx, [esi + ebp*8 - 8]
test eax, eax
je 0x5caa8d
call fcn.004672b0
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov eax, dword [0x7c3d80]
mov ecx, dword [0x7c3d84]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
call fcn.00465ea0
jmp fcn.005ca5d0