Function at 0x1800152e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x208
mov dword [rsp + 0x38], 0
mov eax, dword [0x18032c3a0]
mov rcx, qword [rsp + 0x220]
add rax, qword [rcx + 0x38]
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [0x18027e0e0]
call fcn.180014db0
movzx eax, al
test eax, eax
jne 0x180015328
jmp 0x180015693
cmp dword [rsp + 0x38], 0xffffffff
jne 0x180015334
jmp 0x180015693
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x3c]
call fcn.1800023f0
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
lea rax, [rsp + 0x58]
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call fcn.180003ca0
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
call fcn.1800151c0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rcx, [0x18032be00]
call fcn.180006010
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [0x18027e0e0]
call fcn.1800156a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180015440
jmp 0x180015693
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x38]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [0x18027e0e0]
call fcn.180011830
movzx eax, al
test eax, eax
jne 0x180015482
jmp 0x180015693
lea rcx, [rsp + 0x110]
call fcn.180011960
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1800178b0
movzx eax, al
test eax, eax
jne 0x1800154bb
lea rcx, [rsp + 0x110]
call fcn.180011ca0
jmp 0x180015693
mov byte [rsp + 0x30], 0
movzx eax, byte [0x18032c2dc]
test eax, eax
je 0x180015509
mov rax, qword [rsp + 0x220]
mov ecx, dword [rsp + 0x1dc]
cmp dword [rax + 0xcc], ecx
je 0x1800154f6
cmp dword [rsp + 0x1d8], 0
jle 0x1800154f6
mov dword [rsp + 0x40], 1
jmp 0x1800154fe
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
jmp 0x18001552e
cmp dword [rsp + 0x1d8], 0
jle 0x18001551d
mov dword [rsp + 0x44], 1
jmp 0x180015525
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x180015549
lea rcx, [rsp + 0x110]
call fcn.180011ca0
jmp 0x180015693
mov eax, dword [0x18032c400]
and eax, 1
test eax, eax
jne 0x180015572
mov eax, dword [0x18032c400]
or eax, 1
mov dword [0x18032c400], eax
lea rcx, [0x18032c3f8]
call fcn.180015a10
nop
lea rcx, [rsp + 0x68]
call fcn.180015a10
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x35], al
lea rdx, [0x18027e074]
lea rcx, [rsp + 0xb0]
call fcn.180014b90
mov qword [rsp + 0xa0], rax
lea r8, [0x18032c3f8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.180014c10
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.180014ce0
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x36], al
movzx edx, byte [rsp + 0x35]
movzx ecx, byte [rsp + 0x36]
call fcn.1800152b0
movzx eax, al
test eax, eax
je 0x180015686
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x18001562b
mov byte [rsp + 0x31], 1
jmp 0x180015630
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x37]
test eax, eax
jne 0x18001567a
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0x68]
mov qword [0x18032c3f8], rax
lea rcx, [rsp + 0x110]
call fcn.180011ca0
add rsp, 0x208
pop rdi
pop rsi
ret