Function at 0x14001a591
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x108], 0
call fcn.1400c7d90
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x100], 0xc8
mov qword [rbp + 0xf8], __WSAFDIsSet
mov rax, qword [0x14190be18]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xe0]
mov rcx, rax
call fcn.1400a5cac
mov qword [rbp + 0xd8], rax
mov rax, qword [0x14190be18]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call fcn.1400a552c
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov rdx, rax
shr rdx, 0x3f
add rax, rdx
sar rax, 1
mov rdx, rax
mov rax, qword [rbp + 0xd8]
add rdx, rax
mov rax, qword [rbp + 0x100]
mov rcx, rax
shr rcx, 0x3f
add rax, rcx
sar rax, 1
neg rax
add rax, rdx
mov qword [rbp + 0xf0], rax
mov rax, qword [0x14190be18]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.1400a5d4c
mov qword [rbp + 0xb8], rax
mov rax, qword [0x14190be18]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call fcn.1400a5f48
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov rdx, rax
shr rdx, 0x3f
add rax, rdx
sar rax, 1
mov rdx, rax
mov rax, qword [rbp + 0xb8]
add rdx, rax
mov rax, qword [rbp + 0xf8]
mov rcx, rax
shr rcx, 0x3f
add rax, rcx
sar rax, 1
neg rax
add rax, rdx
mov qword [rbp + 0xe8], rax
mov rax, qword [0x14190b890]
mov qword [rbp + 0xa0], rax
mov r8, qword [rbp + 0x100]
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xf0]
mov edx, 0x80000004
mov qword [rsp + 0x30], rdx
mov rdx, qword [rbp + 0xa0]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0xf8]
mov qword [rsp + 0x20], rdx
mov r9, r8
mov r8, rcx
mov rdx, rax
mov ecx, 0
call fcn.1400a55b4
mov qword [rbp + 0x98], rax
mov ecx, 0xa
call fcn.1400bb588
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1a
mov r9d, 0xaa
mov r8d, reloc.WS2_32.dll_ntohs
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, 6
call fcn.14009e8f0
mov qword [rbp + 0x88], rax
mov ecx, 8
call fcn.1400bb588
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1a
mov r9d, 0xaa
mov r8d, 0x2d
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, 4
call fcn.14009e8f0
mov qword [rbp + 0x78], rax
mov ecx, 9
call fcn.1400bb588
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1a
mov r9d, 0xaa
mov r8d, 0x4b
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, 5
call fcn.14009e8f0
mov qword [rbp + 0x68], rax
mov rax, qword [0x14190bde0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], SafeArrayPutElement
mov r9d, 0xaa
mov r8d, 0x78
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, 7
call fcn.14009cad4
mov qword [rbp + 0x58], rax
call fcn.14004170e
mov qword [rbp + 0x50], rax
call fcn.1400a5dc4
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x120], rax
cmp qword [rbp + 0x120], 0
je 0x14001a952
call fcn.1400a9da0
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
jne 0x14001a94c
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0x332c
jne 0x14001a94f
call fcn.1400a9dbc
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 6
jne 0x14001a901
lea rax, [0x1418e9da0]
mov rcx, rax
call fcn.140094228
mov qword [rbp + 8], rax
jmp 0x14001a9d0
cmp qword [rbp + 0x20], 4
jne 0x14001a920
lea rax, [0x1418e9da0]
mov rcx, rax
call fcn.140094228
mov qword [rbp + 0x10], rax
jmp 0x14001a9d0
cmp qword [rbp + 0x20], 5
jne 0x14001a93f
lea rax, [0x1418e9da0]
mov rcx, rax
call fcn.140094228
mov qword [rbp + 0x18], rax
jmp 0x14001a9d0
cmp qword [rbp + 0x20], 7
je 0x14001a9cf
jmp 0x14001a950
nop
jmp 0x14001a961
nop
jmp 0x14001a961
nop
mov ecx, 0
call fcn.1400a5fd8
mov qword [rbp], rax
mov ecx, 0x1b
call sub.USER32.dll_GetKeyState
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 1
jle 0x14001a991
call fcn.1400a5a90
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14001a994
call fcn.14004170e
mov qword [rbp - 0x18], rax
jmp 0x14001a9d0
nop
jmp 0x14001a995
nop
mov ecx, reloc.WS2_32.dll_listen
call sub.USER32.dll_GetKeyState
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 1
jle 0x14001a9c5
call fcn.1400a5a90
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x14001a9c8
call fcn.14004170e
mov qword [rbp - 0x30], rax
jmp 0x14001a9d0
nop
jmp 0x14001a9c9
nop
nop
jmp 0x14001a87e
nop
mov ecx, 0
call fcn.1400a6000
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x108], 0
mov rax, qword [rbp + 0x108]
add rsp, 0x190
pop rbp
ret