Function at 0x180009520
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x18000993f
cmp qword [rcx + 0x18], 0
je 0x18000993f
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x18000993f
cmp qword [rcx + 0x28], 0
je 0x18000993f
mov rsi, qword [rax + 0x50]
test rsi, rsi
je 0x18000993f
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
shr dil, 7
not dil
and dil, 1
mov rcx, qword [rbx + 0x10]
mov r8, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [r8 + 0x68]
nop
xor r14d, r14d
cmp qword [rsp + 0x70], r14
je 0x180009654
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov byte [rsp + 0x20], r14b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x42c
call qword [rax + 0x120]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov edx, 0x439
lea r8d, [r14 + 1]
call qword [rax + 0x120]
mov dword [rsp + 0x30], 0xffffffff
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov byte [rsp + 0x20], 1
movzx r9d, dil
lea r8, [rsp + 0x60]
mov rdx, rsi
call qword [rax + 0x80]
mov rcx, qword [rbx + 0x10]
test eax, eax
mov rax, qword [rcx]
je 0x1800096a2
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov edx, 0x60c
lea r8d, [r14 + 1]
call qword [rax + 0x118]
xor bl, bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180009926
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009921
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009921
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rsp + 0x60]
call qword [rax + 0x80]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov edx, dword [rsp + 0x30]
cmp edx, 0xffffffff
je 0x1800096e3
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
call qword [rax + 0x48]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
cmp qword [rsp + 0x50], 0
je 0x1800096ff
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [rax + 0x58]
jmp 0x180009733
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x40d
lea r8d, [r9 + 1]
call qword [rax + 0x118]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x411
call qword [rax + 0x118]
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x28]
call fcn.1800ac010
test al, al
je 0x1800098c1
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x28]
call fcn.1800abc60
test al, al
je 0x18000976c
xor r8d, r8d
mov edx, 0x9d2e
mov rcx, qword [rbx + 0x20]
call fcn.1802620e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], r14w
mov r8d, 0x14
lea rdx, str.RCImageExplorerFrame
lea rcx, [rbp - 0x60]
call fcn.180004ea0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], r14w
mov r8d, 0x37
lea rdx, str.RCIMAGE_INSTANCE_E70F5389_0A70_437B_9AED_296045F90EE9
lea rcx, [rbp - 0x80]
call fcn.180004ea0
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1802002f0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180009823
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000981e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000981e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x180009878
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009873
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
lea rcx, [rbp - 0x40]
call fcn.180200ad0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800098b8
xor r9d, r9d
xor r8d, r8d
mov edx, 0x661
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rbp - 0x40]
call fcn.180200430
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180009908
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009903
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009903
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
jmp 0x180009656
call fcn.180386950
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
movzx eax, bl
jmp 0x180009941
xor al, al
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret