Function at 0x14000c900
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], ecx
mov edx, ecx
lea rcx, [rsp + 0x50]
call fcn.14000c080
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x2f
jb 0x14000c9cd
lea rax, [r8 + 0x2f]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x14000c962
mov rdi, qword [rbx]
lea rax, [0x14001a157]
mov r14d, 0x2f
lea rsi, str.Handling_steam_web_helper_with_disable_status:
cmp rax, rdi
jbe 0x14000c995
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x14000c995
cmp rdi, rsi
ja 0x14000c98d
xor ebp, ebp
jmp 0x14000c998
mov rbp, rdi
sub rbp, rsi
jmp 0x14000c998
mov rbp, r14
lea rcx, [rdi + 0x2f]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbp]
sub r14, rbp
lea rdx, [rsi + 0x2f]
add rdx, rbp
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000c9f2
mov r14d, 0x2f
mov qword [rsp + 0x28], r14
lea rsi, str.Handling_steam_web_helper_with_disable_status:
mov qword [rsp + 0x20], rsi
mov edx, r14d
mov rcx, rbx
call fcn.14000a960
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
xor r8d, r8d
lea rdx, [rsp + 0x30]
call fcn.14000aea0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000ca75
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014ee0
movdqa xmm0, xmmword [0x14001b320]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000cac8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cac3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014ee0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000cb7f
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.RunningAppID
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000cb74
lea rdx, str.Failed_to_set_RunningAppID_value.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14000d550
lea rdx, [0x14000d730]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
cmp dword [rsp + 0x78], ecx
lea rdx, [0x14001a1b0]
jne 0x14000cb6e
lea rdx, [0x14001a260]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140014ec0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret