Function at 0x18002a430
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180045040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r10, qword [0x180045b18]
mov r11, r9
mov rbp, rcx
test r10, r10
je case.0x18002a68f.527
mov rsi, qword [r10 + 0xe8]
lea rdi, [r10 + 8]
cmp edx, 0x200
ja 0x18002a663
je 0x18002a625
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x18002a68f.527
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x2a824]
mov ecx, dword [r9 + rax*4 + 0x2a810]
add rcx, r9
jmp rcx
lea eax, [rdx - 0x100]
test eax, 0xfffffffb
sete al
cmp r8, 0x100
jae 0x18002a4c8
mov byte [r8 + rdi + 0x13c], al
cmp r8, 0x11
jne 0x18002a51f
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa3
and al, 1
mov byte [rdi + 0x1de], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x1de], 0
mov byte [rdi + 0x1df], al
jne 0x18002a512
test al, al
jne 0x18002a512
mov byte [rdi + 0x138], al
jmp case.0x18002a68f.527
mov al, 1
mov byte [rdi + 0x138], al
jmp case.0x18002a68f.527
cmp r8, 0x10
jne 0x18002a576
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa1
and al, 1
mov byte [rdi + 0x1dc], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x1dc], 0
mov byte [rdi + 0x1dd], al
jne 0x18002a569
test al, al
jne 0x18002a569
mov byte [rdi + 0x139], al
jmp case.0x18002a68f.527
mov al, 1
mov byte [rdi + 0x139], al
jmp case.0x18002a68f.527
cmp r8, 0x12
jne case.0x18002a68f.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa5
and al, 1
mov byte [rdi + 0x1e0], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x1e0], 0
mov byte [rdi + 0x1e1], al
jne 0x18002a5c4
test al, al
jne 0x18002a5c4
mov byte [rdi + 0x13a], al
jmp case.0x18002a68f.527
mov al, 1
mov byte [rdi + 0x13a], al
jmp case.0x18002a68f.527
cmp edx, 7
setne al
mov byte [rdi + 0x1550], al
jmp case.0x18002a68f.527
lea rax, [r8 - 1]
cmp rax, 0xfffe
ja case.0x18002a68f.527
movzx edx, r8w
mov rcx, rdi
call fcn.180002330
jmp case.0x18002a68f.527
cmp r11w, 1
jne case.0x18002a68f.527
call fcn.180029dc0
test al, al
je case.0x18002a68f.527
mov eax, 1
jmp 0x18002a7f6
cmp byte [rsi + 0x10], 0
mov qword [rsi + 8], rbp
jne case.0x18002a68f.527
xor eax, eax
mov dword [rsp + 0x20], 0x18
mov ebx, 2
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], ebx
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rsi + 0x10], 1
jmp case.0x18002a68f.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18002a68f.527
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x2a940]
mov ecx, dword [r9 + rax*4 + 0x2a924]
add rcx, r9
jmp rcx
cmp qword [rsi + 8], rbp
jne 0x18002a69d
xor eax, eax
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
jmp case.0x18002a68f.527
xor eax, eax
cmp edx, 0x204
je 0x18002a6ba
mov ebx, eax
cmp edx, 0x206
jne 0x18002a6bf
mov ebx, 1
cmp edx, 0x207
je 0x18002a6cf
cmp edx, 0x209
jne 0x18002a6d4
mov ebx, 2
cmp edx, 0x20b
je 0x18002a6e4
cmp edx, 0x20d
jne 0x18002a700
shr r8, 0x10
mov rbx, rax
cmp r8w, 1
setne bl
add rbx, 3
nop word [rax + rax]
cmp byte [r10 + rax + 0x130], 0
jne 0x18002a728
inc rax
cmp rax, 5
jl 0x18002a700
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18002a728
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetCapture]
mov byte [rbx + rdi + 0x128], 1
jmp case.0x18002a68f.527
xor eax, eax
cmp edx, 0x205
mov ebx, eax
sete bl
cmp edx, 0x208
jne 0x18002a74f
lea ebx, [rax + 2]
jmp 0x18002a76a
cmp edx, 0x20c
jne 0x18002a76a
shr r8, 0x10
mov rbx, rax
cmp r8w, 1
setne bl
add rbx, 3
mov byte [rbx + rdi + 0x128], al
cmp byte [r10 + rax + 0x130], 0
jne case.0x18002a68f.527
inc rax
cmp rax, 5
jl 0x18002a771
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, rbp
jne case.0x18002a68f.527
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x18002a68f.527
shr r8, 0x10
movsx eax, r8w
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x18003e074]
addss xmm0, dword [rdi + 0x130]
movss dword [rdi + 0x130], xmm0
jmp case.0x18002a68f.527
shr r8, 0x10
movsx eax, r8w
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x18003e074]
addss xmm0, dword [rdi + 0x134]
movss dword [rdi + 0x134], xmm0
jmp case.0x18002a68f.527
cmp r8d, 7
jne case.0x18002a68f.527
mov byte [rsi + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180036fd0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret