Function at 0x1400715b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x60], r9d
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rdx, qword [rsp + 0x300]
mov qword [rsp + 0x58], rdx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
cmp dword [rcx + 0x11c], r12d
jne 0x140071611
xor eax, eax
jmp 0x1400718bc
cmp r9d, 1
jne 0x14007163b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r13d, dword [rsp + 0x308]
cmp rcx, r13
jne 0x140071643
add r13d, r9d
jmp 0x140071643
mov r13d, dword [rsp + 0x308]
cmp dword [rsp + 0x310], 0
je 0x140071692
lea eax, [r13 + 1]
mov edi, eax
mov ecx, eax
call fcn.14008c4a0
mov r15, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400c2840
mov dword [rsp + 0x54], 1
mov r8d, r13d
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.1400c1a10
mov r8d, r13d
mov rdx, r15
mov rcx, rsi
call fcn.14006e830
jmp 0x14007169a
mov r15, rdx
mov dword [rsp + 0x54], r12d
mov eax, dword [rsi + 0x124]
cmp eax, 2
jne 0x14007179b
mov qword [rsp + 0x58], r12
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x70]
nop
nop
nop
movzx eax, byte [rcx]
mov byte [rdx], al
add rcx, 1
add rdx, 1
test al, al
jne 0x1400716c0
test r14, r14
je 0x140071701
lea rcx, [rsp + 0x70]
call fcn.1400b3390
lea rdi, [rsp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [r14 + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400716f0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14007189d
mov r9d, 3
cmp dword [rsp + 0x310], eax
mov eax, dword [rsp + 0x60]
cmovne eax, r9d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov r9d, 1
cmove r12d, r9d
mov dword [rsp + 0x50], r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14007189d
cmp eax, 1
jne 0x14007189d
cmp byte [rsi + 0x10c], 0
je 0x14007189d
lea rax, [rsi + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
mov r9d, 3
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.140070d60
mov r12d, eax
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x180]
nop
nop
nop
movzx ecx, byte [rbx]
mov byte [rdx], cl
add rbx, 1
add rdx, 1
test cl, cl
jne 0x1400717f0
lea rdi, [rsp + 0x180]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rsi + rcx + 0x10c]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x140071820
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.1400c2840
mov ecx, r13d
mov r8d, 0xa
lea rdx, [rsp + 0x70]
call fcn.1400c6300
lea r11, [rsi + 8]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x180]
mov rdx, r14
mov rcx, rsi
call fcn.140070d60
test r15, r15
je 0x1400718b2
cmp dword [rsp + 0x54], 0
je 0x1400718b2
mov rcx, r15
call fcn.14008c4f0
nop
jmp 0x1400718b9
mov eax, r12d
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret