Function at 0x140001b20
Capabilities:
Execute command
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
lea rcx, [0x140008554]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x2710
sub ecx, eax
mov edx, ecx
lea rcx, [rbp - 0x29]
call fcn.140005570
nop
mov r8, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
sub rax, r8
mov r14d, 7
lea rsi, str.Serial_
cmp rax, r14
jb 0x140001c28
lea rax, [r8 + 7]
mov qword [rbp - 0x19], rax
lea rbx, [rbp - 0x29]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x29]
lea rax, [0x140008a57]
cmp rax, rbx
jbe 0x140001bec
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140001bec
cmp rbx, rsi
ja 0x140001be4
mov edi, r12d
jmp 0x140001bef
mov rdi, rbx
sub rdi, rsi
jmp 0x140001bef
mov rdi, r14
lea rcx, [rbx + 7]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 7]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x29]
jmp 0x140001c3e
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.1400062f0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], r12
mov qword [rbp + 0x17], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140001ca9
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ca4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ca4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000652c
movdqa xmm0, xmmword [0x140009240]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov r14, qword [rbp + 0xf]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x54
jb 0x14000200e
lea r15, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r15, qword [rbp - 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rsi, [r14 + 0x54]
mov ebx, 0xf
lea rdi, [rbp - 0x49]
cmp rsi, rbx
jbe 0x140001d84
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001d3f
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400064f0
test rax, rax
je 0x140001d71
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001d80
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001d59
mov rdi, r12
jmp 0x140001d80
cmp rcx, 0x1000
jb 0x140001d78
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002014
jmp 0x140001d24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400064f0
mov rdi, rax
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], rbx
movaps xmm0, xmmword [str.reg_add__HKEY_LOCAL_MACHINESOFTWAREAntiCheatTest___v__SpoofedSerial___t_REG_SZ__d]
movups xmmword [rdi], xmm0
movaps xmm1, xmmword [0x140008a70]
movups xmmword [rdi + 0x10], xmm1
movaps xmm0, xmmword [0x140008a80]
movups xmmword [rdi + 0x20], xmm0
movaps xmm1, xmmword [0x140008a90]
movups xmmword [rdi + 0x30], xmm1
movaps xmm0, xmmword [0x140008aa0]
movups xmmword [rdi + 0x40], xmm0
mov eax, dword [0x140008ab0]
mov dword [rdi + 0x50], eax
lea rcx, [rdi + 0x54]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov rcx, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x140001e29
lea rax, [rcx + 3]
mov qword [rbp - 0x39], rax
lea rbx, [rbp - 0x49]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x49]
add rbx, rcx
mov r8d, 3
lea rdx, [0x140008a58]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rbp - 0x49]
jmp 0x140001e47
mov qword [rsp + 0x20], 3
lea r9, [0x140008a58]
mov edx, 3
lea rcx, [rbp - 0x49]
call fcn.140005bf0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2f], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140001eb2
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ead
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ead
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000652c
movdqa xmm0, xmmword [0x140009240]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Registry_value_has_been_changed_to
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005750
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rdx, qword [rbp - 1]
mov r8, qword [rbp + 0xf]
mov rcx, rax
call fcn.140006130
lea rdx, [0x140008a18]
mov rcx, rax
call fcn.140005750
mov rcx, rax
lea rdx, [0x140005930]
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]
lea rdx, str.Press_Enter_to_return_to_the_Main_Menu...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005750
mov rcx, rax
lea rdx, [0x140005930]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140001f92
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000652c
movdqa xmm0, xmmword [0x140009240]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140001fe1
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000652c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400064d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3