Function at 0x14001583e
Capabilities:
Set registry value

Disassembly:
jmp 0x140036860
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4c8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4e8]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0xa4], 0x80004005
cmp qword [rbp + 0x4a0], 0
jne 0x1400368ee
mov eax, 0xc00000f1
jmp 0x140036c05
mov rax, qword [rbp + 0x4a0]
cmp dword [rax + 8], 0
jne 0x140036905
mov eax, 0xc00000f1
jmp 0x140036c05
cmp qword [rbp + 0x4a8], 0
jne 0x140036919
mov eax, 0xc00000f2
jmp 0x140036c05
lea rdx, [rbp + 8]
xor ecx, ecx
call fcn.140015721
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jge 0x140036935
mov eax, dword [rbp + 0x64]
jmp 0x140036c05
cmp dword [rbp + 0x4b0], 0
je 0x140036a13
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140036a13
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rbp + 0x4b8], 0
je 0x140036a09
mov rcx, qword [rbp + 0x4b8]
call fcn.14001528a
lea rax, [rax + rax + 2]
mov qword [rbp + 0x88], rax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x4b8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004a83c]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x498]
lea rcx, [rbp + 0xd0]
call fcn.1400151ea
lea rdx, str._shellopen
lea rcx, [rbp + 0xd0]
call fcn.140015a96
lea rdx, [0x14004a640]
lea rcx, [rbp + 0xd0]
call fcn.140015a96
lea rdx, str.command
lea rcx, [rbp + 0xd0]
call fcn.140015a96
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140036b0d
mov rcx, qword [rbp + 0x4a8]
call fcn.14001528a
lea rax, [rax + rax + 2]
mov qword [rbp + 0x88], rax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x4a8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004a83c]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140036afa
mov dword [rbp + 0x64], 0
jmp 0x140036b01
mov dword [rbp + 0x64], 0xc000014d
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140036b14
mov dword [rbp + 0x64], 0xc000014d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rbp + 0x64], 0
jge 0x140036b2c
mov eax, dword [rbp + 0x64]
jmp 0x140036c05
mov dword [rbp + 0x64], 0xc0000001
mov rax, qword [0x140070bf8]
cmp dword [rax + 8], 0x4a62
jbe 0x140036b70
mov r9d, 2
mov r8, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x490]
mov ecx, 2
mov rax, qword [rbp + 0x4a0]
call qword [rax]
mov dword [rbp + 0xa4], eax
jmp 0x140036bf2
mov rax, qword [0x140070bf8]
mov eax, dword [rax + 8]
mov dword [rbp + 0x464], eax
cmp dword [rbp + 0x464], 0x4563
je 0x140036ba6
cmp dword [rbp + 0x464], 0x47ba
je 0x140036ba6
cmp dword [rbp + 0x464], 0x47bb
je 0x140036ba6
jmp 0x140036bd0
mov r9d, 2
mov r8, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x490]
mov ecx, 2
mov rax, qword [rbp + 0x4a0]
call qword [rax]
mov dword [rbp + 0xa4], eax
jmp 0x140036bf2
mov r8, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x490]
mov ecx, 2
mov rax, qword [rbp + 0x4a0]
call qword [rax]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
jl 0x140036c02
mov dword [rbp + 0x64], 0
mov eax, dword [rbp + 0x64]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14005ebc0]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret