Function at 0x14007a4a0
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 - 0xc8]
sub rsp, 0x190
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 [0x1400df010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12, r9
mov rbx, rdx
mov r14, qword [rbp + 0xf0]
test edx, edx
jne 0x14007a517
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x14007a517
mov rcx, r9
call fcn.140047890
xor eax, eax
jmp 0x14007adde
movsxd rax, dword [r14]
xor ecx, ecx
lea r15, [r9 + 8]
mov qword [rsp + 0x60], r15
test eax, eax
jns 0x14007a52e
mov dword [r14], ecx
jmp 0x14007a548
mov rcx, qword [r15]
sub rcx, qword [r9]
sar rcx, 5
cmp rax, rcx
jb 0x14007a548
lea eax, [rcx - 1]
mov dword [r14], eax
mov qword [rsp + 0x60], r15
mov r13, qword [r15]
sub r13, qword [r9]
sar r13, 5
mov qword [rsp + 0x68], r13
test r13, r13
jne 0x14007a563
mov dword [r14], 0xffffffff
movdqa xmm0, xmmword [0x1400d7de0]
movdqa xmmword [rbp - 0x80], xmm0
movsx eax, r13w
imul esi, eax, 0x19
mov edi, dword [rbp + 0xdc]
lea eax, [rsi + 5]
lea r8d, [rdi + 0x32]
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 [rsp + 0x70], 0xa
mov dword [rsp + 0x74], 0xa
mov eax, 0x66666667
imul dword [0x1400e00e4]
mov r9d, edx
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 8], r9d
mov eax, 0x66666667
imul dword [0x1400e00e8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 4], edx
add edi, 0x33
lea r10d, [rbx + 0x36]
mov dword [rsp + 0x54], r10d
xor eax, eax
mov word [rbp + 0x1e], ax
mov word [rbp + 0x2e], ax
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], 1
mov rcx, qword [rbp - 8]
shr rcx, 0x20
movzx r8d, cl
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400e00ec]
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 [rsp + 0x70]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xa000a
mov dword [rbp + 0x10], r10d
mov dword [rbp + 0x14], edi
lea eax, [r10 + 0xe8]
mov dword [rsp + 0x58], eax
mov dword [rbp + 0x20], eax
lea eax, [rdi + 3]
add eax, esi
mov dword [rbp + 0x24], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x18], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x1a], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x1c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x28], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x2a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x2c], cx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x10]
mov r8d, 2
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400e0110]
call qword [sym.imp.MSIMG32.dll_GradientFill]
xor edx, edx
movzx ecx, dx
mov word [rsp + 0x50], dx
mov rax, qword [r15]
sub rax, qword [r12]
sar rax, 5
test rax, rax
je 0x14007add1
mov r15d, edx
mov r8d, 4
movss xmm8, dword [0x1400d4b58]
movss xmm9, dword [0x1400d4c74]
movss xmm10, dword [0x1400d4b64]
cmp cx, r13w
jge 0x14007adac
movsx edi, cx
imul eax, edi, 0x19
mov r13d, dword [rbp + 0xdc]
add r13d, 0x3c
add r13d, eax
lea esi, [r13 - 5]
mov eax, dword [0x1400e0118]
mov edx, dword [0x1400e0120]
cmp eax, edx
jl 0x14007a9cd
cmp eax, dword [0x1400e0128]
jg 0x14007a9cd
mov ecx, dword [0x1400e011c]
mov r8d, dword [0x1400e0124]
cmp ecx, r8d
jl 0x14007a9d1
cmp ecx, dword [0x1400e012c]
jg 0x14007a9d1
sub eax, edx
cmp eax, dword [rsp + 0x54]
jl 0x14007a9d1
cmp eax, dword [rsp + 0x58]
jg 0x14007a9c7
sub ecx, r8d
cmp ecx, esi
jl 0x14007a9d1
lea eax, [rsi + 0x14]
cmp ecx, eax
jg 0x14007a9d1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400e00f8]
jne 0x14007a889
cmp dword [0x1400e0138], 0
jne 0x14007a889
cmp dword [0x1400e013c], 0
jne 0x14007a889
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14007a810
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 [r14], edi
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14007a838
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 0x14007a85e
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14007a85e
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
inc dword [r14]
movsxd rax, dword [r14]
test eax, eax
jns 0x14007a86e
mov dword [r14], 0
jmp 0x14007a889
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
sub rcx, qword [r12]
sar rcx, 5
cmp rax, rcx
jb 0x14007a889
lea eax, [rcx - 1]
mov dword [r14], eax
mov dword [rbp - 0x70], 0xf
mov dword [rbp - 0x6c], 0xf
mov ecx, dword [0x1400e00e4]
mov eax, 0x92492493
imul ecx
lea r9d, [rcx + rdx]
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rsp + 0x70], r9d
mov eax, 0x92492493
imul dword [0x1400e00e8]
add edx, dword [0x1400e00e8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x74], edx
xor eax, eax
mov word [rbp + 0x1e], ax
mov word [rbp + 0x2e], ax
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], 1
mov rax, qword [rsp + 0x70]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov eax, 0x92492493
imul dword [0x1400e00ec]
add edx, dword [0x1400e00ec]
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 - 0x70]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xf000f
mov eax, dword [rsp + 0x54]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], esi
mov eax, dword [rsp + 0x58]
mov dword [rbp + 0x20], eax
lea eax, [rsi + 0x14]
mov dword [rbp + 0x24], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x18], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x1a], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x1c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x28], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x2a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x2c], cx
xor esi, esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x10]
lea r8d, [rsi + 2]
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400e0110]
call qword [sym.imp.MSIMG32.dll_GradientFill]
jmp 0x14007a9d3
mov r8d, 4
xor esi, esi
jmp 0x14007a9d9
xor esi, esi
mov r8d, 4
cmp dword [r14], edi
jne 0x14007ac53
movd xmm7, r13d
cvtdq2ps xmm7, xmm7
mov edx, r8d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400e1144], eax
jle 0x14007aa2d
lea rcx, [0x1400e1144]
call fcn.1400ce7e0
cmp dword [0x1400e1144], 0xffffffff
jne 0x14007aa2d
movss dword [0x1400e0dd4], xmm7
lea rcx, [0x1400e1144]
call fcn.1400ce780
movss xmm6, dword [0x1400e0dd4]
comiss xmm7, xmm6
jbe 0x14007aa49
subss xmm7, xmm6
mulss xmm7, xmm8
addss xmm6, xmm7
jmp 0x14007aa5e
comiss xmm6, xmm7
jbe 0x14007aa66
movaps xmm0, xmm6
subss xmm0, xmm7
mulss xmm0, xmm8
subss xmm6, xmm0
movss dword [0x1400e0dd4], xmm6
mov dword [rbp - 0x80], 0xf
mov dword [rbp - 0x7c], 0xf
mov eax, 0x2aaaaaab
imul dword [0x1400e00e4]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [rbp - 0x60], ecx
mov eax, 0x2aaaaaab
imul dword [0x1400e00e8]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x5c], edx
movaps xmm0, xmm6
subss xmm0, xmm9
cvttss2si r8d, xmm0
mov word [rbp + 0x1e], si
mov word [rbp + 0x2e], si
mov dword [rbp - 8], esi
mov dword [rbp - 4], 1
mov rax, qword [rbp - 0x60]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, 0x2aaaaaab
imul dword [0x1400e00ec]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r9d, eax
movzx eax, cl
or r9d, 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 + 0x10], eax
mov dword [rbp + 0x14], r8d
mov eax, dword [rsp + 0x58]
mov dword [rbp + 0x20], eax
lea eax, [r8 + 0x14]
mov dword [rbp + 0x24], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0x18], ax
movzx eax, r9w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x1a], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0x1c], r9w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x28], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x2a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x2c], cx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 8]
mov r8d, 2
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400e0110]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400d7de0]
movdqa xmmword [rbp + 0x10], xmm0
shl r15, 5
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x1400e00c0]
lea rcx, [rbp - 0x50]
call fcn.140049190
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140049190
mov r9, rax
cvttss2si r8d, xmm6
lea edx, [rbx + 0x42]
mov r13d, 0x258
mov word [rsp + 0x38], r13w
movzx ecx, word [0x1400e00e0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140007be0
movups xmm0, xmmword [0x1400e00e4]
movaps xmmword [rbp + 0x10], xmm0
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x1400e00c0]
lea rcx, [rbp - 0x30]
call fcn.140049190
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140049190
mov r9, rax
subss xmm6, xmm10
cvttss2si r8d, xmm6
mov word [rsp + 0x38], r13w
movzx ecx, word [0x1400e00e0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
jmp 0x14007ad8b
movdqa xmm0, xmmword [0x1400d7de0]
movdqa xmmword [rbp + 0x10], xmm0
shl r15, 5
mov rdi, qword [r12]
add rdi, r15
lea rdx, [0x1400e00c0]
lea rcx, [rbp - 0x30]
call fcn.140049190
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140049190
mov r9, rax
lea edx, [rbx + 0x42]
mov eax, 0x190
mov word [rsp + 0x38], ax
movzx ecx, word [0x1400e00e0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r8d, r13d
call fcn.140007be0
mov rsi, qword [r12]
add rsi, r15
mov rdx, rsi
mov rcx, qword [rsi + 0x18]
cmp rcx, 0x10
jb 0x14007acd3
mov rdx, qword [rsi]
mov rax, qword [rsi + 0x10]
cmp rax, 4
jne 0x14007ace5
cmp dword [rdx], 0x656e6f4e
je 0x14007ad33
mov rdx, rsi
cmp rcx, 0x10
jb 0x14007acf1
mov rdx, qword [rsi]
cmp rax, 4
jne 0x14007acff
cmp dword [rdx], 0x656e6f6e
je 0x14007ad33
mov rdx, rsi
cmp rcx, 0x10
jb 0x14007ad0b
mov rdx, qword [rsi]
cmp rax, 4
jne 0x14007ad19
cmp dword [rdx], 0x454e4f4e
je 0x14007ad33
mov rdx, rsi
cmp rcx, 0x10
jb 0x14007ad25
mov rdx, qword [rsi]
cmp rax, 4
jne 0x14007ad3d
cmp dword [rdx], 0x4c4c554e
jne 0x14007ad3d
movdqa xmm0, xmmword [0x1400d7e50]
jmp 0x14007ad45
movdqa xmm0, xmmword [0x1400d7e90]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [0x1400e00c0]
lea rcx, [rbp - 0x30]
call fcn.140049190
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140049190
mov r9, rax
mov eax, 0x190
mov word [rsp + 0x38], ax
movzx ecx, word [0x1400e00e0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea r8d, [r13 - 1]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x41]
call fcn.140007be0
movzx ecx, word [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r8d, 4
inc cx
mov word [rsp + 0x50], cx
movsx r15, cx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
sub rax, qword [r12]
sar rax, 5
cmp r15, rax
jb 0x14007a724
mov ebx, dword [r14]
mov rcx, r12
call fcn.140047890
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400ce660
lea r11, [rsp + 0x190]
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