Function at 0x1801245d0
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 [0x1804ca010]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsxd r15, r9d
mov r12, r8
mov rdi, rcx
cmp dword [rcx + 0xf4], 2
je 0x18012487d
cmp qword [rcx + 0x58], 0
je 0x18012487d
lea rbx, [rcx - 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1801211b0
xor edx, edx
mov rcx, rbx
call fcn.1801214d0
xor edx, edx
mov rcx, rbx
call fcn.180127730
movzx eax, byte [rdi + 0x388]
test al, al
jne 0x18012487d
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 0x1801246a6
cmp byte [rdi + 0x120], 0
jne 0x1801246b3
mov rcx, qword [rdi + 0x58]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0xe8]
test al, al
je 0x180124855
mov rcx, qword [rdi + 0x98]
jmp 0x18012485c
cmp byte [rdi + 0x120], 0
je 0x18012487d
mov rcx, rbx
call fcn.18011f950
mov esi, dword [rdi + 0x11c]
test r14b, r14b
je 0x180124769
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov r8d, 3
lea rdx, [0x1803c8adc]
lea rcx, [rbp - 0x50]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x50]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180124742
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012473d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012473d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
test esi, esi
je 0x18012480b
cmp esi, 2
je 0x180124782
cmp esi, 1
je 0x180124827
cmp esi, 2
jne 0x180124823
mov r8d, r15d
mov rcx, rbx
call fcn.1801248a0
jmp 0x18012487d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803c8ae0]
lea rcx, [rbp - 0x30]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x30]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1801247fa
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801247f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801247f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
movzx eax, byte [rdi + 0x140]
test al, al
jne 0x18012487d
mov rcx, rbx
call fcn.180125350
jmp 0x180124682
test esi, esi
jne 0x18012480b
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 0x18012487d
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.180121790
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret