Function at 0x14004ef50
Capabilities:
Create thread
Encode data using xor
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
xor ebx, ebx
mov ecx, 1
call fcn.14010d98c
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400536b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14004f963
cmp dword [rbp - 0x48], ebx
je 0x14004f957
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004f957
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov ecx, dword [0x140169d38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004effc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, dword [0x140216dd8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f01a
cmp byte [0x14020f7b0], 0
sete byte [0x14020f7b0]
mov ecx, dword [0x140216e2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f093
mov ecx, 1
call fcn.14010d98c
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140053680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14004f53e
cmp dword [rbp - 0x48], 0
je 0x14004f532
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004f532
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov ecx, dword [0x140216de4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdi, 0xffffffffffffffff
test al, 1
je 0x14004f12a
mov byte [0x140216dba], 1
mov rax, qword [0x140237ec8]
cmp qword [0x140237ec0], rax
je 0x14004f12a
movsd xmm0, qword [0x140147bf8]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [0x140147c00]
mov word [rbp - 0x48], ax
mov byte [rbp - 0x50], 0x4e
xor byte [rbp - 0x4f], 0x32
xor byte [rbp - 0x4e], 0x33
xor byte [rbp - 0x4d], 0x34
xor byte [rbp - 0x4c], 0x35
xor byte [rbp - 0x4b], 0x36
xor byte [rbp - 0x4a], 0x37
xor byte [rbp - 0x49], 0x38
xor al, 0x39
mov byte [rbp - 0x48], al
xor byte [rbp - 0x47], 0x3a
lea rax, [rbp - 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004f110
lea rdx, [rbp - 0x50]
lea rcx, [0x14020f758]
call fcn.14003ac40
mov ecx, dword [0x140216ddc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f1c4
mov byte [0x140216dba], 0
mov rax, qword [0x140237ec8]
cmp qword [0x140237ec0], rax
je 0x14004f1c4
movsd xmm0, qword [str.s_WM]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [0x140147ad8]
mov word [rbp - 0x48], ax
mov byte [rbp - 0x50], 0x42
xor byte [rbp - 0x4f], 0x32
xor byte [rbp - 0x4e], 0x33
xor byte [rbp - 0x4d], 0x34
xor byte [rbp - 0x4c], 0x35
xor byte [rbp - 0x4b], 0x36
xor byte [rbp - 0x4a], 0x37
xor byte [rbp - 0x49], 0x38
xor al, 0x39
mov byte [rbp - 0x48], al
xor byte [rbp - 0x47], 0x3a
lea rax, [rbp - 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004f1a0
lea rdx, [rbp - 0x50]
lea rcx, [0x14020f758]
call fcn.14003ac40
mov ecx, 1
call fcn.140046b10
mov ecx, dword [0x140216de0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f87c
cmp byte [0x140216dbd], 0
sete al
mov byte [0x140216dbd], al
movdqa xmm6, xmmword [0x1401486a0]
mov esi, dword [0x1401691e0]
test al, al
je 0x14004f54d
movups xmm0, xmmword [str.uW_UL]
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [0x1401480d8]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1401480dc]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x1401480de]
mov byte [rbp - 0x2a], al
mov r8d, ebx
cmp esi, 2
jl 0x14004f347
movdqa xmm5, xmmword [0x140148660]
movdqa xmm4, xmmword [0x1401486f0]
movdqa xmm7, xmmword [0x140148690]
movdqa xmm0, xmmword [0x140148700]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x40]
mov edx, dword [rbp - 0x50]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14004f260
cmp r8d, 0x17
jge 0x14004f380
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x14004f351
lea rax, [rbp - 0x40]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004f390
lea rdx, [rbp - 0x40]
lea rcx, [0x140237ea0]
call fcn.14003ac40
movups xmm0, xmmword [0x140148188]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x140148198]
movsd qword [rbp - 0x30], xmm0
movzx eax, byte [0x1401481a0]
mov byte [rbp - 0x28], al
cmp esi, 2
jl 0x14004f4e3
movdqa xmm5, xmmword [0x140148660]
movdqa xmm4, xmmword [0x1401486f0]
movdqa xmm7, xmmword [0x140148690]
movdqa xmm0, xmmword [0x140148700]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x40]
mov edx, dword [rbp - 0x50]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x14004f401
cmp ebx, 0x19
jge 0x14004f51b
movsxd rax, ebx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x19
jl 0x14004f4f0
lea rax, [rbp - 0x40]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004f520
lea rdx, [rbp - 0x40]
jmp 0x14004f86d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movups xmm0, xmmword [0x140147c80]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x140147c90]
movsd qword [rbp - 0x30], xmm0
cmp esi, 2
jl 0x14004f681
movdqa xmm5, xmmword [0x140148660]
mov edx, ebx
movdqa xmm4, xmmword [0x1401486f0]
movdqa xmm7, xmmword [0x140148690]
movdqa xmm0, xmmword [0x140148700]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x40]
mov r8d, dword [rbp - 0x50]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x14004f5a0
jmp 0x14004f6bf
lea r9, [rbp - 0x40]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14004f690
lea rax, [rbp - 0x40]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x14004f6c6
lea rdx, [rbp - 0x40]
lea rcx, [0x140237ea0]
call fcn.14003ac40
movups xmm0, xmmword [0x1401480f0]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x140148100]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x140148108]
mov word [rbp - 0x28], ax
cmp esi, 2
jl 0x14004f822
movdqa xmm5, xmmword [0x140148660]
movdqa xmm4, xmmword [0x1401486f0]
movdqa xmm7, xmmword [0x140148690]
movdqa xmm0, xmmword [0x140148700]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x40]
mov edx, dword [rbp - 0x50]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x14004f740
cmp ebx, 0x1a
jge 0x14004f85b
movsxd rax, ebx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1a
jl 0x14004f830
lea rax, [rbp - 0x40]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004f860
lea rdx, [rbp - 0x40]
mov r8, rdi
lea rcx, [0x140237ed8]
call fcn.14003ac40
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f901
cmp byte [0x140216dba], 0
je 0x14004f901
mov rax, qword [0x140237ec8]
cmp byte [0x140216dbc], 0
je 0x14004f8bb
cmp qword [0x140237ec0], rax
je 0x14004f8b2
call fcn.1400469c0
mov byte [0x140216dbc], 0
jmp 0x14004f901
cmp qword [0x140237ec0], rax
je 0x14004f901
mov ecx, 2
call fcn.140046b10
cmp byte [0x140216dbd], 0
je 0x14004f8e1
movss xmm0, dword [0x14020f6f4]
jmp 0x14004f8e9
movss xmm0, dword [0x14020f77c]
mulss xmm0, dword [0x140148508]
cvttss2si rcx, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400469c0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f934
cmp byte [0x140169211], 0
je 0x14004f92a
mov ecx, 2
call fcn.140046b10
mov byte [0x140216dbc], 1
mov ecx, 2
call fcn.140046b10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3