Function at 0x140002850
Capabilities:
Encode data using xor
Log keystrokes via polling
Terminate process

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140072010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140002883
cmp byte [0x14007207c], 0
sete byte [0x14007207c]
mov qword [rsp + 0xa0], rbx
mov ecx, 0x23
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x90], rdi
movaps xmmword [rsp + 0x80], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140002bee
movaps xmmword [rsp + 0x70], xmm7
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm8
call fcn.140002e10
mov edi, dword [0x140072018]
xor ebx, ebx
mov r10, rax
lea esi, [rbx + 5]
lea ebp, [rbx + 0x1f]
cmp word [rax + 0x16], bx
je 0x140002a28
mov r8d, ebx
cmp edi, 2
jl 0x1400029e5
movdqa xmm2, xmmword [0x14006b710]
mov r8d, 8
movdqa xmm3, xmmword [0x14006b730]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14006b8a0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, esi
movd xmm6, ebp
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006b750]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rax]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x14006b790]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movq qword [rax], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006b750]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rax + 8]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14006b790]
xorps xmm2, xmm0
movq qword [rax + 8], xmm2
movsxd rax, r8d
lea r9, [r10 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x1400029f0
mov rcx, r10
call fcn.140002260
lea rdx, [rsp + 0x20]
call fcn.140002e30
mov r9, rax
cmp word [rax + 0x26], bx
je 0x140002bd3
cmp edi, 2
jl 0x140002b8c
movdqa xmm5, xmmword [0x14006b710]
mov rcx, rax
movdqa xmm4, xmmword [0x14006b8a0]
movdqa xmm7, xmmword [0x14006b750]
movaps xmmword [rsp + 0x50], xmm9
movdqa xmm9, xmmword [0x14006b790]
movd xmm6, esi
movd xmm8, ebp
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, ebx
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x10
jl 0x140002a90
movaps xmm9, xmmword [rsp + 0x50]
cmp eax, 0x14
jge 0x140002bd3
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x35
xor word [r8 - 2], ax
cmp ebx, 0x14
jl 0x140002ba0
mov rcx, r9
call fcn.140002260
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, qword [0x1400729e8]
mov rcx, qword [0x1400729f0]
cmp r9, rcx
je 0x140002c0b
mov rcx, r9
mov qword [0x1400729f0], rcx
mov rax, qword [0x140072a00]
xor ebx, ebx
cmp rax, qword [0x140072a08]
xorps xmm1, xmm1
xorps xmm0, xmm0
movsd qword [rsp + 0x30], xmm1
mov qword [0x140072808], rbx
mov qword [0x140072820], rbx
mov qword [0x140072830], rbx
mov qword [0x140072810], rbx
mov qword [0x140072828], rbx
mov qword [0x140072860], rbx
mov qword [0x140072868], rbx
movups xmmword [0x140072a18], xmm0
mov dword [0x140072848], ebx
movsd qword [0x140072a28], xmm1
mov qword [0x140072840], rbx
mov qword [0x140072850], rbx
mov dword [0x140072838], ebx
je 0x140002c8a
mov qword [0x140072a08], rax
sub rcx, r9
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, r9
call fcn.14000f6d0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140002cce
imul rax, rax, 0x64
jmp 0x140002cec
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7ffffffff70f2e7e
lea rdi, [rax + 0x8f0d180]
cmp rax, rcx
jle 0x140002d0c
movabs rdi, 0x7fffffffffffffff
movsd xmm6, qword [0x14006b5f0]
movabs rsi, 0x311cdad160000
movabs rbp, 0x112e0be826d694b3
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140002d46
imul rax, rax, 0x64
jmp 0x140002d64
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rdi, rax
je 0x140002dc6
jl 0x140002dc6
mov rbx, rdi
sub rbx, rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
imul rcx, rax, 0x64
comisd xmm0, xmm6
jbe 0x140002d8e
add rcx, rsi
jmp 0x140002d91
add rcx, rbx
mov rax, rbp
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
mov qword [rsp + 0x20], rdx
sub ecx, eax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x140002d28
movaps xmm6, xmmword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140042ac0
add rsp, 0x98
ret