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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
push edi
mov edi, ecx
mov eax, dword [eax + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101556a0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012f80e
sqrtsd xmm0, xmm0
jmp 0x1012f813
call fcn.1007b800
movss xmm1, dword [0x101f4f6c]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x10157840]
divss xmm0, xmm1
movss dword [esp + 0x14], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x1020e618]
addss xmm0, dword [0x101df818]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012f85b
sqrtsd xmm0, xmm0
jmp 0x1012f860
call fcn.1007b800
cvtsd2ss xmm0, xmm0
sub esp, 0xc
lea ecx, [edi + 0x14]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
divss xmm0, dword [esp + 0x1c]
movss dword [esp], xmm0
push 1
call fcn.1011a550
movss xmm0, dword [esi + 8]
divss xmm0, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
mulss xmm0, dword [0x102071dc]
movss dword [esp + 0x18], xmm0
movsd xmm0, qword [0x10153e70]
call fcn.1007b3a0
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101577c4]
movss dword [esp + 0x14], xmm0
mulss xmm0, dword [esi + 0x10]
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.1007b630
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
call fcn.10148400
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
sub esp, 0xc
cvtpd2ps xmm0, xmm0
xorps xmm1, xmm1
addss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0xc]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012f93f
sqrtsd xmm0, xmm0
jmp 0x1012f944
call fcn.1007b800
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push 2
call fcn.1011a550
movss xmm0, dword [esi + 0x14]
divss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [esi + 0x1c]
movss dword [esp + 0x24], xmm0
mulss xmm0, dword [0x102071dc]
mulss xmm1, xmm0
cvtps2pd xmm0, xmm0
movss dword [esp + 0x14], xmm1
call fcn.1007b630
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
call fcn.10148400
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
sub esp, 0xc
cvtpd2ps xmm0, xmm0
xorps xmm1, xmm1
addss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x18]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012f9eb
sqrtsd xmm0, xmm0
jmp 0x1012f9f0
call fcn.1007b800
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x4c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push 2
call fcn.1011a550
movss xmm0, dword [esi + 0x24]
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012fa26
sqrtsd xmm0, xmm0
jmp 0x1012fa2b
call fcn.1007b800
movss xmm1, dword [0x101f4f6c]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x10157840]
divss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x1020e618]
addss xmm0, dword [0x101df818]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012fa73
sqrtsd xmm0, xmm0
jmp 0x1012fa78
call fcn.1007b800
cvtsd2ss xmm0, xmm0
sub esp, 0xc
lea ecx, [edi + 0x68]
movss xmm1, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x20]
divss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0
call fcn.1011a550
mov edx, dword [ebp + 0xc]
mov esi, 1
mov eax, dword [edx + 0x8c]
sub eax, dword [edx + 0x88]
sar eax, 0xc
cmp eax, esi
jbe 0x1012fb66
lea ecx, [edi + 0x9c]
mov eax, dword [edi + 0x1c]
lea ecx, [ecx + 0x7c]
mov dword [ecx - 0x80], eax
inc esi
mov eax, dword [edi + 0x20]
mov dword [ecx - 0x7c], eax
mov eax, dword [edi + 0x24]
mov dword [ecx - 0x78], eax
mov eax, dword [edi + 0x28]
mov dword [ecx - 0x74], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx - 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [ecx - 0x64], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx - 0x60], eax
mov eax, dword [edi + 0x40]
mov dword [ecx - 0x5c], eax
mov eax, dword [edi + 0x44]
mov dword [ecx - 0x58], eax
mov eax, dword [edi + 0x48]
mov dword [ecx - 0x54], eax
mov eax, dword [edi + 0x54]
mov dword [ecx - 0x48], eax
mov eax, dword [edi + 0x58]
mov dword [ecx - 0x44], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx - 0x40], eax
mov eax, dword [edi + 0x60]
mov dword [ecx - 0x3c], eax
mov eax, dword [edi + 0x64]
mov dword [ecx - 0x38], eax
mov eax, dword [edi + 0x70]
mov dword [ecx - 0x2c], eax
mov eax, dword [edi + 0x74]
mov dword [ecx - 0x28], eax
mov eax, dword [edi + 0x78]
mov dword [ecx - 0x24], eax
mov eax, dword [edi + 0x7c]
mov dword [ecx - 0x20], eax
mov eax, dword [edi + 0x80]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx + 0x8c]
sub eax, dword [edx + 0x88]
sar eax, 0xc
cmp esi, eax
jb 0x1012fad0
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ebx, dword [edx + 0x8c]
sub ebx, dword [edx + 0x88]
movss xmm1, dword [edx + 0x90]
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
sar ebx, 0xc
sar edx, 0xc
test ebx, ebx
je 0x1012fc22
mov ecx, dword [ebp + 0xc]
add edi, 0x88
add ecx, 0xc
mov dword [esp + 0x14], ecx
nop word [eax + eax]
xor eax, eax
mov dword [esp + 0x24], 0xffffffff
xorps xmm0, xmm0
test edx, edx
je 0x1012fc09
mov esi, dword [ecx]
mov ecx, dword [ebp + 0x14]
add ecx, 4
nop dword [eax]
cmp dword [ecx], esi
je 0x1012fbf6
inc eax
add ecx, 8
cmp eax, edx
jb 0x1012fbe0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
jmp 0x1012fc0c
mov ecx, dword [ebp + 0x14]
movaps xmm0, xmm1
mov esi, eax
mulss xmm0, dword [ecx + eax*8]
mov ecx, dword [esp + 0x14]
jmp 0x1012fc0c
or esi, 0xffffffff
mov dword [edi - 0x78], esi
add ecx, 8
movss dword [edi], xmm0
add edi, 0x7c
mov dword [esp + 0x14], ecx
sub ebx, 1
jne 0x1012fbc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14