Function at 0x140085a70
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [0x140107040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, r9
mov rbx, rdx
test edx, edx
jne 0x140085ae0
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x140085ae0
mov rcx, r9
call fcn.140048340
xor eax, eax
jmp 0x140086456
xor r15d, r15d
movsxd rax, dword [0x140108318]
lea r14, [r9 + 8]
mov qword [rsp + 0x58], r14
test eax, eax
jns 0x140085b00
mov dword [0x140108318], r15d
jmp 0x140085b1d
mov rcx, qword [r14]
sub rcx, qword [r9]
sar rcx, 5
cmp rax, rcx
jb 0x140085b1d
lea eax, [rcx - 1]
mov dword [0x140108318], eax
mov qword [rsp + 0x58], r14
mov r9, qword [r14]
sub r9, qword [r12]
sar r9, 5
mov qword [rsp + 0x60], r9
test r9, r9
jne 0x140085b3c
mov dword [0x140108318], 0xffffffff
mov qword [rbp + 8], r15
mov edi, dword [rbp + 0xfc]
lea r8d, [rdi + 0x32]
lea ecx, [rdx + 0x35]
mov dword [rbp + 0x3c], r15d
mov dword [rbp + 0x4c], r15d
mov dword [rbp], r15d
mov dword [rbp + 4], 1
mov rax, r15
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x30], ecx
mov dword [rbp + 0x34], r8d
lea eax, [rcx + 0xea]
mov dword [rbp + 0x40], eax
movsx eax, r9w
imul esi, eax, 0x19
lea eax, [r8 + 5]
add eax, esi
mov dword [rbp + 0x44], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x38], ax
mov word [rbp + 0x3a], dx
mov word [rbp + 0x48], ax
mov word [rbp + 0x4a], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp]
mov r8d, 2
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rbp + 0x18], 0xa
mov dword [rbp + 0x1c], 0xa
mov eax, 0x66666667
imul dword [0x140108134]
mov r10d, edx
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
mov dword [rbp + 8], r10d
mov eax, 0x66666667
imul dword [0x140108138]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [rbp + 0xc], edx
lea r9d, [rdi + 0x33]
lea r11d, [rbx + 0x36]
mov dword [rsp + 0x50], r11d
mov word [rbp + 0x3e], r15w
mov dword [rbp + 0x4c], 0xa00
mov dword [rbp - 0x10], r15d
mov dword [rbp - 0xc], 1
mov eax, 0x66666667
imul dword [0x14010813c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp + 8]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, r10b
or edx, eax
mov rax, qword [rbp + 0x18]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xa000a
mov dword [rbp + 0x30], r11d
mov dword [rbp + 0x34], r9d
lea eax, [r11 + 0xe8]
mov dword [rbp], eax
mov dword [rbp + 0x40], eax
lea eax, [r9 + 3]
add eax, esi
mov dword [rbp + 0x44], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x38], ax
mov r9d, 0xff00
and dx, r9w
mov word [rbp + 0x3a], dx
shl r8w, 8
mov word [rbp + 0x3c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x48], ax
and cx, r9w
mov word [rbp + 0x4a], cx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x10]
mov r8d, 2
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movzx r13d, r15w
mov rax, qword [r14]
sub rax, qword [r12]
sar rax, 5
test rax, rax
je 0x140086446
mov edx, 4
movss xmm8, dword [0x1400fc450]
movss xmm9, dword [0x1400fc56c]
movss xmm10, dword [0x1400fc45c]
nop dword [rax + rax]
cmp r13w, word [rsp + 0x60]
jge 0x14008642a
movsx edi, r13w
imul eax, edi, 0x19
mov ecx, dword [rbp + 0xfc]
add ecx, 0x3c
add ecx, eax
mov dword [rbp - 0x10], ecx
lea esi, [rcx - 5]
mov eax, dword [0x140108168]
mov r8d, dword [0x140108170]
cmp eax, r8d
jl 0x140086011
cmp eax, dword [0x140108178]
jg 0x140086011
mov ecx, dword [0x14010816c]
mov edx, dword [0x140108174]
cmp ecx, edx
jl 0x140086009
cmp ecx, dword [0x14010817c]
jg 0x140086009
sub eax, r8d
cmp eax, dword [rsp + 0x50]
jl 0x140086009
cmp eax, dword [rbp]
jg 0x140086009
sub ecx, edx
cmp ecx, esi
jl 0x140086009
lea eax, [rsi + 0x14]
cmp ecx, eax
jg 0x140086009
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140108148]
jne 0x140085ec7
cmp dword [0x140108188], 0
jne 0x140085ec7
cmp dword [0x14010818c], 0
jne 0x140085ec7
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140085e30
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [0x140108318], edi
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140085e63
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [0x140108318]
dec eax
mov dword [0x140108318], eax
jmp 0x140085e9c
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140085e96
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [0x140108318]
inc eax
mov dword [0x140108318], eax
jmp 0x140085e9c
mov eax, dword [0x140108318]
test eax, eax
jns 0x140085eac
mov dword [0x140108318], 0
jmp 0x140085ec7
mov rcx, qword [r14]
sub rcx, qword [r12]
sar rcx, 5
cdqe
cmp rax, rcx
jb 0x140085ec7
lea eax, [rcx - 1]
mov dword [0x140108318], eax
mov dword [rsp + 0x78], 0xf
mov dword [rsp + 0x7c], 0xf
mov ecx, dword [0x140108134]
mov eax, 0x92492493
imul ecx
lea r9d, [rcx + rdx]
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rsp + 0x68], r9d
mov eax, 0x92492493
imul dword [0x140108138]
add edx, dword [0x140108138]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x6c], edx
xor eax, eax
mov word [rbp + 0x3e], ax
mov word [rbp + 0x4e], ax
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], 1
mov eax, 0x92492493
imul dword [0x14010813c]
add edx, dword [0x14010813c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rsp + 0x68]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r9b
or ecx, eax
mov rax, qword [rsp + 0x78]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0xf000f
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], esi
mov eax, dword [rbp]
mov dword [rbp + 0x40], eax
lea eax, [rsi + 0x14]
mov dword [rbp + 0x44], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x38], ax
mov r9d, 0xff00
and cx, r9w
mov word [rbp + 0x3a], cx
shl r8w, 8
mov word [rbp + 0x3c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x48], ax
movzx eax, dx
and ax, r9w
mov word [rbp + 0x4a], ax
shr edx, 0x10
shl dx, 8
mov word [rbp + 0x4c], dx
xor esi, esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x18]
lea r8d, [rsi + 2]
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov ecx, dword [rbp - 0x10]
mov edx, 4
jmp 0x140086013
mov edx, 4
mov ecx, dword [rbp - 0x10]
xor esi, esi
cmp dword [0x140108318], edi
jne 0x140086297
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401091a8], eax
jle 0x140086066
lea rcx, [0x1401091a8]
call fcn.1400f7264
cmp dword [0x1401091a8], 0xffffffff
jne 0x140086066
movss dword [0x140108e34], xmm7
lea rcx, [0x1401091a8]
call fcn.1400f71f8
movss xmm6, dword [0x140108e34]
comiss xmm7, xmm6
jbe 0x140086082
subss xmm7, xmm6
mulss xmm7, xmm8
addss xmm6, xmm7
jmp 0x140086097
comiss xmm6, xmm7
jbe 0x14008609f
movaps xmm0, xmm6
subss xmm0, xmm7
mulss xmm0, xmm8
subss xmm6, xmm0
movss dword [0x140108e34], xmm6
mov dword [rbp - 0x68], 0xf
mov dword [rbp - 0x64], 0xf
mov eax, 0x2aaaaaab
imul dword [0x140108134]
mov r10d, edx
shr r10d, 0x1f
add r10d, edx
mov dword [rbp - 0x78], r10d
mov eax, 0x2aaaaaab
imul dword [0x140108138]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x74], edx
movaps xmm0, xmm6
subss xmm0, xmm9
cvttss2si r9d, xmm0
mov word [rbp + 0x3e], si
mov word [rbp + 0x4e], si
mov dword [rbp + 8], esi
mov dword [rbp + 0xc], 1
mov eax, 0x2aaaaaab
imul dword [0x14010813c]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x78]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r10b
or ecx, eax
mov rax, qword [rbp - 0x68]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0xf000f
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], r9d
mov eax, dword [rbp]
mov dword [rbp + 0x40], eax
lea eax, [r9 + 0x14]
mov dword [rbp + 0x44], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x38], ax
mov r9d, 0xff00
and cx, r9w
mov word [rbp + 0x3a], cx
shl r8w, 8
mov word [rbp + 0x3c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x48], ax
movzx eax, dx
and ax, r9w
mov word [rbp + 0x4a], ax
shr edx, 0x10
shl dx, 8
mov word [rbp + 0x4c], dx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp + 8]
mov r8d, 2
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400ff6d0]
movdqa xmmword [rbp - 0x10], xmm0
shl r15, 5
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x140108110]
lea rcx, [rbp + 0x30]
call fcn.140049d30
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140049d30
mov r9, rax
cvttss2si r8d, xmm6
lea edx, [rbx + 0x42]
mov word [rsp + 0x38], 0x258
movzx ecx, word [0x140108130]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140007e80
movups xmm0, xmmword [0x140108134]
movaps xmmword [rbp - 0x10], xmm0
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x140108110]
lea rcx, [rbp - 0x58]
call fcn.140049d30
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140049d30
mov r9, rax
subss xmm6, xmm10
cvttss2si r8d, xmm6
lea edx, [rbx + 0x41]
mov word [rsp + 0x38], 0x258
movzx ecx, word [0x140108130]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140007e80
jmp 0x140086425
movdqa xmm0, xmmword [0x1400ff6d0]
movdqa xmmword [rbp + 0x30], xmm0
mov r14, r15
shl r14, 5
mov rdi, qword [r12]
add rdi, r14
lea rdx, [0x140108110]
lea rcx, [rbp - 0x58]
call fcn.140049d30
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140049d30
mov r9, rax
lea edx, [rbx + 0x42]
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x140108130]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, dword [rbp - 0x10]
call fcn.140007e80
mov rsi, qword [r12]
lea rax, [rsi + r14]
mov r8, rax
mov rdx, qword [rax + 0x18]
cmp rdx, 0xf
jbe 0x140086319
mov r8, qword [rax]
mov rcx, qword [rax + 0x10]
cmp rcx, 4
jne 0x14008632c
cmp dword [r8], 0x656e6f4e
je 0x140086385
cmp rdx, 0xf
jbe 0x140086335
mov rax, qword [rax]
cmp rcx, 4
jne 0x140086343
cmp dword [rax], 0x656e6f6e
je 0x140086385
mov rax, r15
shl rax, 5
add rax, rsi
cmp rdx, 0xf
jbe 0x140086356
mov rax, qword [rax]
cmp rcx, 4
jne 0x140086364
cmp dword [rax], 0x454e4f4e
je 0x140086385
mov rax, r15
shl rax, 5
add rax, rsi
cmp rdx, 0xf
jbe 0x140086377
mov rax, qword [rax]
cmp rcx, 4
jne 0x1400863ae
cmp dword [rax], 0x4c4c554e
jne 0x1400863ae
movdqa xmm0, xmmword [0x1400ff730]
movdqa xmmword [rbp + 0x30], xmm0
shl r15, 5
add r15, rsi
lea rdx, [0x140108110]
lea rcx, [rbp - 0x38]
call fcn.140049d30
mov rdx, r15
jmp 0x1400863d3
movdqa xmm0, xmmword [0x1400ff770]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [0x140108110]
lea rcx, [rbp - 0x38]
call fcn.140049d30
shl r15, 5
lea rdx, [rsi + r15]
mov rdi, rax
lea rcx, [rbp - 0x58]
call fcn.140049d30
movsx ecx, r13w
imul edx, ecx, 0x19
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x140108130]
mov r8d, dword [rbp + 0xfc]
mov word [rsp + 0x30], cx
mov r9, rax
add r8d, 0x3b
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x30]
add r8d, edx
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x41]
call fcn.140007e80
mov r14, qword [rsp + 0x58]
mov edx, 4
inc r13w
movsx r15, r13w
mov rax, qword [r14]
sub rax, qword [r12]
sar rax, 5
cmp r15, rax
jb 0x140085d40
mov ebx, dword [0x140108318]
mov rcx, r12
call fcn.140048340
mov eax, ebx
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400f71d0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret