Function at 0x1009da20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x8c], eax
movss xmm3, dword [0x102146bc]
movaps xmm2, xmm0
comiss xmm3, xmm2
push esi
push edi
mov esi, edx
mov edi, ecx
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x10], xmm0
jb 0x1009da73
movss xmm0, dword [0x1021488c]
comiss xmm0, xmm2
jbe 0x1009da7b
addss xmm2, dword [0x10214780]
jmp 0x1009da7b
subss xmm2, dword [0x10214780]
mov eax, dword [0x1023f134]
movaps xmm1, xmm3
movss xmm0, dword [eax*4 + 0x10205124]
mulss xmm0, dword [0x10214408]
addss xmm0, dword [0x102143b0]
mulss xmm0, dword [0x102147b0]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm2
andps xmm0, xmmword [0x10214dd0]
subss xmm1, xmm0
mulss xmm1, dword [0x102145dc]
divss xmm1, xmm3
subss xmm2, xmm1
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x10214468]
movsd qword [esp + 0x28], xmm0
call fcn.101dc1e0
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x10214468]
movsd qword [esp + 0x10], xmm0
call fcn.101dc1e0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
movss dword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x10]
call fcn.101dd460
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x28]
call fcn.101dd460
mov eax, dword [0x10241574]
lea edx, [esp + 0x28]
cvtsd2ss xmm0, xmm0
push edx
mov ecx, dword [eax]
xorps xmm0, xmmword [0x10214e00]
mov eax, dword [ecx]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x2a4]
call eax
movq xmm0, qword [esp + 0x28]
lea edx, [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, edi
movq qword [edi], xmm0
xorps xmm0, xmm0
mov dword [edi + 8], eax
mov eax, dword [0x1023f134]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movss xmm1, dword [eax*4 + 0x10205124]
mulss xmm1, dword [0x102145ec]
mov dword [esp + 0x60], 0
subss xmm1, dword [0x102145ec]
addss xmm1, dword [edi + 8]
movss dword [edi + 8], xmm1
movq xmm0, qword [edi]
movss xmm1, dword [0x1021461c]
movq qword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm1
mov eax, dword [edi + 8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
push eax
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
call fcn.1009d980
movss xmm2, dword [0x102145c0]
movss xmm1, dword [esp + 0xc]
movq xmm0, qword [esp + 0x44]
mov eax, dword [esp + 0x4c]
movq qword [edi], xmm0
mov dword [edi + 8], eax
movss xmm0, dword [edi]
mulss xmm1, xmm2
mov ecx, dword [0x10240d9c]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x10]
mulss xmm1, xmm2
movss dword [edi], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, xmm1
movss xmm1, dword [esp + 8]
mulss xmm1, xmm2
movss dword [edi + 4], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, xmm1
movss dword [edi + 8], xmm0
mov eax, dword [0x10241574]
mov edi, dword [eax]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102416ec]
cmp eax, dword [ecx + 4]
jle 0x1009dce6
push 0x102416ec
call fcn.101b57fd
add esp, 4
cmp dword [0x102416ec], 0xffffffff
jne 0x1009dce6
mov edx, 0xc60bf9f2
mov ecx, 0x1020360d
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416ec
mov dword [0x10241640], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x10241640]
movss xmm3, dword [esp + 0x24]
movss xmm1, dword [0x10214474]
movss xmm2, dword [esp + 0xc]
movq xmm0, qword [eax + edi]
movq qword [esi], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 8], eax
movss xmm0, dword [esi]
mulss xmm2, xmm3
mov ecx, dword [esp + 0x94]
mulss xmm0, xmm1
pop edi
addss xmm2, xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, xmm1
movss dword [esi], xmm2
movss xmm2, dword [esp + 0xc]
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, xmm1
movss dword [esi + 4], xmm2
movss xmm2, dword [esp + 4]
mulss xmm2, xmm3
addss xmm2, xmm0
movss dword [esi + 8], xmm2
pop esi
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret