Function at 0x180124c90
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 [0x1804cd010]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsxd r15, r9d
mov r12, r8
mov rdi, rcx
cmp dword [rcx + 0xf4], 2
je 0x180124f3d
cmp qword [rcx + 0x58], 0
je 0x180124f3d
lea rbx, [rcx - 0x88]
xor edx, edx
mov rcx, rbx
call fcn.180121870
xor edx, edx
mov rcx, rbx
call fcn.180121b90
xor edx, edx
mov rcx, rbx
call fcn.180127df0
movzx eax, byte [rdi + 0x388]
test al, al
jne 0x180124f3d
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 0x180124d66
cmp byte [rdi + 0x120], 0
jne 0x180124d73
mov rcx, qword [rdi + 0x58]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0xe8]
test al, al
je 0x180124f15
mov rcx, qword [rdi + 0x98]
jmp 0x180124f1c
cmp byte [rdi + 0x120], 0
je 0x180124f3d
mov rcx, rbx
call fcn.18011ff30
mov esi, dword [rdi + 0x11c]
test r14b, r14b
je 0x180124e29
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov r8d, 3
lea rdx, [0x1803cab38]
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 0x180124e02
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180124dfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180124dfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
test esi, esi
je 0x180124ecb
cmp esi, 2
je 0x180124e42
cmp esi, 1
je 0x180124ee7
cmp esi, 2
jne 0x180124ee3
mov r8d, r15d
mov rcx, rbx
call fcn.180124f60
jmp 0x180124f3d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803cab2c]
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 0x180124eba
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180124eb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180124eb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
movzx eax, byte [rdi + 0x140]
test al, al
jne 0x180124f3d
mov rcx, rbx
call fcn.180125a10
jmp 0x180124d42
test esi, esi
jne 0x180124ecb
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 0x180124f3d
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.180121e50
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180388400
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret