Function at 0x1400a01f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x140], xmm8
vmovaps xmmword [rbp + 0x130], xmm7
vmovaps xmmword [rbp + 0x120], xmm6
and rsp, 0xffffffffffffffe0
mov rsi, rcx
mov rax, qword [0x140114500]
xor rax, rbp
mov qword [rsp + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
test rax, rax
je 0x1400a0255
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rsi
call fcn.14009fae0
test al, al
je 0x1400a037d
call fcn.14004e2b0
mov rbx, rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14006d080
mov byte [rsp + 0x60], 0
movabs rax, 0x500000005
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x90], 0x3f99999a
lea r15, [0x1400afca0]
mov qword [rsp + 0x78], r15
mov r14, qword [rbx + 0x30]
call fcn.14004e2b0
mov rcx, qword [rax + 0x30]
call fcn.140076260
mov rcx, qword [rsi + 8]
vmovss xmm3, dword [rcx + 0x268]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea rdx, [0x1400bc070]
mov rcx, r14
mov r8d, 0x305e8
call fcn.14006da80
mov rcx, qword [0x1401145d0]
mov qword [rcx], rax
mov rcx, qword [rbx + 0x30]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
lea rdx, [0x1400ec660]
vmovss xmm3, dword [0x1400a7250]
mov r8d, 0x27e78
call fcn.14006da80
mov rcx, qword [0x1401145d0]
mov qword [rcx + 8], rax
mov rcx, qword [rsi]
call fcn.140039b40
cmp dword [rsi + 0x90], 0x12
jne 0x1400a06f7
call fcn.14007bce0
call fcn.14007c240
xor ecx, ecx
call fcn.140048eb0
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400a0365
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400a06bb
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a06bb
movabs rax, 0x845e3ed6ae51d3ba
mov qword [rsp + 0xf0], rax
movabs rax, 0xba22c1faac80aab4
mov qword [rsp + 0xf8], rax
movabs rax, 0xc17e53b3da22aae9
mov qword [rsp + 0x40], rax
movabs rcx, 0xba22c1fadeefd8c6
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
vmovaps xmm0, xmmword [rsp + 0xf0]
vxorps xmm0, xmm0, xmmword [rdx]
vmovaps xmmword [rsp + 0xf0], xmm0
movabs rdx, 0xa61121c3fa47c2bd
mov qword [rsp + 0x40], rdx
movabs rdx, 0x9d4ca099fe82b9b4
mov qword [rsp + 0x48], rdx
movabs rdx, 0xdcc7f6b448957717
mov qword [rsp + 0x50], rdx
movabs rdx, 0x55519281a60d146a
mov qword [rsp + 0x58], rdx
movabs rdx, 0xac7604ab589236cc
mov qword [rsp + 0x60], rdx
movabs rdx, 0x6eb2a3dacc6edfa7
mov qword [rsp + 0x68], rdx
movabs rdx, 0xc9a5e5c209d031b4
mov qword [rsp + 0x70], rdx
movabs rdx, 0xd5f473fff05050b
mov qword [rsp + 0x78], rdx
movabs rdx, 0xf3c7dfc8c9932abe
mov qword [rsp + 0x80], rdx
movabs rdx, 0xeabe4c7cc62890db
mov qword [rsp + 0x88], rdx
movabs rdx, 0x870d1dde7382ad32
mov qword [rsp + 0x90], rdx
movabs rdx, 0xfc1fb3ccbb14cbdc
mov qword [rsp + 0x98], rdx
movabs rdx, 0x54c570c205cd9455
mov qword [rsp + 0xa0], rdx
movabs rdx, 0x5e778c473158ea00
mov qword [rsp + 0xa8], rdx
movabs rdx, 0x617fbdafb9bbc5ef
mov qword [rsp + 0xb0], rdx
movabs rdx, 0x9c66b088fbd51d60
mov qword [rsp + 0xb8], rdx
movabs rdx, 0xc769124d7d750c1b
mov qword [rsp + 0xc0], rdx
movabs rdx, 0xc00d80aac139acd6
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
movabs rax, 0xfcb384d53ce65763
mov qword [rsp + 0x110], rax
movabs rax, 0x7534e1f4c76e7108
mov qword [rsp + 0x118], rax
movabs rax, 0x8c4f7ccf6bf616ad
mov qword [rsp + 0x120], rax
movabs rax, 0x792c6b6b90ab0ca
mov qword [rsp + 0x128], rax
movabs rax, 0xa7cc96b160bd11c7
mov qword [rsp + 0x130], rax
movabs rax, 0x747f2a508d63256c
mov qword [rsp + 0x138], rax
movabs rax, 0x83aab0abe9e15fd1
mov qword [rsp + 0x140], rax
movabs rax, 0x98ea6c52b44de4ae
mov qword [rsp + 0x148], rax
movabs rax, 0xeb6c69ad1deb8d4b
mov qword [rsp + 0x150], rax
movabs rax, 0x9977c7ecdc7aa2b0
mov qword [rsp + 0x158], rax
movabs rax, 0x74b103a771acf875
mov qword [rsp + 0x160], rax
movabs rax, 0x2d12e12e45369f72
mov qword [rsp + 0x168], rax
movabs rax, 0x4107d4c999d4b1cf
mov qword [rsp + 0x170], rax
movabs rax, 0xf314c0a888bc7514
mov qword [rsp + 0x178], rax
movabs rax, 0xc769126310106079
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rdx
lea rax, [rsp + 0x100]
vmovaps ymm0, ymmword [rsp + 0x40]
vxorps ymm0, ymm0, ymmword [rax]
vmovaps ymmword [rsp + 0x40], ymm0
vmovaps ymm0, ymmword [rsp + 0x60]
vxorps ymm0, ymm0, ymmword [rax + 0x20]
vmovaps ymmword [rsp + 0x60], ymm0
vmovaps ymm0, ymmword [rsp + 0x80]
vxorps ymm0, ymm0, ymmword [rax + 0x40]
vmovaps ymmword [rsp + 0x80], ymm0
vmovaps ymm0, ymmword [rsp + 0xa0]
vxorps ymm0, ymm0, ymmword [rax + 0x60]
vmovaps ymmword [rsp + 0xa0], ymm0
vmovaps xmm0, xmmword [rsp + 0xc0]
vxorps xmm0, xmm0, xmmword [rax + 0x80]
vmovaps xmmword [rsp + 0xc0], xmm0
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0xf0]
xor ecx, ecx
mov r9d, 0x30
vzeroupper
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x198]
xor rcx, rbp
call fcn.1400a1e40
vmovaps xmm6, xmmword [rbp + 0x120]
vmovaps xmm7, xmmword [rbp + 0x130]
vmovaps xmm8, xmmword [rbp + 0x140]
lea rsp, [rbp + 0x158]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdi, [rsi + 0x88]
mov r12, qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r15, qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rbx, [rsp + 0x100]
vmovaps xmm6, xmmword [0x1400afd00]
vmovss xmm7, dword [0x1400a6a70]
vmovss xmm8, dword [0x1400a6a7c]
jmp 0x1400a0755
mov rcx, qword [0x140114638]
call fcn.14000e0e0
nop word [rax + rax]
mov rcx, rsi
call fcn.1400a00e0
cmp dword [rsi + 0x90], 0x12
je 0x1400a0338
mov rdx, qword [rsi + 0xc8]
mov dword [rsp + 0x20], 1
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400a0789
mov rcx, rdi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, 0x2d
call r12
test al, 1
je 0x1400a07a0
mov rax, qword [rsi + 8]
xor byte [rax + 0x258], 1
mov r13, qword [rsi + 0xc0]
call r15
mov r14b, 1
cmp r13, rax
je 0x1400a07d7
mov r13, qword [rsi + 0xc0]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp r13, rax
je 0x1400a07d7
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r13, rax
call r15
cmp r13, rax
sete r14b
call fcn.14004e2b0
mov r13, rax
mov qword [rsp + 0x100], 0
mov rcx, qword [rsi + 0xc0]
mov rdx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_GetCursorPos]
vmovq xmm0, qword [rsp + 0xf0]
vmovq xmm1, qword [rsp + 0x100]
vpsubd xmm0, xmm0, xmm1
vcvtdq2ps xmm0, xmm0
vmovlps qword [r13 + 0xe38], xmm0
mov ecx, 1
call r12
movzx eax, ax
mov ecx, eax
shr ecx, 0xf
mov byte [r13 + 0xe40], cl
test ax, ax
jns 0x1400a085e
mov byte [r13 + 0x3858], 1
mov rax, qword [r13 + 0xe38]
mov qword [r13 + 0x3808], rax
call fcn.14007c0b0
call fcn.14007c2a0
call fcn.14004f550
test r14b, r14b
je 0x1400a0740
mov rcx, qword [rsi]
mov eax, dword [rcx]
cmp eax, 2
je 0x1400a08aa
test eax, eax
jne 0x1400a0740
mov rax, qword [0x1401145d0]
mov rcx, qword [rax + 8]
call fcn.14005e2a0
mov rcx, qword [rsi]
call fcn.140041770
call fcn.14005e3c0
jmp 0x1400a0740
call fcn.140039c20
mov rax, qword [rsi + 8]
cmp byte [rax + 0x258], 0
je 0x1400a072e
mov rax, qword [0x1401145d0]
mov rcx, qword [rax + 8]
call fcn.14005e2a0
lea rcx, [rsp + 0xf0]
call fcn.1400601c0
call fcn.14004e150
mov r13, rax
vmovaps xmmword [rsp + 0x100], xmm6
mov rcx, rbx
call fcn.1400450c0
vmovss xmm0, dword [rsp + 0xf0]
vmovss xmm1, dword [rsp + 0xf4]
vaddss xmm2, xmm0, xmm7
vmovss dword [rsp + 0x38], xmm2
vmovss dword [rsp + 0x3c], xmm1
vaddss xmm0, xmm8, xmm0
vmovss dword [rsp + 0x30], xmm0
vmovss dword [rsp + 0x34], xmm1
mov dword [rsp + 0x20], 0x3f800000
mov rcx, r13
lea rdx, [rsp + 0x30]
mov r14, r15
mov r15, rbx
lea rbx, [rsp + 0x38]
mov r8, rbx
mov r9d, eax
call fcn.14006b220
call fcn.14004e150
mov r13, rax
vmovaps xmmword [rsp + 0x100], xmm6
mov rcx, r15
call fcn.1400450c0
vmovss xmm0, dword [rsp + 0xf0]
vmovss xmm1, dword [rsp + 0xf4]
vaddss xmm2, xmm1, xmm7
vmovss dword [rsp + 0x38], xmm0
vmovss dword [rsp + 0x3c], xmm2
vaddss xmm1, xmm8, xmm1
vmovss dword [rsp + 0x30], xmm0
vmovss dword [rsp + 0x34], xmm1
mov dword [rsp + 0x20], 0x3f800000
mov rcx, r13
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rbx, r15
mov r15, r14
mov r9d, eax
call fcn.14006b220
mov rcx, qword [rsi]
call fcn.140039c30
call fcn.14005e3c0
jmp 0x1400a072e