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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, ecx
movss dword [esp + 4], xmm3
push edi
mov edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4019a0
mov eax, dword [ebp + 0xc]
movss xmm1, dword [esi + 4]
movss dword [esp + 0xc], xmm1
movss xmm0, dword [eax]
subss xmm1, xmm0
movaps xmmword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0xc]
subss xmm0, dword [eax + 8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x40197f
sqrtsd xmm0, xmm0
jmp 0x401984
call fcn.004c5db0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movss xmm0, dword [0x4f3c90]
comiss xmm0, xmm6
jbe 0x4019b8
mov eax, dword [esi + 0x14]
add dword [edi], eax
mov byte [esi], 0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x24], 0
movss xmm4, dword [0x4f3cd0]
jne 0x401a56
movss xmm0, dword [esp + 8]
comiss xmm0, xmm6
jbe 0x4019f0
movq xmm0, qword [esi + 4]
mov eax, dword [esi + 0xc]
movq qword [esi + 0x18], xmm0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], eax
movss xmm3, dword [0x4f4160]
movss xmm0, dword [esp + 0xc]
comiss xmm3, xmm0
movss xmm1, dword [0x4f3be8]
movss xmm2, dword [0x4f3f24]
jbe 0x401a19
addss xmm0, xmm1
jmp 0x401a22
comiss xmm0, xmm2
jbe 0x401a27
subss xmm0, xmm1
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 0xc]
comiss xmm3, xmm0
jbe 0x401a3f
addss xmm0, xmm1
movss dword [esi + 0xc], xmm0
jmp 0x401ae5
comiss xmm0, xmm2
jbe 0x401ae5
subss xmm0, xmm1
movss dword [esi + 0xc], xmm0
jmp 0x401ae5
movss xmm3, dword [esi + 0x28]
movaps xmm2, xmm4
comiss xmm4, xmm3
mov eax, dword [ebp + 0xc]
movaps xmm5, xmmword [esp + 0x10]
subss xmm2, xmm3
mulss xmm5, xmm3
movaps xmm0, xmm2
movaps xmm1, xmm2
mulss xmm0, dword [esi + 0x18]
mulss xmm1, dword [esi + 0x1c]
mulss xmm2, dword [esi + 0x20]
addss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 4]
addss xmm1, xmm0
movss xmm0, dword [eax + 8]
mulss xmm0, xmm3
addss xmm2, xmm0
unpcklps xmm5, xmm1
movq qword [esi + 4], xmm5
movss dword [esp + 0x18], xmm2
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jbe 0x401ac7
addss xmm3, dword [0x4f3be8]
comiss xmm3, xmm4
jmp 0x401ad7
comiss xmm3, xmm4
jbe 0x401ae5
subss xmm3, dword [0x4f3be8]
comiss xmm4, xmm3
movss dword [esi + 0x28], xmm3
jbe 0x401ae5
mov dword [esi + 0x28], 0x3f800000
movss xmm0, dword [0x4f3e84]
comiss xmm0, xmm6
jbe 0x401c58
movss xmm4, dword [esi + 0xc]
movss xmm2, dword [0x4f3c74]
movaps xmm0, xmm4
movzx eax, byte [esi + 0x10]
addss xmm0, xmm2
movss xmm3, dword [esi + 4]
subss xmm4, xmm2
movss xmm5, dword [esi + 8]
movaps xmm1, xmm3
subss xmm1, xmm2
mov dword [esp + 0x94], 0x3f800000
movss xmm6, dword [eax*4 + 0x4dc2fc]
addss xmm3, xmm2
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm6
addss xmm0, dword [0x4f3c54]
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0x3f800000
movss dword [esp + 0x28], xmm1
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xb0], xmm0
movups xmm0, xmmword [esp + 0x88]
mov dword [esp + 0x9c], 0
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x98], xmm6
mov dword [esp + 0xa4], 0
movss dword [esp + 0xa8], xmm6
mov dword [esp + 0xac], 0x3e800000
mov dword [esp + 0xb4], 0x3e800000
movups xmmword [esp + 0x78], xmm0
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x58], xmm0
call fcn.0042dc50
cmp byte [eax + 0x474], 6
jbe 0x401c58
mov edx, dword [eax + 0x470]
movzx eax, word [edx + 0x1094]
cmp ax, word [edx + 0x1096]
jae 0x401c58
lea edi, [eax + eax*8]
mov ecx, 0x24
shl edi, 4
lea esi, [esp + 0x28]
add edi, dword [edx + 0x1090]
rep movsd dword es:[edi], dword [esi]
inc word [edx + 0x1094]
mov ecx, dword [esp + 0xbc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc