Function at 0x1009f180
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 + 0x100fb3c0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1009f1ce
sqrtsd xmm0, xmm0
jmp 0x1009f1d3
call fcn.100cf850
movss xmm1, dword [0x1010452c]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x100fb364]
divss xmm0, xmm1
movss dword [esp + 0x14], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x1010b338]
addss xmm0, dword [0x10104568]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1009f21b
sqrtsd xmm0, xmm0
jmp 0x1009f220
call fcn.100cf850
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.100b25c0
movss xmm0, dword [esi + 8]
divss xmm0, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
mulss xmm0, dword [0x1010458c]
movss dword [esp + 0x18], xmm0
movsd xmm0, qword [0x100fb370]
call fcn.100d1c60
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100fb358]
movss dword [esp + 0x14], xmm0
mulss xmm0, dword [esi + 0x10]
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.100cf680
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.100d2ca0
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 0x1009f2ff
sqrtsd xmm0, xmm0
jmp 0x1009f304
call fcn.100cf850
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.100b25c0
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 [0x1010458c]
mulss xmm1, xmm0
cvtps2pd xmm0, xmm0
movss dword [esp + 0x14], xmm1
call fcn.100cf680
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.100d2ca0
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 0x1009f3ab
sqrtsd xmm0, xmm0
jmp 0x1009f3b0
call fcn.100cf850
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.100b25c0
movss xmm0, dword [esi + 0x24]
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1009f3e6
sqrtsd xmm0, xmm0
jmp 0x1009f3eb
call fcn.100cf850
movss xmm1, dword [0x1010452c]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x100fb364]
divss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x1010b338]
addss xmm0, dword [0x10104568]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1009f433
sqrtsd xmm0, xmm0
jmp 0x1009f438
call fcn.100cf850
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.100b25c0
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 0x1009f526
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 0x1009f490
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 0x1009f5e2
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 0x1009f5c9
mov esi, dword [ecx]
mov ecx, dword [ebp + 0x14]
add ecx, 4
nop dword [eax]
cmp dword [ecx], esi
je 0x1009f5b6
inc eax
add ecx, 8
cmp eax, edx
jb 0x1009f5a0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
jmp 0x1009f5cc
mov ecx, dword [ebp + 0x14]
movaps xmm0, xmm1
mov esi, eax
mulss xmm0, dword [ecx + eax*8]
mov ecx, dword [esp + 0x14]
jmp 0x1009f5cc
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 0x1009f580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14