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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x8815d0]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [edi + 0x30]
xchg dword [eax], esi
test esi, esi
jne 0x4a08b0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00432bfc
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esi + 4]
xorps xmm5, xmm5
movss xmm1, dword [esi + 8]
mov eax, dword [esi]
mov dword [edi + 0x40], eax
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
movss xmm0, dword [0x870be8]
movss dword [esp + 0x14], xmm0
mov dword [edi + 0x4c], 0x3f800000
movss xmm0, dword [esi + 0x18]
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [0x5b89a4]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm0
movss xmm0, dword [esi + 0x20]
mulss xmm0, xmm0
movss dword [esp + 0x20], xmm2
addss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x4a0972
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4a092d
sqrtsd xmm0, xmm0
jmp 0x4a0932
call fcn.0043e5b0
movss xmm1, dword [esp + 0x14]
xorps xmm5, xmm5
cvtsd2ss xmm0, xmm0
movss xmm2, dword [esp + 0x20]
divss xmm1, xmm0
movaps xmm3, xmm1
mulss xmm3, dword [esi + 0x18]
movss dword [esp + 0x1c], xmm3
movaps xmm3, xmm1
mulss xmm3, dword [esi + 0x1c]
mulss xmm1, dword [esi + 0x20]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x2c], xmm1
jmp 0x4a0984
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x1c], xmm5
movss xmm0, dword [esi + 0x24]
movss xmm1, dword [esi + 0x28]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esi + 0x2c]
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x4a09eb
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4a09be
sqrtsd xmm0, xmm0
jmp 0x4a09c3
call fcn.0043e5b0
movss xmm7, dword [esp + 0x14]
xorps xmm5, xmm5
cvtsd2ss xmm0, xmm0
divss xmm7, xmm0
movaps xmm3, xmm7
movaps xmm1, xmm7
mulss xmm3, dword [esi + 0x24]
mulss xmm1, dword [esi + 0x28]
mulss xmm7, dword [esi + 0x2c]
jmp 0x4a09f4
xorps xmm7, xmm7
xorps xmm1, xmm1
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x18]
movaps xmm0, xmm1
movss xmm6, dword [esp + 0x2c]
movaps xmm4, xmm1
mulss xmm4, dword [esp + 0x1c]
mulss xmm0, xmm6
mulss xmm2, xmm7
movss dword [esp + 0x24], xmm3
mulss xmm3, xmm6
subss xmm2, xmm0
movss dword [esp + 0x30], xmm1
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm7
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x28], xmm2
subss xmm3, xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x18]
subss xmm4, xmm0
movss dword [esp + 0x38], xmm3
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esp + 0x3c], xmm4
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm1, xmm0
comiss xmm1, dword [esp + 0x20]
jbe 0x4a0ad0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4a0a94
sqrtsd xmm0, xmm0
jmp 0x4a0a99
call fcn.0043e5b0
movss xmm1, dword [esp + 0x14]
xorps xmm5, xmm5
cvtsd2ss xmm0, xmm0
movss xmm6, dword [esp + 0x2c]
divss xmm1, xmm0
movss xmm7, dword [esp + 0x34]
movaps xmm0, xmm1
movaps xmm3, xmm1
mulss xmm0, dword [esp + 0x28]
mulss xmm3, dword [esp + 0x38]
mulss xmm1, dword [esp + 0x3c]
jmp 0x4a0ad9
xorps xmm1, xmm1
xorps xmm3, xmm3
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [0x511aa0]
xorps xmm2, xmm0
movss dword [esp + 0x70], xmm1
xorps xmm6, xmm0
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x14], xmm1
movaps xmm1, xmmword [0x5b0420]
movaps xmmword [esp + 0x80], xmm1
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [esp + 0x30]
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0x18]
xorps xmm2, xmm0
mov dword [esp + 0x5c], 0
movups xmm0, xmmword [esp + 0x50]
mov dword [esp + 0x6c], 0
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x74], xmm7
movss dword [esp + 0x78], xmm6
mov dword [esp + 0x7c], 0
movss xmm4, dword [esi + 0x10]
movss dword [esp + 0x28], xmm3
movss xmm3, dword [esi + 0xc]
movss dword [esp + 0x18], xmm2
movss xmm2, dword [esi + 0x14]
movups xmmword [edi + 0x50], xmm0
movups xmm0, xmmword [esp + 0x60]
mulss xmm7, xmm2
movups xmmword [edi + 0x60], xmm0
movups xmm0, xmmword [esp + 0x70]
mulss xmm6, xmm2
movups xmmword [edi + 0x70], xmm0
movups xmmword [edi + 0x80], xmm1
movaps xmm0, xmm4
movaps xmm1, xmm3
mulss xmm0, dword [esp + 0x28]
mulss xmm1, dword [esp + 0x20]
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x14]
mulss xmm2, xmm5
addss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm4
addss xmm1, xmm5
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, dword [esp + 0x18]
mulss xmm4, xmm5
addss xmm0, xmm7
addss xmm0, xmm5
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x1c]
mulss xmm3, xmm5
addss xmm1, xmm0
addss xmm4, xmm3
addss xmm1, xmm6
addss xmm4, xmm2
addss xmm1, xmm5
addss xmm4, xmm5
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm4
movups xmm0, xmmword [esp + 0x40]
movups xmmword [edi + 0x90], xmm0
movss xmm0, dword [edi + 0xc]
mulss xmm0, dword [esi + 0x30]
movss dword [edi + 0xa0], xmm0
mov eax, dword [esi + 0x34]
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0xa8], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0xac], eax
movss xmm0, dword [esi + 0x44]
mulss xmm0, dword [esi + 0x40]
movss dword [edi + 0xb0], xmm0
movzx eax, byte [esi + 0x48]
mov byte [edi + 0xb4], al
movzx eax, byte [esi + 0x49]
mov byte [edi + 0xb5], al
add edi, 0x10
mov edx, dword [edi]
nop
mov dword [esi + 0x4c], edx
mov ecx, esi
mov eax, edx
lock cmpxchg dword [edi], ecx
cmp eax, edx
je 0x4a0cc3
mov edx, eax
jmp 0x4a0cb0
mov ecx, dword [esp + 0x9c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00432bfc
mov esp, ebp
pop ebp
ret