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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x1007c040]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x60]
push esi
movss xmm0, dword [esi + 0x3c]
mulss xmm0, dword [0x100738d4]
push ecx
push edi
push eax
xorps xmm0, xmmword [0x10073a20]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x100738d4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], 0
movss dword [esp + 0x74], xmm0
call fcn.1003ff10
test al, al
je 0x1003f279
push esi
call fcn.1003f7c0
test al, al
je 0x1003f279
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
je 0x1003e9bf
mov dword [esi + 0x2c], eax
mov ecx, dword [0x10149298]
xorps xmm2, xmm2
movss dword [esp + 0x14], xmm2
nop
test ecx, ecx
jne 0x1003ea0c
xorps xmm1, xmm1
xorps xmm0, xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x54], xmm0
movq xmm0, qword [esp + 0x50]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x58], xmm1
movq qword [esp + 0x78], xmm0
jmp 0x1003ea89
mov eax, dword [ecx]
lea edx, [esp + 0xac]
push 0
push edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call dword [eax + 0xbc]
mov eax, dword [esp + 0xb4]
movq xmm1, qword [esp + 0xac]
mov ecx, dword [0x10149298]
mov dword [esp + 0x58], eax
movss xmm0, dword [esp + 0x58]
movq qword [esp + 0x50], xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x50]
movq qword [esp + 0x78], xmm1
movss dword [esp + 0x1c], xmm0
mov esi, dword [0x1014929c]
test esi, esi
je 0x1003eab6
mov eax, dword [0x1014a61c]
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 [0x10149298]
test ecx, ecx
jne 0x1003eac8
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x1003eb2d
mov eax, dword [ecx]
lea edx, [esp + 0xb8]
push 0
push edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
call dword [eax + 0xbc]
movq xmm0, qword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
movq qword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x64]
mov dword [esp + 0x68], eax
movss xmm1, dword [esp + 0x68]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x60]
push 0x30
lea eax, [esp + 0x148]
movss dword [esp + 0x60], xmm0
push 0
push eax
movss dword [esp + 0x14], xmm1
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
mov dword [esp + 0xb4], eax
add esp, 0xc
mov eax, dword [edi]
mov ecx, edi
movups xmmword [esp + 0x120], xmm0
mov dword [esp + 0x140], 0
movups xmmword [esp + 0x130], xmm0
mov dword [esp + 0xa4], vtable.c_trace_filter_hitscan.0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 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 eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3e
jne 0x1003ec20
movss xmm0, dword [0x10073878]
jmp 0x1003ec28
movss xmm0, dword [0x10073868]
mov eax, dword [edi]
mov ecx, edi
movss dword [esp + 0x30], xmm0
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x28], xmm0
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3e
jne 0x1003ec55
movss xmm0, dword [0x100739b4]
jmp 0x1003ec5d
movss xmm0, dword [0x100739ac]
movss xmm1, dword [esp + 0x5c]
movaps xmm7, xmm0
movss xmm4, dword [esp + 0x1c]
movaps xmm6, xmm0
movss xmm3, dword [esp + 0x20]
subss xmm1, xmm4
movss xmm5, dword [esp + 0x24]
movss xmm2, dword [esp + 8]
movss dword [esp + 0x2c], xmm0
subss xmm2, xmm5
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm3
movss dword [esp + 0xe0], xmm1
mulss xmm1, xmm1
mov byte [esp + 0x111], 1
movss dword [esp + 0xe8], xmm2
mulss xmm2, xmm2
movss dword [esp + 0xe4], xmm0
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003ece4
mov byte [esp + 0x111], 0
movss xmm1, dword [esp + 0xc]
lea edx, [esp + 0x120]
subss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
movss xmm0, dword [esp + 0x30]
subss xmm2, xmm6
subss xmm0, xmm7
mov eax, dword [0x1014a61c]
addss xmm7, dword [esp + 0x30]
mulss xmm1, dword [0x10073808]
push edx
mulss xmm2, dword [0x10073808]
lea edx, [esp + 0xa8]
push edx
mulss xmm0, dword [0x10073808]
lea edx, [esp + 0xd8]
push 0x4600400b
movss dword [esp + 0x110], xmm1
movss dword [esp + 0x10c], xmm2
movss dword [esp + 0x114], xmm0
mulss xmm1, xmm1
push edx
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm6, dword [esp + 0x38]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100737f0]
comisd xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x3c]
movss xmm1, dword [0x10073808]
seta byte [esp + 0x120]
mulss xmm7, xmm1
mulss xmm6, xmm1
mulss xmm0, xmm1
movaps xmm2, xmm6
addss xmm2, xmm4
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm7
addss xmm1, xmm3
addss xmm0, xmm5
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0xe4], xmm1
movss xmm1, dword [0x10073998]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm6, xmm1
mulss xmm0, xmm1
mulss xmm7, xmm1
movss dword [esp + 0x100], xmm6
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x108], xmm7
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [0x10073814]
comiss xmm0, dword [esp + 0x14c]
ja 0x1003f0e9
cmp byte [esp + 0x156], 0
jne 0x1003f0e9
cmp byte [esp + 0x157], 0
jne 0x1003f0e9
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3e
jne 0x1003ee96
lea esi, [esp + 0x80]
mov dword [esp + 0x80], 0x41000000
mov dword [esp + 0x84], 0x41000000
mov dword [esp + 0x88], 0x41000000
mov dword [esp + 8], esi
jmp 0x1003eec2
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0x40800000
mov dword [esp + 0x90], 0x40800000
mov dword [esp + 0x94], 0x40800000
mov dword [esp + 8], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3e
jne 0x1003eef1
mov dword [esp + 0x38], 0xc1000000
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x1003ef0d
mov dword [esp + 0x44], 0xc0800000
lea eax, [esp + 0x44]
mov dword [esp + 0x48], 0xc0800000
mov dword [esp + 0x4c], 0xc0800000
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x98]
push eax
mov ecx, dword [ecx + 0x48]
call fcn.10002bb0
mov esi, eax
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, esp
sub esp, 0xc
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x28]
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov ecx, esp
sub esp, 0x10
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
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 + 0x4c]
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0xac]
mov edx, dword [esi + 0x48]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x8c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1003cf00
add esp, 0x34
test al, al
je 0x1003eff3
movss xmm0, dword [esp + 0x20]
sub esp, 8
subss xmm0, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x24]
subss xmm1, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x2c]
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.10002590
movss xmm0, dword [0x100738fc]
fstp dword [esp + 8]
comiss xmm0, dword [esp + 8]
ja 0x1003f261
mov eax, dword [0x1014a61c]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], eax
call dword [esp + 8]
mov ecx, dword [0x10149298]
fstp dword [esi + 0x38]
test ecx, ecx
jne 0x1003f02b
mov dword [esp + 0x6c], ecx
mov edx, ecx
mov dword [esp + 0x70], ecx
movq xmm0, qword [esp + 0x6c]
mov dword [esp + 0x74], ecx
jmp 0x1003f07e
mov eax, dword [ecx]
lea edx, [esp + 0xc4]
push 0
push edx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call dword [eax + 0xbc]
movq xmm0, qword [esp + 0xc4]
mov edx, dword [esp + 0xcc]
mov ecx, dword [0x10149298]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x1003f093
movq qword [eax], xmm0
mov dword [eax + 8], edx
add dword [esi + 0x2c], 0xc
jmp 0x1003f0a7
lea ecx, [esp + 0x6c]
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.1001b560
mov ecx, dword [0x10149298]
mov eax, dword [0x1014a61c]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x1007386c]
mov eax, dword [eax + 0x2c]
addss xmm0, dword [eax + 0x1c]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
ja 0x1003e9d0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.10065296
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3e
jne 0x1003f11c
lea esi, [esp + 0x44]
mov dword [esp + 0x44], 0x41000000
mov dword [esp + 0x48], 0x41000000
mov dword [esp + 0x4c], 0x41000000
mov dword [esp + 0x14], esi
jmp 0x1003f13c
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x40800000
mov dword [esp + 0x48], 0x40800000
mov dword [esp + 0x4c], 0x40800000
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3e
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
jne 0x1003f16f
mov dword [esp + 0x38], 0xc1000000
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x1003f187
mov dword [esp + 0x38], 0xc0800000
mov dword [esp + 0x3c], 0xc0800000
mov dword [esp + 0x40], 0xc0800000
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x98]
push eax
mov ecx, dword [edi + 0x48]
call fcn.10002bb0
mov esi, eax
sub esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, esp
sub esp, 0xc
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov ecx, esp
mov edx, dword [edi + 0x48]
sub esp, 0x10
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
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 + 0xac]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x8c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1003cf00
add esp, 0x34
test al, al
je 0x1003f279
movss xmm0, dword [esp + 0x20]
sub esp, 8
subss xmm0, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x24]
subss xmm1, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x2c]
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.10002590
movss xmm0, dword [0x100738fc]
fstp dword [esp + 0x34]
comiss xmm0, dword [esp + 0x34]
jbe 0x1003f279
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.10065296
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x17c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10065296
mov esp, ebp
pop ebp
ret 0x14