Function at 0x1009d850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x8c], eax
movss xmm3, dword [0x1021550c]
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 0x1009d8a3
movss xmm0, dword [0x102156dc]
comiss xmm0, xmm2
jbe 0x1009d8ab
addss xmm2, dword [0x102155d0]
jmp 0x1009d8ab
subss xmm2, dword [0x102155d0]
mov eax, dword [0x10240134]
movaps xmm1, xmm3
movss xmm0, dword [eax*4 + 0x10206124]
mulss xmm0, dword [0x10215258]
addss xmm0, dword [0x10215200]
mulss xmm0, dword [0x10215600]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm2
andps xmm0, xmmword [0x10215be0]
subss xmm1, xmm0
mulss xmm1, dword [0x1021542c]
divss xmm1, xmm3
subss xmm2, xmm1
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x102152b8]
movsd qword [esp + 0x28], xmm0
call fcn.101dd740
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x102152b8]
movsd qword [esp + 0x10], xmm0
call fcn.101dd740
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
movss dword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x10]
call fcn.101de9c0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x28]
call fcn.101de9c0
mov eax, dword [0x10242574]
lea edx, [esp + 0x28]
cvtsd2ss xmm0, xmm0
push edx
mov ecx, dword [eax]
xorps xmm0, xmmword [0x10215c10]
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 [0x10240134]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movss xmm1, dword [eax*4 + 0x10206124]
mulss xmm1, dword [0x1021543c]
mov dword [esp + 0x60], 0
subss xmm1, dword [0x1021543c]
addss xmm1, dword [edi + 8]
movss dword [edi + 8], xmm1
movq xmm0, qword [edi]
movss xmm1, dword [0x1021546c]
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.1009d7b0
movss xmm2, dword [0x10215410]
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 [0x10241d9c]
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 [0x10242574]
mov edi, dword [eax]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102426ec]
cmp eax, dword [ecx + 4]
jle 0x1009db16
push 0x102426ec
call fcn.101b6d6c
add esp, 4
cmp dword [0x102426ec], 0xffffffff
jne 0x1009db16
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x10242640]
movss xmm3, dword [esp + 0x24]
movss xmm1, dword [0x102152c4]
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.101b67d9
mov esp, ebp
pop ebp
ret