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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x681599
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.0064dc20
lea ecx, [esp + 0x80]
call fcn.0064dc20
lea ecx, [esp + 0x38]
call fcn.0064dc20
lea ecx, [esp + 0x50]
call fcn.0064dc20
lea ecx, [esp + 0x14]
call fcn.004ea1f0
xor edi, edi
mov esi, 0x69debc
push 0xa
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x108], edi
mov dword [esp + 0x1c], esi
call fcn.0048b670
mov ebx, dword [ebp + 8]
mov dword [esp + 0x100], 1
mov eax, dword [ebx + 8]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x5ca0ba
lea ecx, [esp + 0x14]
mov dword [esp + 0x100], 0xffffffff
mov dword [esp + 0x14], esi
call fcn.0049ce30
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x5ca0eb
mov eax, dword [ebx + 4]
push edi
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x68]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.0048b670
mov eax, dword [esp + 0x18]
mov dword [eax + edi*4], esi
jmp 0x5ca39d
test eax, eax
jle 0x5ca39d
jmp 0x5ca0f8
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x30], 0
mov esi, dword [ecx + edi*4]
mov dword [esp + 0x34], 0x4197d784
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x7c], edx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea ecx, [edi - 1]
mov dword [esp + 0x90], edx
test ecx, ecx
mov dword [esp + 0x94], eax
jl 0x5ca1a3
mov edx, dword [ebx + 4]
mov ebx, dword [edx + edi*4 - 4]
jmp 0x5ca1aa
mov eax, dword [ebx + 4]
mov ebx, dword [eax + edi*4 + 4]
mov edx, dword [ebx]
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0xe0]
mov dword [esp + 0x4c], edx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x38]
lea edx, [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x6c], eax
call fcn.0064def0
fcom qword [0x69dc10]
add esp, 8
fnstsw ax
test ah, 1
je 0x5ca24a
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], 0
jmp 0x5ca24c
fstp st(0)
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.0064def0
fcom qword [esp + 0x34]
add esp, 8
fnstsw ax
test ah, 1
je 0x5ca277
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], 0
jmp 0x5ca279
fstp st(0)
lea edx, [esp + 0x38]
lea eax, [esp + 0x80]
push edx
push eax
call fcn.0064def0
fcom qword [esp + 0x34]
add esp, 8
fnstsw ax
test ah, 1
je 0x5ca2a7
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], 1
jmp 0x5ca2a9
fstp st(0)
lea ecx, [esp + 0x50]
lea edx, [esp + 0x80]
push ecx
push edx
call fcn.0064def0
fcomp qword [esp + 0x34]
add esp, 8
fnstsw ax
test ah, 1
je 0x5ca2e3
mov dword [esp + 0x28], 1
cmp dword [esi + 0x10], 4
je 0x5ca340
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x164]
jmp 0x5ca349
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5ca2d1
cmp dword [esi + 0x10], 4
je 0x5ca2fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
jmp 0x5ca306
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov esi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.0048b670
mov eax, dword [esp + 0x18]
test edi, edi
mov dword [eax + esi*4], ebx
jne 0x5ca390
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov edx, 3
sub edx, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
jmp 0x5ca383
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov esi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.0048b670
mov ecx, dword [esp + 0x18]
test edi, edi
mov dword [ecx + esi*4], ebx
je 0x5ca390
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi*4]
mov edx, 3
sub edx, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 0x18]
mov ecx, 3
sub ecx, edx
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x5ca0f5
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ebx, eax
cmp eax, 1
mov dword [esp + 0x10], ebx
jne 0x5ca3c1
mov edx, dword [esp + 0x18]
push edi
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov edi, eax
jmp 0x5ca494
jle 0x5ca494
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
call fcn.00500c50
mov edi, 1
mov esi, eax
cmp ebx, edi
jle 0x5ca456
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + edi*4]
call fcn.00500c50
mov ebx, eax
push ebx
push esi
call fcn.004fd780
add esp, 8
test eax, eax
push ebx
push esi
je 0x5ca402
call fcn.004f8d30
jmp 0x5ca407
call fcn.004f95a0
mov esi, eax
add esp, 8
test esi, esi
je 0x5ca41b
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x5ca3dd
jmp 0x5ca45a
mov dword [esp + 0x14], 0x69dea8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x100], 2
test eax, eax
je 0x5ca43f
push eax
call fcn.0065e732
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
push 0x88
call fcn.0065e5d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x100], 3
je 0x5ca480
mov ecx, eax
call fcn.005009b0
jmp 0x5ca482
xor eax, eax
push esi
mov ecx, eax
mov byte [esp + 0x104], 1
mov edi, eax
call fcn.00500c60
mov eax, dword [ebp + 0x10]
cmp eax, 2
jl 0x5ca4a3
test edi, edi
je 0x5ca4a3
push eax
jmp 0x5ca4a5
push 0xa
mov ecx, edi
call fcn.00500f30
mov eax, dword [esp + 0x1c]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov eax, dword [esp + 0x18]
jle 0x5ca4d7
mov ecx, dword [eax + esi*4]
cmp ecx, ebx
je 0x5ca4ce
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, ecx
jl 0x5ca4bc
cmp eax, ebx
mov dword [esp + 0x24], 0xa
je 0x5ca4f2
push eax
call fcn.0065e732
add esp, 4
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0x69dea8
cmp eax, ebx
mov dword [esp + 0x100], 4
je 0x5ca51a
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0xf8]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret