Function at 0x180011bc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r9, qword [0x180202968]
mov rbx, r8
mov r13, rdx
mov rsi, rcx
mov rax, qword [r9 + 0x1af0]
mov byte [rax + 0x80], 1
mov rdi, qword [r9 + 0x1af0]
cmp byte [rdi + 0x83], 0
jne 0x18001247e
mov r14, qword [0x180202968]
mov rdx, rcx
mov rcx, rdi
mov qword [rbp - 0x29], r14
xor r8d, r8d
movaps xmmword [rsp + 0x90], xmm6
call fcn.180031d40
movss xmm0, dword [0x18006ea4c]
lea rcx, [rbp - 0x31]
mov r9b, 1
movss dword [rsp + 0x20], xmm0
xor r8d, r8d
mov dword [rbp + 0x7f], eax
mov rdx, rsi
mov r15d, eax
call fcn.18002e690
movss xmm6, dword [r14 + 0x1594]
addss xmm6, xmm6
addss xmm6, dword [rbp - 0x2d]
call fcn.18002e420
mov rdx, qword [rbx]
lea rcx, [rbp - 0x39]
movaps xmm3, xmm6
movaps xmm2, xmm0
call fcn.18002e310
movss xmm2, dword [rdi + 0xd0]
lea rcx, [rbp - 0x11]
movss xmm1, dword [rdi + 0xd4]
movaps xmm4, xmm2
movss xmm0, dword [rbp - 0x31]
movaps xmm3, xmm1
addss xmm0, dword [r14 + 0x15a8]
addss xmm4, dword [rbp - 0x39]
addss xmm3, dword [rbp - 0x35]
movss dword [rbp - 0x1d], xmm1
addss xmm0, xmm2
movss dword [rbp - 0x19], xmm4
movss dword [rbp - 0x15], xmm3
movss dword [rbp - 0x21], xmm0
movss xmm0, dword [rdi + 0xd0]
movss dword [rbp - 0x11], xmm0
movss xmm1, dword [rdi + 0xd4]
movss dword [rbp - 0xd], xmm1
movss dword [rbp - 9], xmm4
movss dword [rbp - 5], xmm3
movss xmm1, dword [r14 + 0x1594]
call fcn.180034270
xor r8d, r8d
lea rcx, [rbp - 0x11]
mov edx, r15d
call fcn.180033fe0
movaps xmm6, xmmword [rsp + 0x90]
test al, al
je 0x18001247e
xor edx, edx
mov qword [rsp + 0xf0], r12
cmp dword [r14 + 0x1b38], r15d
mov rcx, rdi
sete dl
call fcn.180031460
mov edx, r15d
lea rcx, [rbp - 0x21]
movzx esi, al
call fcn.180034120
test al, al
je 0x180011d6d
mov ecx, r15d
call fcn.18003c5a0
mov dword [r14 + 0x1f78], 1
cmp byte [r14 + 0x420], 0
je 0x180011d6d
mov al, 1
jmp 0x180011d6f
xor al, al
test sil, sil
jne 0x180011d91
test al, al
jne 0x180011d91
cmp byte [r14 + 0x420], al
je 0x180011dd9
cmp dword [r14 + 0x1b38], r15d
jne 0x180011dd9
call fcn.18002eea0
jmp 0x180011dd9
cmp dword [r14 + 0x1b38], r15d
je 0x180011dc6
xor eax, eax
lea rcx, [r14 + 0x14c]
mov dword [r14 + 0x138], eax
xor edx, edx
mov r8d, 0x200
mov byte [r14 + 0x13c], al
call sub.VCRUNTIME140.dll_memset
mov dword [r13], 0
mov rdx, rdi
mov ecx, r15d
call fcn.18003c070
mov rcx, rdi
call fcn.180031260
mov ebx, dword [r13]
xor r12b, r12b
cmp dword [r14 + 0x1b38], r15d
jne 0x180011ed8
xor edi, edi
lea rsi, [r14 + 0x138]
lea r13d, [rdi + 5]
lea r15d, [rdi + 6]
nop
cmp byte [rsi], 0
jne 0x180011e21
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180011e21
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180011e6a
mov ecx, edi
test edi, edi
je 0x180011e3d
sub ecx, 1
je 0x180011e36
cmp ecx, 1
jne 0x180011e42
lea ebx, [rcx + 3]
jmp 0x180011e42
mov ebx, 2
jmp 0x180011e42
mov ebx, 1
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, r13d
cmovne ebx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov r12b, 1
cmovne ebx, r13d
call fcn.18002eea0
inc edi
inc rsi
cmp edi, r15d
jle 0x180011e00
mov r15d, dword [rbp + 0x7f]
mov r13, qword [rbp + 0x6f]
test r12b, r12b
jne 0x180011eac
mov edi, 8
lea rsi, [r14 + 0x154]
nop dword [rax]
cmp byte [rsi], 0
je 0x180011e9f
mov ebx, edi
mov r12b, 1
call fcn.18002eea0
inc edi
inc rsi
cmp edi, 0xa5
jle 0x180011e90
mov rax, qword [0x180202968]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x180011ed4
xor edx, edx
call fcn.180033cf0
test al, al
je 0x180011ed4
mov dword [r13], 0
call fcn.18002eea0
jmp 0x180011ed8
mov dword [r13], ebx
mov eax, dword [r13]
lea rdi, str.None
test eax, eax
je 0x180012252
cmp dword [r14 + 0x1b38], r15d
je 0x18001225f
dec eax
cmp eax, 0x9f
ja case.0x180011f20.3
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x125a4]
mov ecx, dword [rdx + rax*4 + 0x12494]
add rcx, rdx
jmp rcx
lea rdi, str.control
jmp 0x180012395
lea rdi, str.shift
jmp 0x180012395
lea rdi, [0x18006d3e0]
jmp 0x180012395
lea rdi, [0x18006d3e4]
jmp 0x180012395
lea rdi, str.mouse_1
jmp 0x180012395
lea rdi, str.mouse_2
jmp 0x180012395
lea rdi, str.mouse_3
jmp 0x180012395
lea rdi, str.mouse_4
jmp 0x180012395
lea rdi, str.mouse_5
jmp 0x180012395
lea rdi, str.page_up
jmp 0x180012395
lea rdi, str.page_down
jmp 0x180012395
lea rdi, [0x18006d424]
jmp 0x180012395
lea rdi, str.home
jmp 0x180012395
lea rdi, str.left_arrow
jmp 0x180012395
lea rdi, str.up_arrow
jmp 0x180012395
lea rdi, str.right_arrow
jmp 0x180012395
lea rdi, str.down_arrow
jmp 0x180012395
lea rdi, str.insert
jmp 0x180012395
lea rdi, str.delete
jmp 0x180012395
lea rdi, str.abcdefghijklmnopqrstuvwxyz
jmp 0x180012395
lea rdi, [0x18006d480]
jmp 0x180012395
lea rdi, [0x18006d484]
jmp 0x180012395
lea rdi, [0x18006d488]
jmp 0x180012395
lea rdi, [0x18006d48c]
jmp 0x180012395
lea rdi, [0x18006d490]
jmp 0x180012395
lea rdi, [0x18006d494]
jmp 0x180012395
lea rdi, [0x18006d498]
jmp 0x180012395
lea rdi, [0x18006d49c]
jmp 0x180012395
lea rdi, [0x18006d4a0]
jmp 0x180012395
lea rdi, [0x18006d4a4]
jmp 0x180012395
lea rdi, [0x18006d4a8]
jmp 0x180012395
lea rdi, [0x18006d4ac]
jmp 0x180012395
lea rdi, [0x18006d4b0]
jmp 0x180012395
lea rdi, [0x18006d4b4]
jmp 0x180012395
lea rdi, [0x18006d4b8]
jmp 0x180012395
lea rdi, [0x18006d4bc]
jmp 0x180012395
lea rdi, [0x18006d4c0]
jmp 0x180012395
lea rdi, [0x18006d4c4]
jmp 0x180012395
lea rdi, [0x18006d4c8]
jmp 0x180012395
lea rdi, [0x18006d4cc]
jmp 0x180012395
lea rdi, [0x18006d4d0]
jmp 0x180012395
lea rdi, [0x18006d4d4]
jmp 0x180012395
lea rdi, [0x18006d4d8]
jmp 0x180012395
lea rdi, [0x18006d4dc]
jmp 0x180012395
lea rdi, [0x18006d4e0]
jmp 0x180012395
lea rdi, str.numpad_0
jmp 0x180012395
lea rdi, str.numpad_1
jmp 0x180012395
lea rdi, str.numpad_2
jmp 0x180012395
lea rdi, str.numpad_3
jmp 0x180012395
lea rdi, str.numpad_4
jmp 0x180012395
lea rdi, str.numpad_5
jmp 0x180012395
lea rdi, str.numpad_6
jmp 0x180012395
lea rdi, str.numpad_7
jmp 0x180012395
lea rdi, str.numpad_8
jmp 0x180012395
lea rdi, str.numpad_9
jmp 0x180012395
lea rdi, [0x18006d584]
jmp 0x180012395
lea rdi, [0x18006d588]
jmp 0x180012395
lea rdi, [0x18006d58c]
jmp 0x180012395
lea rdi, [0x18006d590]
jmp 0x180012395
lea rdi, [0x18006d594]
jmp 0x180012395
lea rdi, [0x18006d598]
jmp 0x180012395
lea rdi, [0x18006d59c]
jmp 0x180012395
lea rdi, [0x18006d5a0]
jmp 0x180012395
lea rdi, [0x18006d5a4]
jmp 0x180012395
lea rdi, [0x18006d5a8]
jmp 0x180012395
lea rdi, [0x18006d5ac]
jmp 0x180012395
lea rdi, [0x18006d5b0]
jmp 0x180012395
lea rdi, str.unknown
jmp 0x180012395
cmp dword [r14 + 0x1b38], r15d
jne 0x180012395
lea rcx, [rbp + 0x7f]
lea rdi, str.Press
call fcn.1800290d0
mov rbx, qword [rbp + 0x7f]
movabs rax, 0x7ffffffffb3b4bff
cmp rbx, rax
jge 0x18001228b
add rbx, 0x4c4b400
jmp 0x180012295
movabs rbx, 0x7fffffffffffffff
movabs r15, 0xb2f4fc0794908cf3
movabs r13, 0x4e94914f0000
movabs r14, 0x431bde82d7b634db
call sub.MSVCP140.dll__Query_perf_frequency
mov rsi, rax
call sub.MSVCP140.dll__Query_perf_counter
mov rcx, rax
cmp rsi, 0x989680
jne 0x1800122d2
imul rax, rcx, 0x64
jmp 0x180012343
cmp rsi, 0x16e3600
jne 0x180012325
mov rax, r15
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
mov rax, r15
imul rcx, rcx, 0x3b9aca00
imul rcx
lea rax, [rcx + rdx]
sar rax, 0x18
mov rcx, rax
shr rcx, 0x3f
add rax, rcx
imul rcx, r8, 0x3b9aca00
jmp 0x180012340
cqo
idiv rsi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rbx
jge 0x180012391
mov rcx, rbx
sub rcx, rax
cmp rcx, r13
jl 0x180012362
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x1800122b3
mov rax, r14
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x180012385
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x1800122b3
mov r14, qword [rbp - 0x29]
movss xmm4, dword [rbp - 0x21]
lea rcx, [rbp - 1]
movss xmm5, dword [rbp - 0x1d]
lea rax, [r14 + 0x15dc]
movss xmm0, dword [rbp - 0x39]
lea rdx, [rbp + 0x7f]
movss xmm1, dword [rbp - 0x35]
addss xmm0, xmm4
addss xmm1, xmm5
mov qword [rsp + 0x30], rcx
movss dword [rbp - 1], xmm4
lea rcx, [rbp - 0x29]
movss dword [rbp + 3], xmm5
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8, rdi
movss dword [rbp + 7], xmm0
movss xmm0, dword [rbp - 0x19]
movss dword [rbp + 0xb], xmm1
movss xmm3, dword [r14 + 0x1590]
movss xmm2, dword [r14 + 0x1594]
subss xmm0, xmm3
movss xmm1, dword [rbp - 0x15]
addss xmm3, xmm4
subss xmm1, xmm2
mov qword [rsp + 0x20], 0
addss xmm2, xmm5
movss dword [rbp + 0x7f], xmm0
movss dword [rbp - 0x29], xmm3
movss dword [rbp + 0x83], xmm1
movss dword [rbp - 0x25], xmm2
call fcn.18003a4b0
movss xmm0, dword [rbp - 0x31]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x180012470
movss xmm1, dword [rbp - 0x1d]
mov r9b, 1
addss xmm1, dword [r14 + 0x1594]
movss xmm0, dword [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rbp + 0x67]
unpcklps xmm0, xmm1
movq rcx, xmm0
call fcn.18003a390
movzx eax, r12b
mov r12, qword [rsp + 0xf0]
jmp 0x180012480
xor al, al
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret