Function at 0x14004bff0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [r11 + 0x10], rbx
xorps xmm0, xmm0
mov rbx, qword [0x14014b0c8]
mov qword [r11 + 0x18], rsi
mov rsi, rcx
movups xmmword [rcx + 0x60], xmm0
mov qword [r11 + 0x20], rdi
movups xmmword [rcx + 0x70], xmm0
mov qword [r11 - 0x10], r12
movups xmmword [rcx + 0x80], xmm0
xor ecx, ecx
mov qword [r11 - 0x20], r14
call fcn.14002c090
movaps xmm0, xmmword [0x1400584f0]
xor r12d, r12d
mov qword [rbx + 0x37f0], 0x40800000
movaps xmm1, xmm0
movups xmmword [rbx + 0x38c8], xmm0
movups xmmword [rbx + 0x38f8], xmm0
movaps xmm0, xmmword [0x1400584c0]
movups xmmword [rbx + 0x39f8], xmm0
movaps xmm0, xmmword [0x1400584e0]
movups xmmword [rbx + 0x3a08], xmm0
movups xmmword [rbx + 0x3a18], xmm1
cmp dword [rsi + 0x68], 0x12
je 0x14004c353
mov qword [rsp + 0xb0], r13
movabs rdi, 0x7fffffffffffffff
mov qword [rsp + 0xa0], r15
movabs r13, 0x112e0be826d694b3
movaps xmmword [rsp + 0x90], xmm6
movabs r15, 0x311cdad160000
movsd xmm6, qword [0x1400581b8]
mov rdx, qword [rsi + 0x50]
lea rcx, [rsi + 0x60]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004c109
lea rcx, [rsi + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsi + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rsi + 0x58]
jne 0x14004c148
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [rsi + 0x50]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r12d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 0x58]
lea rdx, [rbp - 0x11]
xorps xmm0, xmm0
mov qword [rbp - 0x19], r12
movups xmmword [rbp - 0x11], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rsi + 0x58]
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x19]
lea rcx, [rbp - 1]
mov rbx, qword [0x14014b0c8]
mov dword [rbp - 0x11], eax
mov eax, dword [rbp - 0x15]
mov dword [rbp - 0xd], eax
mov rax, qword [rsi + 0x58]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 1]
mov ecx, 1
sub eax, dword [rbp - 0x19]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
mov eax, dword [rbp + 3]
sub eax, dword [rbp - 0x15]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004c1f4
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x14004c1fb
mov byte [rbx + 0xe04], r12b
mov eax, dword [0x14014b510]
mov ecx, dword [rbp - 5]
mov edx, dword [rbp - 9]
cmp dword [rbp - 0x11], eax
jne 0x14004c227
cmp edx, dword [0x14014b518]
jne 0x14004c227
mov eax, dword [0x14014b514]
cmp dword [rbp - 0xd], eax
jne 0x14004c227
cmp ecx, dword [0x14014b51c]
je 0x14004c279
movups xmm0, xmmword [rbp - 0x11]
mov r9d, dword [rbp - 0x15]
mov r8d, dword [rbp - 0x19]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [rsi + 0xe0], edx
mov dword [rsi + 0xe4], ecx
mov dword [rsi + 0x10], edx
xor edx, edx
mov dword [rsi + 0x14], ecx
mov rcx, qword [rsi + 0x50]
movups xmmword [0x14014b510], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 8]
lea rdx, [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140044890
mov rcx, rax
call fcn.140008890
lea rcx, [rbp - 0x29]
call fcn.1400447b0
mov rax, qword [rbp - 0x29]
movabs rcx, 0x7ffffffffffffffd
cmp rax, rcx
jg 0x14004c2a6
lea rdi, [rax + 1]
lea rcx, [rbp - 0x21]
call fcn.1400447b0
mov rbx, qword [rbp - 0x21]
cmp rdi, rbx
je 0x14004c319
jl 0x14004c319
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
xorps xmm0, xmm0
mov rax, rdi
sub rax, rbx
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
jbe 0x14004c2e1
mov rax, r15
lea r8, [rcx + r15]
jmp 0x14004c2e5
lea r8, [rax + rcx]
add rcx, rax
mov rax, r13
imul rcx
lea rcx, [rbp + 7]
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
mov qword [rbp + 7], rdx
sub r8d, eax
mov dword [rbp + 0xf], r8d
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x14004c2a6
call fcn.1400032f0
mov ecx, dword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsi + 0x68], 0x12
movabs rdi, 0x7fffffffffffffff
jne 0x14004c0d5
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb0]
mov rcx, qword [0x14014b0c8]
mov r14, qword [rsp + 0xa8]
test rcx, rcx
je 0x14004c370
mov rdi, qword [rcx + 0xa0]
jmp 0x14004c373
mov rdi, r12
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14004c3ec
mov rbx, qword [rcx + 0xa0]
test rbx, rbx
je 0x14004c3ec
cmp qword [rbx], r12
je 0x14004c3ec
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14004c3aa
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14014b0c8]
mov qword [rbx + 8], r12
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14004c3c7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14014b0c8]
mov qword [rbx + 0x10], r12
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14004c3ec
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14014b0c8]
mov qword [rbx + 0x18], r12
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], r12
mov rdx, qword [rdi]
test rdx, rdx
je 0x14004c404
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14014b0c8]
mov qword [rsi + 0x88], r12
mov qword [rsi + 0x98], r12
mov rsi, qword [rsp + 0xe0]
test rcx, rcx
je 0x14004c425
dec dword [rcx + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14014b0c8]
test rax, rax
je 0x14004c443
mov rbx, qword [rax + 0x98]
jmp 0x14004c446
mov rbx, r12
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x14004c460
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14014b0c8]
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x90], r12
mov rdi, qword [rsp + 0xe8]
test rax, rax
je 0x14004c481
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14014b0c8]
mov qword [0x14014b0c8], rbx
call fcn.14000fb40
mov qword [0x14014b0c8], r12
mov r12, qword [rsp + 0xb8]
test rbx, rbx
je 0x14004c4d4
mov rcx, rbx
call fcn.140024b20
mov rax, qword [0x14014b0c8]
test rax, rax
je 0x14004c4cb
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140044890
mov rbx, rax
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14004c4f8
mov rdx, qword [rcx]
call qword [rdx + 0x150]
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0xd8]
test rcx, rcx
je 0x14004c50e
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.140044890
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14004ef80
add rsp, 0xc0
pop rbp
ret