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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x928
cmp byte [0x102f2ec1], 0
push esi
push edi
je 0x1012d9ed
xor eax, eax
mov dword [esp + 0x38], vtable.CTraceFilterHitscan.0
push 0x800
push eax
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x138]
push eax
mov dword [esp + 0x48], 0
movss dword [esp + 0x24], xmm0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x138]
mov ecx, 0x40
nop dword [eax]
mov dword [eax - 8], 0
lea eax, [eax + 0x20]
mov dword [eax - 0x24], 0
mov dword [eax - 0x20], 0
mov dword [eax - 0x1c], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov byte [eax - 0xc], 0
sub ecx, 1
jne 0x1012d530
mov ecx, 0x10
mov esi, 0x102f07e8
mov edi, 0x102f07ec
lea edx, [ecx + 0x30]
nop
mov eax, dword [esp + ecx + 0x120]
lea ecx, [ecx + 0x20]
mov dword [ecx + 0x102f07b4], eax
mov eax, dword [esp + ecx + 0x104]
mov dword [ecx + 0x102f07b8], eax
mov eax, dword [esp + ecx + 0x108]
mov dword [ecx + 0x102f07bc], eax
mov eax, dword [esp + ecx + 0x10c]
mov dword [ecx + 0x102f07c0], eax
mov eax, dword [esp + ecx + 0x110]
mov dword [ecx + 0x102f07c4], eax
mov eax, dword [esp + ecx + 0x114]
mov dword [esi + ecx - 0x20], eax
mov esi, 0x102f07f0
mov eax, dword [esp + ecx + 0x118]
mov dword [edi + ecx - 0x20], eax
mov al, byte [esp + ecx + 0x11c]
mov byte [esi + ecx - 0x20], al
mov esi, 0x102f07e8
sub edx, 1
jne 0x1012d580
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push eax
mov ecx, 0x10246288
call fcn.10146190
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
cmp edi, eax
je 0x1012d9ed
nop dword [eax]
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [edi]
mov esi, eax
call fcn.100c1f90
mov ecx, dword [edi]
mov dword [esp + 8], eax
call fcn.100a8d30
cmp byte [eax], 0
jne 0x1012d99c
mov ecx, dword [edi]
call fcn.100a9090
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1012d99c
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1012d99c
mov ecx, dword [edi]
push 0
call fcn.100a9240
test al, al
je 0x1012d99c
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1012d99c
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
je 0x1012d99c
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x12
je 0x1012d99c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [edi]
mov esi, eax
call fcn.100aa430
movss xmm0, dword [esp + 0x18]
mov ecx, dword [eax]
shr ecx, 1
test cl, 1
je 0x1012d6fb
mov dword [esp + 0x40], 0
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0x42340000
jmp 0x1012d71b
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x42960000
addss xmm0, dword [esi]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [eax]
lea eax, [esp + 0x124]
push eax
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [ecx]
mov ecx, dword [edi]
movss dword [esp + 0x20], xmm0
call fcn.100c2040
movss xmm1, dword [0x10234c1c]
mov ecx, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
movss xmm0, dword [ecx]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 4]
lea eax, [esp + 0x24]
mulss xmm0, xmm1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x24]
mulss xmm1, dword [esp + 0x28]
mov eax, dword [edi]
movss xmm2, dword [esp + 0x2c]
mulss xmm2, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
movss xmm5, dword [0x10234f80]
movss xmm0, dword [esp + 0x30]
xorps xmm0, xmmword [0x10235340]
movss xmm3, dword [esp + 8]
movss xmm4, dword [esp + 0x20]
mulss xmm2, xmm5
mov byte [esp + 0xf1], 1
mulss xmm1, xmm5
addss xmm2, xmm4
mulss xmm0, xmm5
movss xmm5, dword [esp + 0x1c]
addss xmm1, xmm3
addss xmm0, xmm5
subss xmm2, xmm4
subss xmm1, xmm3
subss xmm0, xmm5
movss dword [esp + 0xc4], xmm2
mulss xmm2, xmm2
movss dword [esp + 0xc0], xmm1
mulss xmm1, xmm1
movss dword [esp + 0xc8], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [esp + 0x18]
lahf
test ah, 0x44
jp 0x1012d870
mov byte [esp + 0xf1], 0
mov ecx, dword [0x102eff0c]
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x3c]
mov dword [esp + 0xe4], 0
push edx
mov eax, dword [ecx]
lea edx, [esp + 0xb8]
push 0x46004003
push edx
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov byte [esp + 0x100], 1
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xc4], xmm4
movss dword [esp + 0xc8], xmm5
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x64]
mov dl, byte [0x102f5e2d]
mov ecx, dword [edi]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xc], xmm0
call fcn.10121e80
mov ecx, dword [edi]
mov esi, eax
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
movss xmm0, dword [esp + 8]
shl eax, 5
movss dword [eax + 0x102f07e4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x102f07e8], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [eax + 0x102f07ec], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [eax + 0x102f07f0], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [eax + 0x102f07f4], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [eax + 0x102f07f8], xmm0
mov dword [eax + 0x102f07fc], esi
mov byte [eax + 0x102f0800], 1
jmp 0x1012d9e0
movss xmm0, dword [esp + 0x18]
shl esi, 5
add esi, 0x102f07e4
shufps xmm0, xmm0, 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x11c], 0
mov eax, dword [esp + 0x11c]
movups xmmword [esi], xmm0
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm0
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], 0
add edi, 4
cmp edi, dword [esp + 0x34]
jne 0x1012d620
pop edi
pop esi
mov esp, ebp
pop ebp
ret