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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x10076040]
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 [0x1006d730]
push ecx
push edi
push eax
xorps xmm0, xmmword [0x1006d890]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x1006d730]
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], 0
movss dword [esp + 0x74], xmm0
call fcn.10039d80
test al, al
je 0x10039079
push esi
call fcn.10039630
test al, al
je 0x10039079
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
je 0x100387bf
mov dword [esi + 0x2c], eax
mov ecx, dword [0x101436c0]
xorps xmm2, xmm2
movss dword [esp + 0x14], xmm2
nop
test ecx, ecx
jne 0x1003880c
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 0x10038889
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 [0x101436c0]
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 [0x101436c4]
test esi, esi
je 0x100388b6
mov eax, dword [0x10144a3c]
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 [0x101436c0]
test ecx, ecx
jne 0x100388c8
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x1003892d
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, 0x3d
jne 0x10038a20
movss xmm0, dword [0x1006d6d4]
jmp 0x10038a28
movss xmm0, dword [0x1006d6c8]
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, 0x3d
jne 0x10038a55
movss xmm0, dword [0x1006d818]
jmp 0x10038a5d
movss xmm0, dword [0x1006d810]
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 0x10038ae4
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 [0x10144a3c]
addss xmm7, dword [esp + 0x30]
mulss xmm1, dword [0x1006d668]
push edx
mulss xmm2, dword [0x1006d668]
lea edx, [esp + 0xa8]
push edx
mulss xmm0, dword [0x1006d668]
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 [0x1006d650]
comisd xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x3c]
movss xmm1, dword [0x1006d668]
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 [0x1006d7f8]
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 [0x1006d674]
comiss xmm0, dword [esp + 0x14c]
ja 0x10038ee9
cmp byte [esp + 0x156], 0
jne 0x10038ee9
cmp byte [esp + 0x157], 0
jne 0x10038ee9
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x10038c96
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 0x10038cc2
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, 0x3d
jne 0x10038cf1
mov dword [esp + 0x38], 0xc1000000
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x10038d0d
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.100037a0
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.100367f0
add esp, 0x34
test al, al
je 0x10038df3
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.10003300
movss xmm0, dword [0x1006d758]
fstp dword [esp + 8]
comiss xmm0, dword [esp + 8]
ja 0x10039061
mov eax, dword [0x10144a3c]
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 [0x101436c0]
fstp dword [esi + 0x38]
test ecx, ecx
jne 0x10038e2b
mov dword [esp + 0x6c], ecx
mov edx, ecx
mov dword [esp + 0x70], ecx
movq xmm0, qword [esp + 0x6c]
mov dword [esp + 0x74], ecx
jmp 0x10038e7e
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 [0x101436c0]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x10038e93
movq qword [eax], xmm0
mov dword [eax + 8], edx
add dword [esi + 0x2c], 0xc
jmp 0x10038ea7
lea ecx, [esp + 0x6c]
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.1001ce50
mov ecx, dword [0x101436c0]
mov eax, dword [0x10144a3c]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x1006d6cc]
mov eax, dword [eax + 0x2c]
addss xmm0, dword [eax + 0x1c]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
ja 0x100387d0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1005ee17
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x10038f1c
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 0x10038f3c
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, 0x3d
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
jne 0x10038f6f
mov dword [esp + 0x38], 0xc1000000
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x10038f87
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.100037a0
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.100367f0
add esp, 0x34
test al, al
je 0x10039079
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.10003300
movss xmm0, dword [0x1006d758]
fstp dword [esp + 0x34]
comiss xmm0, dword [esp + 0x34]
jbe 0x10039079
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1005ee17
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x17c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1005ee17
mov esp, ebp
pop ebp
ret 0x14