Function at 0x1400198b0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor esi, esi
mov qword [rsp + 0x40], rsi
lea r14, [rsp + 0x70]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rsi
mov edi, 2
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0
lea rdx, str.SoftwareClassesApplications
mov rbx, qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call rbx
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
lea rdx, str.SoftwareClassesApplicationscrashreporter.exe
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400199c0
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea rdx, str.IsHostApp
mov rdi, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor r8d, r8d
xor r9d, r9d
call rdi
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea rdx, str.NoOpenWith
xor r8d, r8d
xor r9d, r9d
call rdi
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea rdx, str.NoStartPage
xor r8d, r8d
xor r9d, r9d
call rdi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
call rsi
movsxd rcx, dword [rax]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
call rsi
cmp dword [rax], 0
jle 0x140019b1b
xor ebx, ebx
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
call rbp
mov rax, qword [rax]
mov rsi, qword [rax + rbx*8]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], 0
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rdi, rax
cmp rax, 7
ja 0x140019a4b
mov qword [rsp + 0x60], rdi
mov r8, rdi
add r8, rdi
mov rcx, r13
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rdi*2 + 0x50], 0
jmp 0x140019a59
mov rcx, r13
mov rdx, rdi
mov r9, rsi
call fcn.1400242a0
mov rcx, r14
mov rdx, r13
call fcn.140019b60
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
cmp rdi, 0x10
mov rcx, r14
cmovae rcx, rsi
call r12
mov qword [r15 + rbx*8], rax
cmp rdi, 0x10
jb 0x140019a9e
lea rdx, [rdi + 1]
cmp rdx, 0x1000
jae 0x140019afb
mov rcx, rsi
call fcn.14002070c
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x140019ac4
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140019adb
call fcn.14002070c
inc rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
movsxd rax, dword [rax]
cmp rbx, rax
jl 0x1400199f9
jmp 0x140019b1b
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140019b51
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x140019abf
mov rax, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
sub rsi, rax
cmp rsi, 0x20
jae 0x140019b51
add rdi, 0x28
mov rdx, rdi
mov rsi, rax
jmp 0x140019a96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ecx, dword [rax]
mov rdx, r15
call fcn.14000da20
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140021770
xor eax, eax
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3