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

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xec]
mov ebp, dword [esp + 0xf0]
mov eax, dword [esi + 0x14]
push edi
mov edx, dword [ecx]
add eax, 0x48
mov dword [esp + 0x10], esi
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0x14]
mov ecx, ebp
mov byte [edx + 0x78], 1
mov eax, dword [ebp]
call dword [eax + 0x34]
mov edi, dword [esp + 0xfc]
mov ebx, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x34]
cmp ebx, eax
jge 0x5ca897
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x34]
jmp 0x5ca89e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
mov edi, 1
cmp eax, edi
jle 0x5cab16
mov dword [esp + 0x18], 0xb0
jmp 0x5ca8c0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
add ebx, eax
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 0x48]
lea eax, [ebx + 0x18]
push esi
add ecx, 0x48
push eax
push ecx
call fcn.005f5ec0
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp edi, eax
jge 0x5caae8
mov eax, dword [esp + 0xf8]
mov edx, dword [ebp]
push eax
lea ecx, [esp + 0x30]
push edi
push ecx
mov ecx, ebp
call dword [edx + 0x1c]
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
push eax
lea eax, [esp + 0x48]
mov edx, dword [ecx]
push edi
push eax
call dword [edx + 0x1c]
fld dword [esp + 0x44]
fmul dword [esp + 0x104]
mov ecx, dword [esp + 0x10]
fld dword [esp + 0x48]
fmul dword [esp + 0x104]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x3c]
fld dword [esp + 0x4c]
fmul dword [esp + 0x104]
fstp dword [esp + 0x40]
fld dword [esp + 0x104]
fsubr qword [0x7cd7b8]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x28]
fstp st(0)
fadd dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x54]
fld dword [esp + 0x28]
fadd dword [esp + 0x40]
fstp dword [esp + 0x58]
fmul dword [esp + 0x14]
fld dword [esp + 0x54]
fmul dword [esp + 0x14]
fld dword [esp + 0x58]
fmul dword [esp + 0x14]
fld st(0)
fmul dword [esi + 8]
fld st(2)
fmul dword [esi + 4]
faddp st(1)
fld st(3)
fmul dword [esi]
faddp st(1)
fadd dword [esi + 0xc]
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x7c]
push ecx
push edi
push edx
mov ecx, ebp
fstp dword [esi + 0xc]
fld st(0)
fmul dword [esi + 0x18]
fld st(2)
fmul dword [esi + 0x14]
faddp st(1)
fld st(3)
fmul dword [esi + 0x10]
faddp st(1)
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
fmul dword [esi + 0x28]
fxch st(1)
fmul dword [esi + 0x24]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x20]
faddp st(1)
fadd dword [esi + 0x2c]
fstp dword [esi + 0x2c]
mov eax, dword [ebp]
call dword [eax + 0x24]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
push edx
lea edx, [esp + 0x60]
mov eax, dword [ecx]
push edi
push edx
call dword [eax + 0x24]
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
call fcn.005f6ce0
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.005f78c0
push eax
lea eax, [esp + 0xd8]
push esi
push eax
call fcn.004e7c80
mov ecx, dword [eax]
add esp, 0x24
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x2c], edx
mov ecx, dword [esp + 0xf8]
mov eax, dword [ebp]
push ecx
push edi
mov ecx, ebp
call dword [eax + 0x30]
test al, al
jne 0x5caae0
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x100]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x30]
test al, al
jne 0x5caae0
xor eax, eax
jmp 0x5caae5
mov eax, 1
mov byte [ebx + 0x78], al
mov al, byte [ebx + 0x79]
test al, al
je 0x5caafa
mov ecx, ebx
call fcn.005d4c90
mov byte [ebx + 0x78], 1
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 0xb0
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
cmp edi, dword [ecx + 0x10]
jl 0x5ca8bc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0x18