Function at 0x180028c40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x180078300]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov esi, edx
mov r13, rcx
call fcn.180008a50
test rax, rax
je case.0x180028fd0.519
call fcn.180008ba0
mov r12, rax
call fcn.180008a50
xor r14d, r14d
test rax, rax
je 0x180028c9c
call fcn.180008ba0
mov rbx, qword [rax + 0x88]
jmp 0x180028c9f
mov rbx, r14
cmp esi, 0x200
ja 0x180028fa6
je 0x180028f4b
lea eax, [rsi - 7]
cmp eax, 0xfe
ja case.0x180028fd0.519
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x29160]
mov ecx, dword [rdx + rax*4 + 0x2914c]
add rcx, rdx
jmp rcx
lea eax, [rsi - 0x100]
mov ebp, pe_nt_image_headers64
test eax, 0xfffffffb
sete sil
cmp rdi, rbp
jae case.0x180028fd0.519
call fcn.180008ba0
mov ecx, 0x11
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x281
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180002bf0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x282
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180002bf0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x283
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180002bf0
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x284
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180002bf0
cmp rdi, 0xd
jne 0x180028d9b
mov rax, r15
shr rax, 0x10
test bp, ax
mov eax, 0x10d
cmovne edi, eax
movsxd rcx, edi
call fcn.1800286f0
shr r15, 0x10
movzx ebx, r15b
test eax, eax
je 0x180028dc0
mov r9d, ebx
mov r8d, edi
movzx edx, sil
mov ecx, eax
call fcn.180027b40
cmp edi, 0x10
jne 0x180028e26
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x180028df1
mov r9d, ebx
mov r8d, 0xa0
movzx edx, sil
mov ecx, 0x210
call fcn.180027b40
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x180028fd0.519
mov r9d, ebx
mov r8d, 0xa1
movzx edx, sil
mov ecx, 0x214
call fcn.180027b40
jmp case.0x180028fd0.519
cmp edi, 0x11
jne 0x180028e8c
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x180028e57
mov r9d, ebx
mov r8d, 0xa2
movzx edx, sil
mov ecx, 0x20f
call fcn.180027b40
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x180028fd0.519
mov r9d, ebx
mov r8d, 0xa3
movzx edx, sil
mov ecx, 0x213
call fcn.180027b40
jmp case.0x180028fd0.519
cmp edi, 0x12
jne case.0x180028fd0.519
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x180028ec1
mov r9d, ebx
mov r8d, 0xa4
movzx edx, sil
mov ecx, 0x211
call fcn.180027b40
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x180028fd0.519
mov r9d, ebx
mov r8d, 0xa5
movzx edx, sil
mov ecx, 0x215
call fcn.180027b40
jmp case.0x180028fd0.519
cmp esi, 7
mov rcx, r12
sete dl
call fcn.180002890
jmp case.0x180028fd0.519
lea rax, [rdi - 1]
cmp rax, 0xfffe
ja case.0x180028fd0.519
movzx edx, di
mov rcx, r12
call fcn.1800029c0
jmp case.0x180028fd0.519
cmp r15w, 1
jne case.0x180028fd0.519
call fcn.180028570
test al, al
je case.0x180028fd0.519
mov eax, 1
jmp 0x18002912d
mov qword [rbx + 8], r13
cmp byte [rbx + 0x10], r14b
jne 0x180028f7f
mov ebp, 2
mov dword [rsp + 0x20], 0x18
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], ebp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x30], r14d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rbx + 0x10], 1
mov rax, r15
mov rcx, r12
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r15w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.180002e10
jmp case.0x180028fd0.519
lea eax, [rsi - 0x201]
cmp eax, 0xa2
ja case.0x180028fd0.519
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x2927c]
mov ecx, dword [rdx + rax*4 + 0x29260]
add rcx, rdx
jmp rcx
cmp qword [rbx + 8], r13
jne 0x180028fdc
mov qword [rbx + 8], r14
movss xmm1, dword [0x180048ac8]
mov rcx, r12
movaps xmm2, xmm1
mov byte [rbx + 0x10], r14b
call fcn.180002e10
jmp case.0x180028fd0.519
cmp esi, 0x204
je 0x18002900b
mov r15d, r14d
cmp esi, 0x206
jne 0x180029011
mov r15d, 1
lea eax, [rsi - 0x207]
mov ebp, 2
test eax, 0xfffffffd
lea eax, [rsi - 0x20b]
cmove r15d, ebp
test eax, 0xfffffffd
jne 0x180029042
shr rdi, 0x10
cmp di, 1
setne r14b
lea r15d, [r14 + 3]
cmp dword [rbx + 0x14], 0
jne 0x18002905c
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18002905c
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rbx + 0x14]
mov r8b, 1
bts eax, r15d
mov edx, r15d
mov rcx, r12
mov dword [rbx + 0x14], eax
call fcn.180002d70
jmp case.0x180028fd0.519
cmp esi, 0x205
mov ebp, r14d
sete bpl
cmp esi, 0x208
jne 0x180029095
mov ebp, 2
jmp 0x1800290af
cmp esi, 0x20c
jne 0x1800290af
shr rdi, 0x10
mov ebp, r14d
cmp di, 1
setne bpl
add ebp, 3
mov eax, dword [rbx + 0x14]
btr eax, ebp
mov dword [rbx + 0x14], eax
test eax, eax
jne 0x1800290cd
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x1800290cd
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, ebp
mov rcx, r12
call fcn.180002d70
jmp case.0x180028fd0.519
shr rdi, 0x10
xorps xmm1, xmm1
movsx eax, di
mov rcx, r12
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x18004d2c0]
call fcn.180002eb0
jmp case.0x180028fd0.519
shr rdi, 0x10
xorps xmm2, xmm2
movsx eax, di
mov rcx, r12
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x18004d2c0]
call fcn.180002eb0
jmp case.0x180028fd0.519
cmp edi, 7
jne case.0x180028fd0.519
mov byte [rbx + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180044510
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp r8, 0x2d
jne 0x18003e6a0
cmp edx, 0x100
jne 0x18003e691
cmp byte [0x180078bd8], 0
jne 0x18003e6a0
cmp byte [0x180078088], 0
mov byte [0x180078bd8], 1
sete byte [0x180078088]
jmp 0x180042570
cmp edx, 0x101
jne 0x18003e6a0
mov byte [0x180078bd8], 0
jmp 0x180042570
jmp 0x180028c40