Function at 0x180083dc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180315280]
xor rax, rsp
mov qword [rbp], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov edx, dword [0x180316334]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180318460], edx
jle 0x180083e68
lea rcx, [0x180318460]
call fcn.1800a9ad8
cmp dword [0x180318460], 0xffffffff
jne 0x180083e68
movsxd rbx, dword [r12 + 0x58]
mov qword [0x180318450], r13
lea rcx, [rsp + 0x20]
call fcn.18009abf0
mov rdx, qword [rax]
mov qword [0x180318450], rdx
mov qword [0x180318458], rbx
lea rcx, [0x180318460]
call fcn.1800a9a6c
cmp byte [r12 + 0x50], r13b
je 0x18008450f
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18008450f
lea rdx, [rsp + 0x60]
mov rcx, qword [0x180316800]
call fcn.180065cc0
nop
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.180069ab0
mov rsi, rax
mov rdi, qword [0x180316340]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 5
lea rdx, str.BLOCK
lea rcx, [rsp + 0x78]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x78]
lea rcx, [0x180318130]
call fcn.180072650
mov rbx, rax
mov rdx, qword [0x180316340]
lea rcx, [0x180318130]
call fcn.1800723b0
mov rcx, qword [rdi]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call r9
mov r8, rax
mov qword [rbp - 0x68], rdi
mov byte [rbp - 0x58], 0
mov qword [rbp - 0x60], rax
mov rdx, qword [rsi + 8]
cmp rdx, rax
jne 0x180083f31
mov bl, 1
jmp 0x180083f54
test rdx, rdx
je 0x180083f52
test r8, r8
je 0x180083f52
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
sete bl
jmp 0x180083f54
xor bl, bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180083f93
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083f8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083f8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a9fd4
movdqa xmm0, xmmword [0x180304580]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
cmp byte [rsp + 0x38], 0
je 0x180083fd7
cmp qword [0x180316340], 0
je 0x180083fd7
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180083fd7
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rsp + 0x30], r13
cmp byte [rsp + 0x70], 0
je 0x180084005
cmp qword [0x180316340], 0
je 0x180084005
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x180084005
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test bl, bl
je 0x1800844ef
lea rdx, [rbp - 0x68]
mov rcx, qword [0x180316800]
call fcn.180065cc0
nop
mov dword [rsp + 0x20], 0x101
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.180069c40
mov rsi, rax
mov dword [rsp + 0x20], 0x103
mov rdi, qword [0x180316340]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x1802f30dc]
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
mov dword [rsp + 0x20], 0x107
lea rdx, [rsp + 0x40]
lea rcx, [0x180316850]
call fcn.180072650
mov rbx, rax
mov rdx, qword [0x180316340]
lea rcx, [0x180316850]
call fcn.1800723b0
mov rcx, qword [rdi]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call r9
mov r8, rax
mov qword [rsp + 0x78], rdi
mov byte [rbp - 0x78], 0
mov qword [rbp - 0x80], rax
mov ebx, 0x30f
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsi + 8]
cmp rdx, rax
je 0x1800841fb
test rdx, rdx
je 0x1800840fb
test rax, rax
je 0x1800840fb
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x1800841fb
lea rdx, [rbp - 0x18]
mov rcx, qword [0x180316800]
call fcn.180065cc0
nop
mov dword [rsp + 0x20], 0x31f
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180069c40
mov r15, rax
mov dword [rsp + 0x20], 0x33f
mov rsi, qword [0x180316340]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 4
lea rdx, str.DOWN
lea rcx, [rbp - 0x50]
call fcn.180004ea0
nop
mov dword [rsp + 0x20], 0x37f
lea rdx, [rbp - 0x50]
lea rcx, [0x180316850]
call fcn.180072650
mov rbx, rax
mov rdx, qword [0x180316340]
lea rcx, [0x180316850]
call fcn.1800723b0
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call r9
mov rdi, rax
mov qword [rsp + 0x28], rsi
xor r14b, r14b
mov byte [rsp + 0x38], r14b
test rax, rax
je 0x1800841bb
mov qword [rsp + 0x30], rax
mov r8, rax
jmp 0x1800841c6
mov rdi, r13
mov qword [rsp + 0x30], r13
mov r8, r13
mov ebx, 0x7ff
mov dword [rsp + 0x20], ebx
mov rdx, qword [r15 + 8]
cmp rdx, r8
je 0x18008420b
test rdx, rdx
je 0x1800841f6
test r8, r8
je 0x1800841f6
mov rcx, qword [r15]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x18008420b
mov r15b, 1
jmp 0x18008420e
movzx r14d, byte [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
xor r15b, r15b
test bl, bl
jns 0x180084242
btr ebx, 7
mov dword [rsp + 0x20], ebx
test r14b, r14b
je 0x180084242
cmp qword [0x180316340], 0
je 0x180084242
test rdi, rdi
je 0x180084242
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, rdi
mov rcx, rsi
call r8
nop
test bl, 0x40
je 0x180084299
and ebx, 0xffffffbf
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180084288
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180084283
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180084283
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a9fd4
movdqa xmm0, xmmword [0x180304580]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
test bl, 0x20
je 0x1800842d3
and ebx, 0xffffffdf
mov dword [rsp + 0x20], ebx
cmp byte [rbp - 0x20], 0
je 0x1800842d3
cmp qword [0x180316340], 0
je 0x1800842d3
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1800842d3
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rbp - 0x28], r13
test bl, 0x10
je 0x18008430d
and ebx, 0xffffffef
mov dword [rsp + 0x20], ebx
cmp byte [rbp - 8], 0
je 0x18008430d
cmp qword [0x180316340], 0
je 0x18008430d
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x18008430d
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rbp - 0x10], r13
test bl, 8
je 0x180084315
and ebx, 0xfffffff7
test bl, 4
je 0x180084370
and ebx, 0xfffffffb
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18008435d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180084358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180084358
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a9fd4
movdqa xmm0, xmmword [0x180304580]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
test bl, 2
je 0x1800843ae
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
cmp byte [rsp + 0x70], 0
je 0x1800843ae
cmp qword [0x180316340], 0
je 0x1800843ae
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1800843ae
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rsp + 0x68], r13
test bl, 1
je 0x1800843de
cmp byte [rbp - 0x58], 0
je 0x1800843de
cmp qword [0x180316340], 0
je 0x1800843de
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1800843de
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test r15b, r15b
je 0x1800844ef
lea rcx, [rsp + 0x20]
call fcn.18009abf0
mov r8, qword [rsp + 0x20]
mov rcx, r8
sub rcx, qword [0x180318450]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x180318458]
je 0x18008443b
mov ecx, 1
mov r9d, 0xff
cmovl ecx, r9d
test cl, cl
js 0x1800844ef
mov qword [0x180318450], r8
mov rdi, qword [0x180316800]
cmp qword [rdi + 8], 0
je 0x1800844e1
mov rbx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xf
lea rdx, str.rightClickMouse
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x40]
lea rcx, [0x180316920]
call fcn.180072750
mov r8, rax
mov rdx, qword [rdi + 8]
mov rcx, rbx
call fcn.1800653b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800844e1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800844dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800844dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a9fd4
xor edx, edx
mov rcx, qword [0x180316800]
call fcn.1800665a0
movsxd rbx, dword [r12 + 0x58]
lea rcx, [rsp + 0x20]
call fcn.18009abf0
mov rcx, qword [rax]
mov qword [0x180318450], rcx
mov qword [0x180318458], rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800a9a10
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret