Function at 0x140003190
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
lea r13, [rsp + 0x130]
mov dword [rsp + 0x290], ecx
lea rbx, [rsp + 0xb0]
mov rcx, r13
mov qword [rsp + 0x298], rdx
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x2a0], r8d
call fcn.1400bd3a0
mov rax, qword [0x140133a00]
mov rsi, qword [0x140133500]
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
add rax, 0x10
mov rdi, qword [rsi + 0x10]
mov qword [rsp + 0x220], 0
mov qword [rsp + 0x130], rax
xor eax, eax
mov word [rsp + 0x210], ax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x228], 0
mov rdx, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x230], 0
mov qword [rsp + 0xb0], rdi
mov qword [rsp + rax + 0xb0], rdx
xor edx, edx
mov qword [rsp + 0xb8], 0
add rbx, qword [rdi - 0x18]
mov rcx, rbx
call fcn.1400be490
mov rbp, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea r14, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x68], rax
add rcx, r14
mov qword [rcx], rax
call fcn.1400be490
mov rax, qword [rsi + 8]
mov rbx, qword [rsi + 0x30]
lea r15, [rsp + 0x100]
lea r12, [rsp + 0xc8]
mov rcx, r15
mov qword [rsp + 0x58], rax
mov rax, qword [rax - 0x18]
mov qword [rsp + 0x60], rbx
mov qword [rsp + rax + 0xb0], rbx
mov rbx, qword [0x140133590]
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
lea rax, [rbx + 0x18]
mov qword [rsp + 0xb0], rax
lea rax, [rbx + 0x68]
mov qword [rsp + 0x130], rax
lea rax, [rbx + 0x40]
mov qword [rsp + 0xc0], rax
mov rax, qword [0x1401337b0]
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
add rax, 0x10
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
call fcn.1400a55a0
mov rax, qword [0x140133580]
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x108], 0x18
add rax, 0x10
mov byte [rsp + 0x120], 0
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0
call fcn.1400be490
mov r8d, 0x33
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPolicies_
mov rcx, r14
call fcn.1400c0700
cmp dword [rsp + 0x290], 1
je 0x140003618
cmp dword [rsp + 0x290], 2
je 0x140003650
mov rax, qword [rsp + 0xf0]
lea rsi, [rsp + 0xa0]
mov qword [rsp + 0x98], 0
lea r12, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0xa0], 0
test rax, rax
je 0x140003638
mov rdx, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xe8]
cmp rax, rdx
ja 0x1400035f8
sub rdx, r9
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rdx
xor edx, edx
call fcn.1400a6b80
lea rax, [rsp + 0x84]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea rax, [rsp + 0x2a0]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x90]
cmp rcx, rsi
je 0x1400034fe
mov rax, qword [rsp + 0xa0]
lea rdx, [rax + 1]
call fcn.1400c6c00
lea rax, [rbx + 0x18]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xb0], rax
lea rax, [rbx + 0x68]
add rbx, 0x40
mov qword [rsp + 0x130], rax
mov rax, qword [0x140133580]
mov qword [rsp + 0xc0], rbx
add rax, 0x10
mov qword [rsp + 0xc8], rax
cmp rcx, qword [rsp + 0x70]
je 0x140003555
mov rax, qword [rsp + 0x120]
lea rdx, [rax + 1]
call fcn.1400c6c00
mov rax, qword [0x1401337b0]
mov rcx, r15
add rax, 0x10
mov qword [rsp + 0xc8], rax
call fcn.1400a56a0
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rcx, r13
mov rax, qword [rax - 0x18]
mov qword [rsp + rax + 0xb0], rsi
mov rax, qword [rbp - 0x18]
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + rax + 0xc0], rsi
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0xb0], rdi
mov rdi, qword [rsp + 0x50]
mov qword [rsp + rax + 0xb0], rdi
mov rax, qword [0x140133a00]
mov qword [rsp + 0xb8], 0
add rax, 0x10
mov qword [rsp + 0x130], rax
call fcn.1400bd450
nop
add rsp, 0x248
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
sub rax, r9
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400a6b80
jmp 0x14000344d
mov r8d, 8
lea rdx, str.Explorer
mov rcx, r14
call fcn.1400c0700
jmp 0x1400033e2
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.1400a8f40
jmp 0x14000344d
mov r8d, 6
lea rdx, str.System
mov rcx, r14
call fcn.1400c0700
jmp 0x1400033e2