Function at 0x140002730
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Motherboard_Spoofing...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003680
lea rdx, [0x140003a30]
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 ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlVideoDEADBEEF_1234_5678_9ABC_DEF0123456780001
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000296b
lea rcx, [rsp + 0x58]
call fcn.140001c10
nop
mov qword [rsp + 0x40], 0
mov ecx, 0x20
call fcn.140003fa0
mov rdx, rax
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [0x1400069b0]
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [str.VMware_SVGA_3D_Adapter]
movups xmmword [rax], xmm0
mov ecx, dword [0x140006788]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x14000678c]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
lea rdx, str.DeviceDesc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayID
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0xdc
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov word [rbp - 0x3c], bx
mov dword [rbp + 0x2c], 0x780
mov dword [rbp + 0x30], 0x438
mov dword [rbp + 0x28], 0x20
mov dword [rbp - 0x38], 0x1c0000
mov edx, 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002918
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002913
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002913
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fe4
movdqa xmm0, xmmword [0x1400069a0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000296b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002966
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fe4
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140003f80
mov rbx, qword [rsp + 0x180]
add rsp, 0x170
pop rbp
ret