Function at 0x14000fb00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400db010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, r9
mov rbx, rdx
mov r14, qword [rbp + 0xc0]
test edx, edx
jne 0x14000fb5a
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x14000fb5a
mov rcx, r9
call fcn.140048630
xor eax, eax
jmp 0x140010337
movsxd rax, dword [r14]
xor ecx, ecx
lea r15, [r9 + 8]
mov qword [rsp + 0x70], r15
test eax, eax
jns 0x14000fb71
mov dword [r14], ecx
jmp 0x14000fb8b
mov rcx, qword [r15]
sub rcx, qword [r9]
sar rcx, 5
cmp rax, rcx
jb 0x14000fb8b
lea eax, [rcx - 1]
mov dword [r14], eax
mov qword [rsp + 0x70], r15
movzx r13d, word [rbp + 0xc8]
mov qword [rsp + 0x60], r13
test r13w, r13w
jne 0x14000fbad
mov r13d, dword [r15]
sub r13d, dword [r9]
sar r13, 5
mov qword [rsp + 0x60], r13
mov rax, qword [r15]
sub rax, qword [r9]
test rax, 0xffffffffffffffe0
jne 0x14000fbc2
mov dword [r14], 0xffffffff
movdqa xmm0, xmmword [0x1400d3d70]
movdqa xmmword [rbp - 0x80], xmm0
movsx eax, r13w
imul esi, eax, 0x19
movsx eax, r8w
imul eax, eax, 0x1e
mov dword [rsp + 0x68], eax
mov edi, dword [rbp + 0xac]
add edi, eax
lea eax, [rsi + 5]
lea r8d, [rdi - 0xa]
add edx, 0x35
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9d, 0xea
call fcn.140007af0
mov dword [rbp + 8], 0xa
mov dword [rbp + 0xc], 0xa
mov eax, 0x66666667
imul dword [0x1400dc0c4]
mov r9d, edx
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp + 0x18], r9d
mov eax, 0x66666667
imul dword [0x1400dc0c8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0x1c], edx
add edi, 0xfffffff7
lea r10d, [rbx + 0x36]
mov dword [rsp + 0x54], r10d
xor eax, eax
mov word [rbp + 0x3e], ax
mov word [rbp + 0x4e], ax
mov dword [rbp], eax
mov dword [rbp + 4], 1
mov rcx, qword [rbp + 0x18]
shr rcx, 0x20
movzx r8d, cl
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400dc0cc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, r9b
or r8d, eax
mov rax, qword [rbp + 8]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xa000a
mov dword [rbp + 0x30], r10d
mov dword [rbp + 0x34], edi
lea eax, [r10 + 0xe8]
mov dword [rsp + 0x58], eax
mov dword [rbp + 0x40], eax
lea eax, [rdi + 3]
add eax, esi
mov dword [rbp + 0x44], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x38], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x3a], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x3c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x48], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x4a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x4c], cx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp]
mov r8d, 2
lea rdx, [rbp + 0x30]
mov rcx, qword [0x1400dc0f0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
xor r9d, r9d
movzx ecx, r9w
mov word [rsp + 0x50], cx
mov rax, qword [r15]
sub rax, qword [r12]
sar rax, 5
test rax, rax
je 0x14001032a
mov r15d, r9d
nop
cmp cx, r13w
jge 0x140010305
movsx esi, cx
imul eax, esi, 0x19
add eax, dword [rsp + 0x68]
add eax, dword [rbp + 0xac]
mov dword [rbp], eax
lea r13d, [rax - 5]
mov eax, dword [0x1400dc0f8]
mov edx, dword [0x1400dc100]
cmp eax, edx
jl 0x14000fde6
cmp eax, dword [0x1400dc108]
jg 0x14000fde6
mov ecx, dword [0x1400dc0fc]
mov r8d, dword [0x1400dc104]
cmp ecx, r8d
jl 0x14000fde6
cmp ecx, dword [0x1400dc10c]
jg 0x14000fde6
sub eax, edx
cmp eax, dword [rsp + 0x54]
jl 0x14000fde6
cmp eax, dword [rsp + 0x58]
jg 0x14000fde6
sub ecx, r8d
cmp ecx, r13d
jl 0x14000fde6
lea eax, [r13 + 0x14]
cmp ecx, eax
mov edi, 1
jle 0x14000fde9
mov edi, r9d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400dc0d8]
jne 0x14000fe91
cmp dword [0x1400dc118], 0
jne 0x14000fe91
cmp dword [0x1400dc11c], 0
jne 0x14000fe91
test edi, edi
je 0x14000fe91
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000fe43
xor ecx, ecx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [r14], esi
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000fe6b
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
dec dword [r14]
jmp 0x14000fe91
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000fe91
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
inc dword [r14]
cmp dword [r14], esi
jne 0x140010065
mov dword [rbp - 0x60], 0xf
mov dword [rbp - 0x5c], 0xf
mov eax, 0x2aaaaaab
imul dword [0x1400dc0c4]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [rbp - 0x70], ecx
mov eax, 0x2aaaaaab
imul dword [0x1400dc0c8]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x6c], edx
xor r9d, r9d
mov word [rbp + 0x3e], r9w
mov word [rbp + 0x4e], r9w
mov dword [rbp + 8], r9d
mov dword [rbp + 0xc], 1
mov rax, qword [rbp - 0x70]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov eax, 0x2aaaaaab
imul dword [0x1400dc0cc]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, cl
or r8d, eax
mov rax, qword [rbp - 0x60]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xf000f
mov eax, dword [rsp + 0x54]
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], r13d
mov eax, dword [rsp + 0x58]
mov dword [rbp + 0x40], eax
lea eax, [r13 + 0x14]
mov dword [rbp + 0x44], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x38], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x3a], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x3c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x48], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x4a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x4c], cx
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], 1
lea r9, [rbp + 8]
mov r8d, 2
lea rdx, [rbp + 0x30]
mov rcx, qword [0x1400dc0f0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400d3d70]
movdqa xmmword [rbp + 0x30], xmm0
shl r15, 5
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x1400dc0a0]
lea rcx, [rbp - 0x40]
call fcn.140049e10
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140049e10
mov r9, rax
lea edx, [rbx + 0x42]
mov eax, 0x258
mov word [rsp + 0x38], ax
movzx ecx, word [0x1400dc0c0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r13d, dword [rbp]
mov r8d, r13d
call fcn.140007be0
movups xmm0, xmmword [0x1400dc0c4]
movaps xmmword [rbp + 0x30], xmm0
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x1400dc0a0]
lea rcx, [rbp - 0x20]
call fcn.140049e10
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140049e10
mov r9, rax
mov eax, 0x258
jmp 0x1400102cd
test edi, edi
je 0x1400101ab
mov dword [rbp - 0x80], 0xf
mov dword [rbp - 0x7c], 0xf
mov ecx, dword [0x1400dc0c4]
mov eax, 0x92492493
imul ecx
lea r9d, [rcx + rdx]
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x50], r9d
mov eax, 0x92492493
imul dword [0x1400dc0c8]
add edx, dword [0x1400dc0c8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x4c], edx
xor r10d, r10d
mov word [rbp + 0x3e], r10w
mov word [rbp + 0x4e], r10w
mov dword [rbp + 0x18], r10d
mov dword [rbp + 0x1c], 1
mov rax, qword [rbp - 0x50]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov eax, 0x92492493
imul dword [0x1400dc0cc]
add edx, dword [0x1400dc0cc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, r9b
or r8d, eax
mov rax, qword [rbp - 0x80]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xf000f
mov eax, dword [rsp + 0x54]
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], r13d
mov eax, dword [rsp + 0x58]
mov dword [rbp + 0x40], eax
lea eax, [r13 + 0x14]
mov dword [rbp + 0x44], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x38], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x3a], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x3c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x48], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x4a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x4c], cx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x18]
lea r8d, [r10 + 2]
lea rdx, [rbp + 0x30]
mov rcx, qword [0x1400dc0f0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400d3d70]
movdqa xmmword [rbp + 0x30], xmm0
shl r15, 5
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x1400dc0a0]
lea rcx, [rbp - 0x20]
call fcn.140049e10
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140049e10
mov r9, rax
lea edx, [rbx + 0x42]
mov eax, 0x190
mov word [rsp + 0x38], ax
movzx ecx, word [0x1400dc0c0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r13d, dword [rbp]
mov r8d, r13d
call fcn.140007be0
mov rdi, qword [r12]
add rdi, r15
mov rdx, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 0x10
jb 0x14001022f
mov rdx, qword [rdi]
mov rax, qword [rdi + 0x10]
cmp rax, 4
jne 0x140010241
cmp dword [rdx], 0x656e6f4e
je 0x14001028f
mov rdx, rdi
cmp rcx, 0x10
jb 0x14001024d
mov rdx, qword [rdi]
cmp rax, 4
jne 0x14001025b
cmp dword [rdx], 0x656e6f6e
je 0x14001028f
mov rdx, rdi
cmp rcx, 0x10
jb 0x140010267
mov rdx, qword [rdi]
cmp rax, 4
jne 0x140010275
cmp dword [rdx], 0x454e4f4e
je 0x14001028f
mov rdx, rdi
cmp rcx, 0x10
jb 0x140010281
mov rdx, qword [rdi]
cmp rax, 4
jne 0x140010299
cmp dword [rdx], 0x4c4c554e
jne 0x140010299
movdqa xmm0, xmmword [0x1400d3de0]
jmp 0x1400102a1
movdqa xmm0, xmmword [0x1400d3e20]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [0x1400dc0a0]
lea rcx, [rbp - 0x20]
call fcn.140049e10
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140049e10
mov r9, rax
mov eax, 0x190
mov word [rsp + 0x38], ax
movzx ecx, word [0x1400dc0c0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r8d, [r13 - 1]
lea edx, [rbx + 0x41]
call fcn.140007be0
movzx ecx, word [rsp + 0x50]
mov r13, qword [rsp + 0x60]
xor r9d, r9d
inc cx
mov word [rsp + 0x50], cx
movsx r15, cx
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
sub rax, qword [r12]
sar rax, 5
cmp r15, rax
jb 0x14000fd70
mov ebx, dword [r14]
mov rcx, r12
call fcn.140048630
mov eax, ebx
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400cb1f0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret