Function at 0x140005ea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp byte [0x14005e0d8], 0
je 0x140006299
mov qword [r11 + 0x18], rdi
lea rcx, [rbp - 0x19]
mov qword [r11 + 0x20], r12
mov qword [r11 - 0x10], r14
mov qword [r11 - 0x18], r15
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
call fcn.140003990
mov rax, qword [rbp - 0x19]
sub rax, qword [0x1400d84f8]
cmp rax, 0xef5f4c0
jl 0x140005f07
mov byte [0x1400e1c40], 1
mov ecx, dword [0x14005e0d0]
xor edx, edx
mov edi, edx
lea r12d, [rdx + 2]
test ecx, ecx
je 0x140005f40
sub ecx, 1
je 0x140005f2d
sub ecx, 1
je 0x140005f39
sub ecx, 1
je 0x140005f34
cmp ecx, 1
jne 0x140005f45
mov edi, 0x43
jmp 0x140005f45
mov edi, r12d
jmp 0x140005f45
mov edi, 7
jmp 0x140005f45
mov edi, 0x6d
mov rax, qword [0x1400e1c80]
lea r8, [rbp - 0x11]
mov rcx, qword [0x1400d8480]
add rax, 0x198
mov qword [rsp + 0x38], rdx
mov r9d, 0x28
mov qword [rsp + 0x30], rdx
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
mov dword [rsp + 0x28], edx
mov qword [rbp - 1], rax
mov eax, dword [0x1400d8478]
mov qword [rbp - 0x19], rdx
mov dword [rbp + 0x10], edx
mov word [rbp + 0x14], dx
mov byte [rbp + 0x16], dl
mov byte [rbp + 0xf], dl
mov qword [rsp + 0x20], rdx
mov edx, 0x2209e0
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x11], 0xe5d9a1
mov qword [rbp + 7], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r8, qword [rbp - 0x19]
lea rdx, [rbp - 0x49]
add r8, 0x120
call fcn.140006c20
movsd xmm0, qword [rbp - 0x41]
subsd xmm0, qword [0x1400d7d68]
movss xmm6, dword [0x140056198]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm7, xmm0
movaps xmm1, xmm6
movsd xmm0, qword [rbp - 0x49]
subsd xmm0, qword [0x1400d7d60]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm2, qword [rbp - 0x39]
addss xmm7, xmm0
subsd xmm2, qword [0x1400d7d70]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x140006039
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140006041
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [0x14005e0da], 0
xorps xmm6, xmm6
cvtss2sd xmm0, xmm0
mov qword [rsp + 0xf8], rsi
mov r15d, 1
movaps xmm7, xmmword [rsp + 0xb0]
divsd xmm0, qword [0x1400561e0]
cvtsd2ss xmm6, xmm0
je 0x140006084
mov ecx, dword [0x14005e0e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx esi, ax
jmp 0x140006087
mov esi, r15d
mov r14, qword [0x1400e1c80]
test r14, r14
je 0x140006269
movss xmm0, dword [0x14005627c]
comiss xmm0, xmm6
jb 0x140006269
mov r8, qword [0x1400d84c8]
lea rdx, [rbp - 0x11]
add r8, 0x26b8
mov qword [rsp + 0xf0], rbx
mov rbx, qword [0x1400d8500]
call fcn.140006c20
mov rcx, r14
call fcn.140003dd0
mov r9d, edi
lea rdx, [rbp - 0x31]
mov r8, rbx
mov rcx, rax
call fcn.140005820
movsd xmm2, qword [rbp - 0x31]
movsd xmm1, qword [0x1400561c0]
movaps xmm0, xmm2
movsd xmm3, qword [rbp - 0x11]
subsd xmm0, xmm1
mov rbx, qword [rsp + 0xf0]
comisd xmm3, xmm0
jb 0x140006269
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140006269
movsd xmm2, qword [rbp - 0x29]
movsd xmm3, qword [rbp - 9]
movaps xmm0, xmm2
subsd xmm0, xmm1
comisd xmm3, xmm0
jb 0x140006269
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140006269
movsd xmm2, qword [rbp - 0x21]
movsd xmm3, qword [rbp - 1]
movaps xmm0, xmm2
subsd xmm0, xmm1
comisd xmm3, xmm0
jb 0x140006269
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140006269
test esi, esi
je 0x140006269
cmp byte [0x14005e0d9], 0
je 0x140006191
cmp byte [0x1400d84c0], r12b
jne 0x140006269
cmp byte [0x1400d84f4], 0
je 0x1400061b4
lea rcx, [rbp - 0x19]
call fcn.140003990
mov byte [0x1400d84f4], 0
mov rcx, qword [rax]
mov qword [0x1400d8510], rcx
lea rcx, [rbp - 0x19]
call fcn.140003990
mov rcx, qword [rax]
movabs rax, 0x431bde82d7b634db
mov qword [0x1400d8508], rcx
sub rcx, qword [0x1400d8510]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x14005e0dc]
mov dword [0x1400d84f0], edx
jl 0x140006269
cmp byte [0x1400e1c40], 0
je 0x140006269
mov edx, dword [0x1400d84b0]
lea r8, [0x1400d8460]
mov rcx, qword [0x1400d84a8]
mov r9d, r15d
mov word [0x1400d8460], r15w
call sym.fortnite_external.exe_interception_send
mov edx, dword [0x1400d84b0]
lea r8, [0x1400d8460]
mov rcx, qword [0x1400d84a8]
mov r9d, r15d
mov word [0x1400d8460], r12w
call sym.fortnite_external.exe_interception_send
lea rcx, [rbp - 0x19]
mov byte [0x1400d84f4], r15b
mov byte [0x1400e1c40], 0
call fcn.140003990
mov rcx, qword [rax]
mov qword [0x1400d84f8], rcx
mov rsi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x100]
mov r15, qword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xc0]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14004bed0
add rsp, 0xe0
pop rbp
ret