Function at 0x1400347a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400f7008]
xor rax, rsp
mov qword [rbp - 1], rax
mov r14, qword [0x140149698]
mov r12, r9
mov qword [rbp - 0x11], r8
mov ebx, edx
mov r13, rcx
test r14, r14
jne 0x1400347e2
xor eax, eax
jmp 0x140034e85
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r15
lea r15, [r14 + 8]
mov r14, qword [r14 + 0x98]
cmp ebx, 0x200
ja 0x140034c98
je case.0x14003483e.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x140034cc2.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x34ebc]
mov ecx, dword [rdx + rax*4 + 0x34ea4]
add rcx, rdx
jmp rcx
lea eax, [rbx - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete bl
cmp r8, rsi
jae case.0x140034cc2.527
call fcn.1400338c0
mov rdi, qword [rbp - 0x11]
cmp rdi, 0xd
jne 0x14003487b
shr r12, 0x10
mov eax, 0x10d
test si, r12w
cmovne edi, eax
movsxd rcx, edi
call fcn.140034210
test eax, eax
je 0x140034894
mov r8d, edi
movzx edx, bl
mov ecx, eax
call fcn.140033680
movaps xmmword [rsp + 0x80], xmm6
cmp edi, 0x10
jne 0x140034968
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400e5684]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x140034903
mov rdi, qword [0x140149698]
cmp byte [rdi + 0x37b9], 0
je 0x1400348ef
test bl, bl
je 0x1400348da
movaps xmm3, xmm6
jmp 0x1400348dd
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x210
call fcn.140003be0
mov dword [rdi + 0x380], 0x210
mov dword [rdi + 0x940], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x140034aef
mov rdi, qword [0x140149698]
cmp byte [rdi + 0x37b9], 0
je 0x140034947
test bl, bl
jne 0x140034932
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x214
call fcn.140003be0
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rdi + 0x384], 0x214
mov dword [rdi + 0x950], 0xa1
jmp case.0x140034cc2.527
cmp edi, 0x11
jne 0x140034a34
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400e5684]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1400349cf
mov rdi, qword [0x140149698]
cmp byte [rdi + 0x37b9], 0
je 0x1400349bb
test bl, bl
je 0x1400349a6
movaps xmm3, xmm6
jmp 0x1400349a9
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x20f
call fcn.140003be0
mov dword [rdi + 0x388], 0x20f
mov dword [rdi + 0x93c], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x140034aef
mov rdi, qword [0x140149698]
cmp byte [rdi + 0x37b9], 0
je 0x140034a13
test bl, bl
jne 0x1400349fe
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x213
call fcn.140003be0
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rdi + 0x38c], 0x213
mov dword [rdi + 0x94c], 0xa3
jmp case.0x140034cc2.527
cmp edi, 0x12
jne 0x140034aef
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400e5684]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x140034a9b
mov rdi, qword [0x140149698]
cmp byte [rdi + 0x37b9], 0
je 0x140034a87
test bl, bl
je 0x140034a72
movaps xmm3, xmm6
jmp 0x140034a75
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x211
call fcn.140003be0
mov dword [rdi + 0x390], 0x211
mov dword [rdi + 0x944], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x140034aef
mov rdi, qword [0x140149698]
cmp byte [rdi + 0x37b9], 0
je 0x140034adb
test bl, bl
jne 0x140034ac6
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x215
call fcn.140003be0
mov dword [rdi + 0x394], 0x215
mov dword [rdi + 0x954], 0xa5
movaps xmm6, xmmword [rsp + 0x80]
jmp case.0x140034cc2.527
cmp ebx, 7
mov rcx, r15
sete dl
call fcn.140004150
jmp case.0x140034cc2.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x140034b40
mov rcx, qword [rbp - 0x11]
lea rax, [rcx - 1]
cmp rax, 0xfffe
ja case.0x140034cc2.527
movzx edx, cx
mov rcx, r15
call fcn.140003a80
jmp case.0x140034cc2.527
xor edx, edx
lea rax, [rbp - 0x19]
mov edi, 1
mov word [rbp - 0x19], dx
mov edx, edi
mov dword [rsp + 0x28], edi
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x11]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x19]
mov rcx, r15
call fcn.1400039b0
jmp case.0x140034cc2.527
cmp r12w, 1
jne case.0x140034cc2.527
call fcn.140033510
test al, al
je case.0x140034cc2.527
mov eax, 1
jmp 0x140034e6d
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov rcx, rax
xor edx, edx
mov eax, 0xffffff80
and rcx, rax
mov eax, 0xff515700
lea esi, [rdx + 2]
cmp rcx, rax
jne 0x140034bc1
mov dword [rbp - 0x19], esi
jmp 0x140034bd2
mov eax, edx
mov r8d, 0xff515780
cmp rcx, r8
sete al
mov dword [rbp - 0x19], eax
mov eax, dword [r14 + 0x10]
cmp ebx, 0x200
mov edi, edx
mov qword [r14 + 8], r13
setne dil
inc edi
cmp eax, edi
je 0x140034c3c
cmp ebx, 0x200
mov dword [rbp - 0x49], 0x18
mov ecx, 0x12
mov dword [rbp - 0x45], 0x80000000
cmovne esi, ecx
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x2d], esi
mov dword [rbp - 0x39], edx
mov dword [rbp - 0x31], 0x18
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x21], edx
test eax, eax
je 0x140034c2e
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [r14 + 0x10], edi
movsx eax, r12w
shr r12, 0x10
mov dword [rbp - 9], eax
movsx eax, r12w
mov dword [rbp - 5], eax
cmp ebx, 0xa0
jne 0x140034c6b
lea rdx, [rbp - 9]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x140034cc2.527
mov rax, qword [r15 + 0xdf8]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x3e90], ecx
mov rcx, r15
movd xmm2, dword [rbp - 5]
movd xmm1, dword [rbp - 9]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140003d70
jmp case.0x140034cc2.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x140034cc2.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x34fd8]
mov ecx, dword [rdx + rax*4 + 0x34fbc]
add rcx, rdx
jmp rcx
xor edx, edx
cmp ebx, 0x2a3
mov eax, edx
setne al
inc eax
cmp dword [r14 + 0x10], eax
jne case.0x140034cc2.527
cmp qword [r14 + 8], r13
jne 0x140034ce7
mov qword [r14 + 8], rdx
movss xmm1, dword [0x1400e5860]
mov rcx, r15
movaps xmm2, xmm1
mov dword [r14 + 0x10], edx
call fcn.140003d70
jmp case.0x140034cc2.527
call fcn.140034760
xor edx, edx
mov r12d, eax
cmp ebx, 0x204
je 0x140034d1f
mov edi, edx
cmp ebx, 0x206
jne 0x140034d24
mov edi, 1
lea ecx, [rbx - 0x207]
mov esi, 2
test ecx, 0xfffffffd
lea eax, [rbx - 0x20b]
cmove edi, esi
test eax, 0xfffffffd
jne 0x140034d57
mov rax, qword [rbp - 0x11]
shr rax, 0x10
cmp ax, 1
setne dl
lea edi, [rdx + 3]
cmp dword [r14 + 0x14], 0
jne 0x140034d72
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140034d72
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov r8b, 1
bts eax, edi
mov edx, edi
mov dword [r14 + 0x14], eax
mov rcx, r15
mov rax, qword [r15 + 0xdf8]
mov dword [rax + 0x3e90], r12d
call fcn.140003f30
jmp case.0x140034cc2.527
call fcn.140034760
xor edx, edx
mov edi, eax
cmp ebx, 0x205
mov esi, edx
sete sil
cmp ebx, 0x208
jne 0x140034dbf
lea esi, [rdx + 2]
jmp 0x140034ddc
cmp ebx, 0x20c
jne 0x140034ddc
mov rax, qword [rbp - 0x11]
mov esi, edx
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [r14 + 0x14]
btr eax, esi
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x140034dfc
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x140034dfc
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [r15 + 0xdf8]
xor r8d, r8d
mov edx, esi
mov rcx, r15
mov dword [rax + 0x3e90], edi
call fcn.140003f30
jmp case.0x140034cc2.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, r15
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400e5798]
call fcn.140004060
jmp case.0x140034cc2.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, r15
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1400e5854]
call fcn.140004060
jmp case.0x140034cc2.527
cmp r8d, 7
jne case.0x140034cc2.527
mov byte [r14 + 0x2d], 1
xor eax, eax
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x98]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400bdec0
add rsp, 0xb0
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret