Function at 0x1801245e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsxd r15, r9d
mov r12, r8
mov rdi, rcx
cmp dword [rcx + 0xf4], 2
je 0x18012488d
cmp qword [rcx + 0x58], 0
je 0x18012488d
lea rbx, [rcx - 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1801211c0
xor edx, edx
mov rcx, rbx
call fcn.1801214e0
xor edx, edx
mov rcx, rbx
call fcn.180127740
movzx eax, byte [rdi + 0x388]
test al, al
jne 0x18012488d
xor eax, eax
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r14d, ax
shr r14d, 0xf
and r14b, 1
je 0x1801246b6
cmp byte [rdi + 0x120], 0
jne 0x1801246c3
mov rcx, qword [rdi + 0x58]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0xe8]
test al, al
je 0x180124865
mov rcx, qword [rdi + 0x98]
jmp 0x18012486c
cmp byte [rdi + 0x120], 0
je 0x18012488d
mov rcx, rbx
call fcn.18011f880
mov esi, dword [rdi + 0x11c]
test r14b, r14b
je 0x180124779
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov r8d, 3
lea rdx, [0x1803c9a9c]
lea rcx, [rbp - 0x50]
call fcn.180005220
nop
lea rcx, [rbp - 0x50]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180124752
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012474d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012474d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
test esi, esi
je 0x18012481b
cmp esi, 2
je 0x180124792
cmp esi, 1
je 0x180124837
cmp esi, 2
jne 0x180124833
mov r8d, r15d
mov rcx, rbx
call fcn.1801248b0
jmp 0x18012488d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803c9aa0]
lea rcx, [rbp - 0x30]
call fcn.180005220
nop
lea rcx, [rbp - 0x30]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18012480a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180124805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180124805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
movzx eax, byte [rdi + 0x140]
test al, al
jne 0x18012488d
mov rcx, rbx
call fcn.180125360
jmp 0x180124692
test esi, esi
jne 0x18012481b
mov rbx, r15
sar rbx, 0x3f
and ebx, 1
mov rcx, qword [rdi - 0x80]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
lea r8, [rbx + 0x11ca]
mov edx, VarUI4FromDisp
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x18012488d
mov rcx, qword [rdi + 0x90]
call qword [sym.imp.USER32.dll_SetCursor]
movzx r8d, word [rbp - 0x5c]
movzx eax, word [rbp - 0x60]
shl r8d, 0x10
or r8, rax
mov edx, r15d
mov rcx, rbx
call fcn.1801217a0
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret