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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x1007e00c]
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 [0x10074c28]
push ecx
push edi
push eax
xorps xmm0, xmmword [0x10074d90]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x10074c28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], 0
movss dword [esp + 0x74], xmm0
call fcn.1003fb20
test al, al
je 0x1003ede9
push esi
call fcn.1003f3c0
test al, al
je 0x1003ede9
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
je 0x1003e52f
mov dword [esi + 0x2c], eax
mov ecx, dword [0x1014b238]
xorps xmm2, xmm2
movss dword [esp + 0x14], xmm2
nop
test ecx, ecx
jne 0x1003e57c
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 0x1003e5f9
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 [0x1014b238]
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 [0x1014b23c]
test esi, esi
je 0x1003e626
mov eax, dword [0x1014c5bc]
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 [0x1014b238]
test ecx, ecx
jne 0x1003e638
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x1003e69d
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 0x1003e790
movss xmm0, dword [0x10074bc4]
jmp 0x1003e798
movss xmm0, dword [0x10074bb8]
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 0x1003e7c5
movss xmm0, dword [0x10074d20]
jmp 0x1003e7cd
movss xmm0, dword [0x10074d18]
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 0x1003e854
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 [0x1014c5bc]
addss xmm7, dword [esp + 0x30]
mulss xmm1, dword [0x10074b50]
push edx
mulss xmm2, dword [0x10074b50]
lea edx, [esp + 0xa8]
push edx
mulss xmm0, dword [0x10074b50]
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 [0x10074b38]
comisd xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x3c]
movss xmm1, dword [0x10074b50]
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 [0x10074d00]
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 [0x10074b5c]
comiss xmm0, dword [esp + 0x14c]
ja 0x1003ec59
cmp byte [esp + 0x156], 0
jne 0x1003ec59
cmp byte [esp + 0x157], 0
jne 0x1003ec59
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1003ea06
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 0x1003ea32
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 0x1003ea61
mov dword [esp + 0x38], 0xc1000000
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x1003ea7d
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.10002b00
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.1003c6c0
add esp, 0x34
test al, al
je 0x1003eb63
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.100024e0
movss xmm0, dword [0x10074c60]
fstp dword [esp + 8]
comiss xmm0, dword [esp + 8]
ja 0x1003edd1
mov eax, dword [0x1014c5bc]
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 [0x1014b238]
fstp dword [esi + 0x38]
test ecx, ecx
jne 0x1003eb9b
mov dword [esp + 0x6c], ecx
mov edx, ecx
mov dword [esp + 0x70], ecx
movq xmm0, qword [esp + 0x6c]
mov dword [esp + 0x74], ecx
jmp 0x1003ebee
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 [0x1014b238]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x1003ec03
movq qword [eax], xmm0
mov dword [eax + 8], edx
add dword [esi + 0x2c], 0xc
jmp 0x1003ec17
lea ecx, [esp + 0x6c]
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.1001bcb0
mov ecx, dword [0x1014b238]
mov eax, dword [0x1014c5bc]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x10074bbc]
mov eax, dword [eax + 0x2c]
addss xmm0, dword [eax + 0x1c]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
ja 0x1003e540
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.100658a0
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 0x1003ec8c
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 0x1003ecac
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 0x1003ecdf
mov dword [esp + 0x38], 0xc1000000
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x1003ecf7
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.10002b00
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.1003c6c0
add esp, 0x34
test al, al
je 0x1003ede9
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.100024e0
movss xmm0, dword [0x10074c60]
fstp dword [esp + 0x34]
comiss xmm0, dword [esp + 0x34]
jbe 0x1003ede9
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.100658a0
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x17c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100658a0
mov esp, ebp
pop ebp
ret 0x14