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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x100cd008]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x48], edx
push edi
lea ecx, [esp + 0xc8]
mov dword [esp + 0x48], eax
call fcn.1002a140
lea eax, [esp + 0x80]
push eax
lea ecx, [esi + 0x60]
lea edx, [esp + 0xcc]
call fcn.10017640
movsd xmm3, qword [esp + 0x94]
lea ebx, [esi + 0x40]
movsd xmm4, qword [esp + 0x8c]
add esp, 4
movsd xmm5, qword [esp + 0x80]
xorps xmm0, xmm0
xorps xmm2, xmm2
xorps xmm6, xmm6
mov edi, 2
jmp 0x10059d6c
movsd xmm2, qword [esp + 0x30]
movsd xmm6, qword [esp + 0x38]
subsd xmm5, xmm0
xorps xmm1, xmm1
subsd xmm4, xmm2
subsd xmm3, xmm6
movaps xmm0, xmm5
movsd qword [esp + 0x18], xmm5
mulsd xmm0, xmm5
movsd qword [esp + 0x10], xmm4
movsd qword [esp + 0x20], xmm3
addsd xmm0, xmm1
movaps xmm1, xmm4
mulsd xmm1, xmm4
addsd xmm0, xmm1
movaps xmm1, xmm3
mulsd xmm1, xmm3
addsd xmm0, xmm1
call fcn.100748a0
movsd xmm1, qword [esp + 0x18]
lea eax, [esp + 0x98]
movsd xmm3, qword [esp + 0x10]
movsd xmm2, qword [esp + 0x20]
divsd xmm1, xmm0
push eax
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push eax
push 0x167
divsd xmm3, xmm0
divsd xmm2, xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0x30], xmm0
call fcn.1000e420
movsd xmm0, qword [esp + 0xb0]
add esp, 0x18
subsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x80]
movsd xmm3, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x90]
subsd xmm1, xmm0
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0xa0]
subsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x10], xmm1
subsd xmm3, xmm0
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esp + 0xa8]
subsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x18], xmm3
subsd xmm2, xmm0
movsd qword [esp + 0x38], xmm0
movaps xmm0, xmm1
mulsd xmm0, xmm1
xorps xmm1, xmm1
movsd qword [esp + 0x20], xmm2
movsd qword [esp + 0x28], xmm2
addsd xmm0, xmm1
movaps xmm1, xmm3
mulsd xmm1, xmm3
addsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm2
addsd xmm0, xmm1
call fcn.100748a0
movsd xmm1, qword [esp + 0x10]
movsd xmm2, qword [esp + 0x18]
movsd xmm6, qword [esp + 0x20]
divsd xmm1, xmm0
divsd xmm2, xmm0
divsd xmm6, xmm0
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 0x18], xmm2
movsd qword [esp + 0x20], xmm6
movsd xmm3, qword [esp + 0x90]
movsd xmm4, qword [esp + 0x88]
movsd xmm5, qword [esp + 0x80]
movsd xmm0, qword [esp + 0x40]
sub edi, 1
jne 0x10059d60
xorps xmm4, xmm4
xorps xmm0, xmm0
xorps xmm3, xmm3
xorps xmm5, xmm5
mov edi, 5
nop dword [eax]
subsd xmm1, xmm0
subsd xmm2, xmm3
movaps xmm3, xmm6
subsd xmm3, xmm5
movaps xmm0, xmm1
movsd qword [esp + 0x40], xmm1
mulsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm2
movsd qword [esp + 0x38], xmm2
addsd xmm0, xmm4
movsd qword [esp + 0x30], xmm3
addsd xmm0, xmm1
movaps xmm1, xmm3
mulsd xmm1, xmm3
addsd xmm0, xmm1
call fcn.100748a0
movsd xmm1, qword [esp + 0x40]
lea eax, [esp + 0x98]
divsd xmm1, xmm0
lea edx, [esi + 0x20]
lea ecx, [esp + 0x68]
push eax
movsd xmm2, qword [esi + 0x38]
movsd qword [esp + 0x6c], xmm1
movsd xmm1, qword [esp + 0x3c]
divsd xmm1, xmm0
movsd qword [esp + 0x74], xmm1
movsd xmm1, qword [esp + 0x34]
divsd xmm1, xmm0
movsd qword [esp + 0x7c], xmm1
call fcn.10043e60
movsd xmm0, qword [esp + 0x9c]
add esp, 4
subsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x10]
movsd xmm3, qword [esp + 0x18]
movsd xmm2, qword [esp + 0x20]
subsd xmm1, xmm0
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0xa0]
subsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x40], xmm1
subsd xmm3, xmm0
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0xa8]
subsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x38], xmm3
subsd xmm2, xmm0
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm1
mulsd xmm0, xmm1
xorps xmm1, xmm1
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x28], xmm2
addsd xmm0, xmm1
movaps xmm1, xmm3
mulsd xmm1, xmm3
addsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm2
addsd xmm0, xmm1
call fcn.100748a0
movsd xmm1, qword [esp + 0x40]
xorps xmm4, xmm4
movsd xmm3, qword [esp + 0x60]
movsd xmm5, qword [esp + 0x50]
movsd xmm6, qword [esp + 0x20]
movsd xmm2, qword [esp + 0x18]
divsd xmm1, xmm0
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esp + 0x38]
divsd xmm1, xmm0
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [esp + 0x30]
divsd xmm1, xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [esp + 0x10]
sub edi, 1
jne 0x10059f40
push 0xfb
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x54]
call fcn.10031cb0
movsd xmm0, qword [esp + 0x38]
lea eax, [esp + 0x60]
push 0
push 0x10c
push eax
push 0
movsd qword [esp + 0x70], xmm0
call fcn.1003fdf0
mov ecx, dword [esp + 0x104]
add esp, 0x20
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
movsd xmm0, qword [esp + 0x28]
pop edi
pop esi
pop ebx
xor ecx, esp
movsd qword [eax], xmm0
call fcn.10062dbb
mov esp, ebp
pop ebp
ret