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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x10080040]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x44]
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 8]
push edi
push esi
movss xmm0, dword [esi + 0x3c]
mulss xmm0, dword [0x10076ee0]
push edx
push eax
push ecx
xorps xmm0, xmmword [0x10077070]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x10076ee0]
mov dword [esp + 0x34], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], 0
movss dword [esp + 0x60], xmm0
call fcn.10040cd0
test al, al
je 0x1003fa6e
push esi
call fcn.100405e0
test al, al
je 0x1003fa6e
mov eax, dword [esi + 0x28]
lea edi, [esi + 0x28]
cmp eax, dword [edi + 4]
je 0x1003f286
mov dword [edi + 4], eax
mov ecx, dword [0x1014d2d8]
xorps xmm2, xmm2
movss dword [esp + 0x48], xmm2
test ecx, ecx
jne 0x1003f2d4
xorps xmm1, xmm1
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x38], xmm0
movq xmm0, qword [esp + 0x34]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x3c], xmm1
movq qword [esp + 0x68], xmm0
jmp 0x1003f351
mov eax, dword [ecx]
lea edx, [esp + 0xcc]
push 0
push edx
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call dword [eax + 0xbc]
mov eax, dword [esp + 0xd4]
movq xmm1, qword [esp + 0xcc]
mov ecx, dword [0x1014d2d8]
mov dword [esp + 0x3c], eax
movss xmm0, dword [esp + 0x3c]
movq qword [esp + 0x34], xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x34]
movq qword [esp + 0x68], xmm1
movss dword [esp + 0x18], xmm0
mov esi, dword [0x1014d2dc]
test esi, esi
je 0x1003f37e
mov eax, dword [0x1014e66c]
mov edx, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x2c]
movss xmm0, dword [eax + 0x1c]
movss dword [esp], xmm0
call dword [edx + 0x88]
mov ecx, dword [0x1014d2d8]
test ecx, ecx
jne 0x1003f393
xorps xmm0, xmm0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x14], xmm0
jmp 0x1003f407
mov eax, dword [ecx]
lea edx, [esp + 0xd8]
push 0
push edx
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
call dword [eax + 0xbc]
movq xmm0, qword [esp + 0xd8]
mov eax, dword [esp + 0xe0]
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], eax
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x7c]
push 0x30
lea eax, [esp + 0x168]
movss dword [esp + 0x44], xmm0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [esp + 0x3c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x70]
add esp, 0xc
mov dword [esp + 0xc8], eax
mov ecx, esi
movups xmmword [esp + 0x140], xmm0
mov eax, dword [esi]
movups xmmword [esp + 0x150], xmm0
mov dword [esp + 0x160], 0
mov dword [esp + 0xc4], vtable.c_trace_filter_hitscan.0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1003f518
mov dword [esp + 0x88], 0xc1000000
lea eax, [esp + 0x88]
mov dword [esp + 0x8c], 0xc1000000
mov dword [esp + 0x90], 0xc1000000
jmp 0x1003f540
mov dword [esp + 0x94], 0xc0800000
lea eax, [esp + 0x94]
mov dword [esp + 0x98], 0xc0800000
mov dword [esp + 0x9c], 0xc0800000
movq xmm0, qword [eax]
mov ecx, esi
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
movq qword [esp + 0x4c], xmm0
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1003f590
mov dword [esp + 0xa0], 0x41000000
lea eax, [esp + 0xa0]
mov dword [esp + 0xa4], 0x41000000
mov dword [esp + 0xa8], 0x41000000
jmp 0x1003f5b8
mov dword [esp + 0xac], 0x40800000
lea eax, [esp + 0xac]
mov dword [esp + 0xb0], 0x40800000
mov dword [esp + 0xb4], 0x40800000
movq xmm0, qword [eax]
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x14]
subss xmm2, dword [esp + 0x20]
movq qword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x100], xmm1
mulss xmm1, xmm1
mov dword [esp + 0x28], eax
mov eax, dword [eax + 8]
movss dword [esp + 0x104], xmm0
mulss xmm0, xmm0
mov dword [esp + 0x78], eax
movss dword [esp + 0x108], xmm2
mulss xmm2, xmm2
mov byte [esp + 0x131], 1
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003f63c
mov byte [esp + 0x131], 0
movss xmm7, dword [esp + 0x74]
lea edx, [esp + 0x140]
movss xmm2, dword [esp + 0x70]
movaps xmm1, xmm7
subss xmm1, dword [esp + 0x50]
subss xmm2, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x78]
movaps xmm0, xmm6
mov eax, dword [0x1014e66c]
subss xmm0, dword [esp + 0x54]
mulss xmm1, dword [0x10076e18]
push edx
mulss xmm2, dword [0x10076e18]
lea edx, [esp + 0xc8]
push edx
mulss xmm0, dword [0x10076e18]
lea edx, [esp + 0xf8]
push 0x4600400b
movss dword [esp + 0x130], xmm1
movss dword [esp + 0x12c], xmm2
movss dword [esp + 0x134], xmm0
mulss xmm1, xmm1
push edx
addss xmm6, dword [esp + 0x64]
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm7, dword [esp + 0x60]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10076e00]
comisd xmm1, xmm0
movss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0x5c]
seta byte [esp + 0x140]
movaps xmm5, xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x10076e18]
mulss xmm6, xmm0
mulss xmm5, xmm0
mulss xmm7, xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x30]
movaps xmm2, xmm5
addss xmm2, dword [esp + 0x28]
movaps xmm1, xmm7
addss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [0x10076fb8]
mulss xmm5, xmm0
mulss xmm7, xmm0
mulss xmm6, xmm0
movss dword [esp + 0x100], xmm2
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x120], xmm5
movss dword [esp + 0x124], xmm7
movss dword [esp + 0x128], xmm6
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [0x10076e28]
comiss xmm0, dword [esp + 0x16c]
ja 0x1003f993
cmp byte [esp + 0x176], 0
jne 0x1003f993
cmp byte [esp + 0x177], 0
jne 0x1003f993
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xb8]
push eax
mov ecx, dword [ecx + 0x48]
call fcn.10002dc0
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov edx, esp
mov esi, eax
mov eax, dword [esp + 0x38]
sub esp, 0xc
movq xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
movq qword [edx], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [esi]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esi + 8]
sub esp, 0xc
mov esi, dword [esp + 0x58]
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x9c]
mov edx, dword [esi + 0x48]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x70]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1003d850
add esp, 0x34
test al, al
je 0x1003f89e
movss xmm0, dword [esp + 0x1c]
sub esp, 8
subss xmm0, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x20]
subss xmm1, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x28]
subss xmm2, dword [ebp + 0x18]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100027a0
movss xmm0, dword [0x10076f18]
fstp dword [esp + 0x14]
comiss xmm0, dword [esp + 0x14]
ja 0x1003f97b
mov eax, dword [0x1014e66c]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov ecx, dword [0x1014d2d8]
fstp dword [esi + 0x38]
test ecx, ecx
jne 0x1003f8d6
mov dword [esp + 0x58], ecx
mov edx, ecx
mov dword [esp + 0x5c], ecx
movq xmm0, qword [esp + 0x58]
mov dword [esp + 0x60], ecx
jmp 0x1003f929
mov eax, dword [ecx]
lea edx, [esp + 0xe4]
push 0
push edx
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
call dword [eax + 0xbc]
movq xmm0, qword [esp + 0xe4]
mov edx, dword [esp + 0xec]
mov ecx, dword [0x1014d2d8]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], edx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x1003f93e
movq qword [eax], xmm0
mov dword [eax + 8], edx
add dword [edi + 4], 0xc
jmp 0x1003f951
lea ecx, [esp + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.1001c720
mov ecx, dword [0x1014d2d8]
mov eax, dword [0x1014e66c]
movss xmm1, dword [esp + 0x48]
movss xmm0, dword [0x10076e84]
mov eax, dword [eax + 0x2c]
addss xmm1, dword [eax + 0x1c]
comiss xmm0, xmm1
movss dword [esp + 0x48], xmm1
ja 0x1003f295
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.100672f0
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xb8]
push eax
mov ecx, dword [edi + 0x48]
call fcn.10002dc0
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov edx, esp
mov esi, eax
mov eax, dword [esp + 0x38]
sub esp, 0xc
movq xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
movq qword [edx], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, esp
mov edx, dword [edi + 0x48]
sub esp, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [esi]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esi + 8]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x9c]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x70]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1003d850
add esp, 0x34
test al, al
je 0x1003fa6e
movss xmm0, dword [esp + 0x1c]
sub esp, 8
subss xmm0, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x20]
subss xmm1, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x28]
subss xmm2, dword [ebp + 0x18]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100027a0
movss xmm0, dword [0x10076f18]
fstp dword [esp + 0x30]
comiss xmm0, dword [esp + 0x30]
ja 0x1003f97b
mov ecx, dword [esp + 0x19c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100672f0
mov esp, ebp
pop ebp
ret 0x14