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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x928
cmp byte [0x102f2eb1], 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, 0x102f07d8
mov edi, 0x102f07dc
lea edx, [ecx + 0x30]
nop
mov eax, dword [esp + ecx + 0x120]
lea ecx, [ecx + 0x20]
mov dword [ecx + 0x102f07a4], eax
mov eax, dword [esp + ecx + 0x104]
mov dword [ecx + 0x102f07a8], eax
mov eax, dword [esp + ecx + 0x108]
mov dword [ecx + 0x102f07ac], eax
mov eax, dword [esp + ecx + 0x10c]
mov dword [ecx + 0x102f07b0], eax
mov eax, dword [esp + ecx + 0x110]
mov dword [ecx + 0x102f07b4], eax
mov eax, dword [esp + ecx + 0x114]
mov dword [esi + ecx - 0x20], eax
mov esi, 0x102f07e0
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, 0x102f07d8
sub edx, 1
jne 0x1012d580
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push eax
mov ecx, 0x10246288
call fcn.101462a0
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.100c2060
mov ecx, dword [edi]
mov dword [esp + 8], eax
call fcn.100a8ab0
cmp byte [eax], 0
jne 0x1012d99c
mov ecx, dword [edi]
call fcn.100a8e10
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.100a8fc0
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.100aa1b0
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.100c2110
movss xmm1, dword [0x10234c3c]
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 [0x10234fa0]
movss xmm0, dword [esp + 0x30]
xorps xmm0, xmmword [0x10235360]
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 [0x102efefc]
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 [0x102f5de5]
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 + 0x102f07d4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x102f07d8], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [eax + 0x102f07dc], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [eax + 0x102f07e0], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [eax + 0x102f07e4], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [eax + 0x102f07e8], xmm0
mov dword [eax + 0x102f07ec], esi
mov byte [eax + 0x102f07f0], 1
jmp 0x1012d9e0
movss xmm0, dword [esp + 0x18]
shl esi, 5
add esi, 0x102f07d4
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