Function at 0x14004fd40
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x20], rax
movdqa xmm6, xmmword [0x14006ab80]
xorps xmm0, xmm0
movdqa xmm12, xmmword [0x14006a810]
xor esi, esi
movss xmm7, dword [0x14006a660]
xorps xmm8, xmm8
movss xmm10, dword [0x14006a6e8]
xorps xmm9, xmm9
movss xmm11, dword [0x14006a6dc]
movups xmmword [0x1400752a0], xmm0
movups xmmword [0x1400752b0], xmm0
movups xmmword [0x1400752c0], xmm0
nop word [rax + rax]
mov rdx, qword [0x1400752d0]
lea rcx, [0x1400752a0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004fe20
lea rcx, [0x1400752a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400752a0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140075288]
cmp rax, rcx
jne 0x14004fe6d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400752d0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140075288]
xorps xmm0, xmm0
mov qword [rbp - 0x58], rsi
lea rdx, [rbp - 0x48]
movups xmmword [rbp - 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140075288]
lea rdx, [rbp - 0x58]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x58]
lea rcx, [rbp - 0x38]
mov rbx, qword [0x140075260]
mov dword [rbp - 0x48], eax
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x44], eax
mov rax, qword [0x140075288]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x38]
mov ecx, 1
sub eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp - 0x34]
sub eax, dword [rbp - 0x54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004ff1b
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x14004ff22
mov byte [rbx + 0x120], sil
mov eax, dword [0x1400759b8]
mov ecx, dword [rbp - 0x3c]
mov edx, dword [rbp - 0x40]
cmp dword [rbp - 0x48], eax
jne 0x14004ff4e
cmp edx, dword [0x1400759c0]
jne 0x14004ff4e
mov eax, dword [0x1400759bc]
cmp dword [rbp - 0x44], eax
jne 0x14004ff4e
cmp ecx, dword [0x1400759c4]
je 0x14004ffaf
movups xmm0, xmmword [rbp - 0x48]
mov r9d, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x58]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x14007538c], edx
mov dword [0x140075388], ecx
mov dword [0x140075320], edx
xor edx, edx
mov dword [0x140075324], ecx
mov rcx, qword [0x1400752d0]
movups xmmword [0x1400759b8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140075360]
lea rdx, [0x140075320]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1400753b0], rsi
jne 0x14004ffbd
call fcn.140035f30
mov rcx, qword [0x1400753d0]
lea rdx, [rbp - 0x68]
mov rdi, qword [0x140075260]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x60]
lea rcx, [rbp - 0x30]
sub eax, dword [rbp - 0x68]
movd xmm1, eax
mov eax, dword [rbp - 0x5c]
sub eax, dword [rbp - 0x64]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400753d8]
cvtsi2ss xmm0, qword [0x1400753e0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400753d8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140075260]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], sil
mov byte [rdi + 0x132], al
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], sil
je 0x1400500c4
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x50], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1400753d0]
mov dword [rbp - 0x4c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x4c]
mov ecx, dword [rbp - 0x50]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400753d0]
jne 0x14005011c
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14005011c
mov rcx, qword [0x1400753d0]
lea rdx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14005011c
movd xmm0, dword [rbp - 0x70]
movd xmm1, dword [rbp - 0x6c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], sil
je 0x14005012c
mov eax, 0xffffffff
jmp 0x140050139
mov rax, qword [0x140075260]
mov eax, dword [rax + 0x1d70]
cmp dword [0x140074208], eax
je 0x14005014c
mov dword [0x140074208], eax
call fcn.1400360a0
call fcn.140019180
mov rcx, qword [0x140075318]
lea rdx, [rsp + 0x78]
xorps xmm0, xmm0
movsd qword [rbp - 0x78], xmm8
add rcx, 0x120
mov r8d, 0x18
movups xmmword [rsp + 0x78], xmm0
call fcn.140049a70
cmp byte [0x1400759d0], sil
movups xmm0, xmmword [rsp + 0x78]
movsd xmm1, qword [rbp - 0x78]
movups xmmword [0x140075400], xmm0
movsd qword [0x140075410], xmm1
je 0x14005020a
mov eax, dword [0x140075380]
lea rcx, [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
movups xmmword [rsp + 0x50], xmm6
movd xmm0, eax
mov eax, dword [0x140075384]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rsp + 0x60], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
call fcn.140015e00
movd xmm2, dword [0x1400746b4]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140075260]
mov r9d, eax
cvtdq2ps xmm2, xmm2
add rcx, 0x1cc8
movss dword [rsp + 0x28], xmm7
call fcn.140031390
cmp byte [0x1400759d8], sil
je 0x1400502f0
mov eax, dword [0x140075380]
lea rcx, [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
movups xmmword [rsp + 0x50], xmm6
movd xmm0, eax
mov eax, dword [0x140075384]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rsp + 0x68], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
call fcn.140015e00
movd xmm2, dword [0x1400746b4]
lea rdx, [rsp + 0x68]
mov rcx, qword [0x140075260]
mov r9d, eax
cvtdq2ps xmm2, xmm2
add rcx, 0x1cc8
movss dword [rsp + 0x28], xmm7
call fcn.140031390
mov eax, dword [0x140075380]
lea rcx, [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
movups xmmword [rsp + 0x50], xmm12
movd xmm0, eax
mov eax, dword [0x140075384]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rsp + 0x70], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x74], xmm0
call fcn.140015e00
movd xmm2, dword [0x1400746b4]
lea rdx, [rsp + 0x70]
mov rcx, qword [0x140075260]
mov r9d, eax
cvtdq2ps xmm2, xmm2
add rcx, 0x1cc8
mov dword [rsp + 0x20], 0x40
call fcn.140031450
cmp byte [0x1400746b0], sil
je 0x1400503e6
mov rax, qword [0x140075260]
lea r8, str.Fortnite_Private___.1f_FPS_
mov edx, 0x40
lea rcx, [rbp - 0x20]
movss xmm3, dword [rax + 0x3b4]
cvtps2pd xmm3, xmm3
movq r9, xmm3
call fcn.1400499b0
mov r10, qword [0x140075260]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm6
call fcn.140015e00
mov r9d, eax
test eax, 0xff000000
je 0x1400503e6
lea rax, [rbp - 0x20]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], sil
jne 0x140050360
lea r8, [rbp - 0x20]
add r8, rcx
lea rax, [rbp - 0x20]
cmp rax, r8
je 0x1400503e6
mov rcx, qword [r10 + 0x1d30]
mov rax, qword [r10 + 0x1d00]
movsxd rdx, dword [r10 + 0x1d28]
mov byte [rsp + 0x48], sil
add rdx, rdx
movss dword [rsp + 0x40], xmm9
movss xmm2, dword [rax + 0x10]
mov qword [rsp + 0x38], r8
movups xmm0, xmmword [rcx + rdx*8 - 0x10]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x30], rcx
lea rdx, [r10 + 0x1cc8]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
movaps xmm0, xmm10
mov rcx, qword [rax + 8]
unpcklps xmm0, xmm11
mov dword [rsp + 0x20], r9d
movq r9, xmm0
call fcn.140034220
call fcn.14004bef0
cmp byte [0x1400759d2], sil
je 0x140050498
cmp dword [0x140075968], esi
jne 0x14005040e
cmp byte [0x1400759cf], sil
je 0x140050444
call fcn.14004f7b0
cmp dword [0x140075968], 1
jne 0x140050425
cmp byte [0x1400759cf], sil
je 0x140050463
call fcn.14004f7b0
cmp dword [0x140075968], 2
jne 0x14005043c
cmp byte [0x1400759cf], sil
je 0x140050482
call fcn.14004f7b0
cmp dword [0x140075968], esi
jne 0x14005045a
mov ecx, dword [reloc.XINPUT1_4.dll_Ordinal_2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005045a
call fcn.14004f7b0
cmp dword [0x140075968], 1
jne 0x140050479
mov ecx, dword [reloc.XINPUT1_4.dll_Ordinal_2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140050479
call fcn.14004f7b0
cmp dword [0x140075968], 2
jne 0x140050498
mov ecx, dword [reloc.XINPUT1_4.dll_Ordinal_2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140050498
call fcn.14004f7b0
call fcn.14004b720
call fcn.14001a280
mov rcx, qword [0x140075360]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140075360]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140075360]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140075360]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm7
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140075360]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140050557
call fcn.14001a730
mov rax, qword [0x140075260]
mov rcx, rsi
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140035630
mov rcx, qword [0x140075360]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140075360]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140050619
mov rcx, qword [0x140075360]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140050619
cmp qword [0x1400753c0], rsi
je 0x1400505fd
mov rcx, qword [0x1400753c8]
test rcx, rcx
je 0x1400505b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400753c8], rsi
mov rcx, qword [0x1400753b8]
test rcx, rcx
je 0x1400505d2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400753b8], rsi
mov rcx, qword [0x1400753b0]
mov rbx, qword [0x140075260]
test rcx, rcx
je 0x1400505eb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400753b0], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140075360]
lea rdx, [0x140075320]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140035f30
cmp dword [0x1400752a8], 0x12
jne 0x14004fde0
cmp qword [0x1400753c0], rsi
je 0x14005068c
mov rcx, qword [0x1400753c8]
test rcx, rcx
je 0x140050648
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400753c8], rsi
mov rcx, qword [0x1400753b8]
test rcx, rcx
je 0x140050661
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400753b8], rsi
mov rcx, qword [0x1400753b0]
mov rbx, qword [0x140075260]
test rcx, rcx
je 0x14005067a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400753b0], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rbx, qword [0x140075260]
mov rcx, rbx
mov qword [0x1400753c0], rsi
mov qword [0x1400753d0], rsi
call fcn.140019a10
cmp qword [0x140075260], rbx
jne 0x1400506b9
mov qword [0x140075260], rsi
test rbx, rbx
je 0x1400506e1
mov rcx, rbx
call fcn.140026b50
mov rax, qword [0x140075260]
test rax, rax
je 0x1400506d8
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140075360]
test rcx, rcx
je 0x140050703
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140075360]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400752d8]
test rcx, rcx
je 0x140050715
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400752d0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400752b0]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140054bb0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop rbp
ret