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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x748068]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x84]
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xb4]
push edi
movss xmm0, dword [esi + 0x3c]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esi + 0x40]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 4]
lea eax, [esp + 0x14]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [ecx]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [ecx + 4]
lea ecx, [esp + 0x74]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [ebp]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [ebp + 4]
push eax
movss dword [esp + 0x94], xmm0
call fcn.0059a9d0
mov edi, eax
add esp, 4
test edi, edi
je 0x59cc43
cmp edi, 1
je 0x59cc43
lea ecx, [edi - 3]
cmp ecx, 2
mov ecx, esi
ja 0x59c9e8
lea eax, [esp + 0x94]
push eax
call fcn.0059a3b0
mov ebx, dword [esi + 0x58]
mov dword [esi + 0x58], 0x5db410
cmp edi, 4
jl 0x59c9c4
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
call fcn.0059a3b0
cmp edi, 5
jne 0x59c9d8
lea eax, [esp + 0xa4]
mov ecx, esi
push eax
call fcn.0059a3b0
push ebp
mov ecx, esi
call fcn.0059a3b0
mov dword [esi + 0x58], ebx
jmp 0x59cc4b
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
call fcn.00599d80
test al, al
je 0x59cc43
movss xmm3, dword [esp + 0x74]
lea ecx, [esp + 0x24]
movss xmm0, dword [esp + 0x7c]
movss xmm6, dword [esp + 0x84]
subss xmm0, xmm3
movss xmm5, dword [esp + 0x88]
movss xmm4, dword [esp + 0x78]
movss xmm7, dword [esp + 0x80]
subss xmm7, xmm4
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x7c]
mulss xmm0, dword [0x6f2c38]
subss xmm6, xmm0
movss xmm0, dword [esp + 0x80]
mulss xmm0, dword [0x6f2c38]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x84]
addss xmm6, xmm3
addss xmm5, xmm4
movaps xmm2, xmm0
mulss xmm2, dword [0x6f2ce8]
movaps xmm0, xmm6
mulss xmm0, xmm7
addss xmm2, dword [esp + 0x8c]
subss xmm2, xmm3
movss dword [esp + 0x10], xmm2
movss xmm2, dword [esp + 0x80]
subss xmm2, dword [esp + 0x88]
mulss xmm2, dword [0x6f2ce8]
addss xmm2, dword [esp + 0x90]
subss xmm2, xmm4
movss xmm4, dword [esp + 0x10]
movaps xmm3, xmm4
mulss xmm4, xmm5
mulss xmm3, xmm7
movss dword [esp + 0x1c], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x14]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm0
mulss xmm0, xmm6
mulss xmm1, dword [esp + 0x14]
subss xmm0, xmm4
subss xmm1, xmm3
call fcn.005739e0
mov ebx, eax
xorps xmm2, xmm2
xor edi, edi
movss dword [esp + 0x14], xmm2
test ebx, ebx
js 0x59cbf3
cmp edi, ebx
jge 0x59cb33
movss xmm1, dword [esp + edi*4 + 0x24]
jmp 0x59cb3b
movss xmm1, dword [0x6f2b58]
movaps xmm0, xmm1
movss dword [esp + 0x10], xmm1
addss xmm0, xmm2
mov dword [esi + 0x80], 1
lea eax, [esp + 0x3c]
mov byte [esi + 0x88], 0
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x68], xmm2
push eax
mulss xmm0, dword [0x6f2b28]
mov ecx, esi
mov word [esp + 0x78], 0
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x70], xmm0
call fcn.0059c020
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x3c]
movss dword [esp + 0x64], xmm0
mov ecx, esi
movss xmm0, dword [esp + 0x1c]
push eax
movss dword [esp + 0x6c], xmm0
lea eax, [esp + 0x78]
movss xmm0, dword [esp + 0x14]
push eax
mov dword [esi + 0x80], 0xffffffff
mov byte [esi + 0x88], 0
movss dword [esp + 0x74], xmm0
mov word [esp + 0x78], 0
call fcn.0059c020
movss xmm2, dword [esp + 0x10]
inc edi
movss dword [esp + 0x14], xmm2
cmp edi, ebx
jle 0x59cb29
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0059a5b0
mov eax, dword [ebp]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 4]
inc dword [esi + 0x4c]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x20], eax
jmp 0x59cc4b
push ebp
mov ecx, esi
call fcn.0059a3b0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0064fb08
add esp, 0xa0
ret 0xc