Function at 0x14002c90f
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push r15
push r14
mov rax, 0xc
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14002c92e
sub rsp, 0x28
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140001e50
add rsp, 0x10
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.140001e50
add rsp, 0x10
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x38]
sub rsp, 0x10
call fcn.140001e50
add rsp, 0x10
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x40]
push rax
push qword [rsp + 0x30]
movsxd rax, dword [rsp + 0xb0]
mov rcx, rax
pop rdx
pop r8
call sub.ADVAPI32.dll_RegCreateKeyW
mov r15, rax
and r15, r15
jne 0x14002cd12
mov dword [rsp + 0x48], 1
movsx r15, byte [rsp + 0xc0]
mov rax, r15
push rax
mov r15, 4
cmp r15d, dword [rsp]
jne 0x14002ca6e
sub rsp, 8
mov rcx, qword [rsp + 0x48]
sub rsp, 0x20
call fcn.140001a30
add rsp, 0x28
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x68], 4
sub rsp, 8
movsxd rax, dword [rsp + 0x70]
push rax
push qword [rsp + 0x50]
movsx rax, byte [rsp + 0xe0]
push rax
push 0
push qword [rsp + 0x60]
movsxd rax, dword [rsp + 0x78]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegSetValueExW
add rsp, 0x38
mov r15, rax
and r15, r15
jne 0x14002ca69
mov dword [rsp + 0x50], 2
jmp 0x14002cd04
mov r15, 0xb
cmp r15d, dword [rsp]
jne 0x14002caee
sub rsp, 8
mov rcx, qword [rsp + 0x48]
sub rsp, 0x20
call fcn.140001a30
add rsp, 0x28
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 8
sub rsp, 8
movsxd rax, dword [rsp + 0x70]
push rax
push qword [rsp + 0x50]
movsx rax, byte [rsp + 0xe0]
push rax
push 0
push qword [rsp + 0x60]
movsxd rax, dword [rsp + 0x78]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegSetValueExW
add rsp, 0x38
mov r15, rax
and r15, r15
jne 0x14002cae9
mov dword [rsp + 0x50], 2
jmp 0x14002cd04
mov r15, 1
cmp r15d, dword [rsp]
jne 0x14002cb67
sub rsp, 8
mov rcx, qword [rsp + 0x48]
sub rsp, 0x20
call fcn.140001a00
add rsp, 0x28
mov dword [rsp + 0x68], eax
sub rsp, 8
movsxd rax, dword [rsp + 0x70]
push rax
mov rax, qword [rsp + 0x50]
push rax
movsx rax, byte [rsp + 0xe0]
push rax
push 0
push qword [rsp + 0x60]
movsxd rax, dword [rsp + 0x78]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegSetValueExW
add rsp, 0x38
mov r15, rax
and r15, r15
jne 0x14002cb62
mov dword [rsp + 0x50], 2
jmp 0x14002cd04
mov r15, 7
cmp r15d, dword [rsp]
jne 0x14002cd04
sub rsp, 8
mov rax, qword [rsp + 0x48]
mov rcx, rax
sub rsp, 0x20
call fcn.140001bf0
add rsp, 0x28
mov r15, rax
add r15, 2
add r15, r15
mov rax, r15
mov dword [rsp + 0x68], eax
sub rsp, 8
movsxd rax, dword [rsp + 0x70]
mov rcx, rax
sub rsp, 0x20
call fcn.140001b60
add rsp, 0x28
mov qword [rsp + 0x78], rax
sub rsp, 8
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
sub rsp, 0x20
call fcn.140001ca0
add rsp, 0x28
mov dword [rsp + 0x70], 1
jmp 0x14002cbe8
sub rsp, 8
movabs rax, 0x140028036
mov rdx, rax
mov rcx, qword [rsp + 0x48]
sub rsp, 0x20
call fcn.1400014b0
add rsp, 0x28
cmp eax, dword [rsp + 0x70]
jl 0x14002cc8d
sub rsp, 8
movsxd r15, dword [rsp + 0x88]
inc r15
mov rax, r15
push rax
movabs rax, 0x140028036
mov rdx, rax
mov rcx, qword [rsp + 0x50]
pop r8
sub rsp, 0x20
call fcn.140001550
add rsp, 0x28
mov dword [rsp + 0x80], eax
sub rsp, 8
push 0
mov r15, qword [rsp + 0x88]
movsxd r14, dword [rsp + 0x90]
add r14, r14
add r15, r14
add r15, 0xfffffffffffffffe
mov rax, r15
mov rcx, rax
pop rdx
sub rsp, 0x20
call fcn.140001c90
add rsp, 0x28
inc dword [rsp + 0x70]
jno 0x14002cbe8
sub rsp, 8
mov rcx, qword [rsp + 0x80]
sub rsp, 0x20
call fcn.140001bd0
add rsp, 0x20
push rax
push qword [rsp + 0x88]
movsx rax, byte [rsp + 0xe0]
push rax
push 0
push qword [rsp + 0x60]
movsxd rax, dword [rsp + 0x78]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegSetValueExW
add rsp, 0x38
mov r15, rax
and r15, r15
jne 0x14002cceb
mov dword [rsp + 0x50], 2
sub rsp, 8
mov rcx, qword [rsp + 0x80]
sub rsp, 0x20
call fcn.140001b80
add rsp, 0x28
pop rax
movsxd rax, dword [rsp + 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
movsxd rax, dword [rsp + 0x48]
movsxd rax, eax
jmp 0x14002cd1f
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
pop rax
add rsp, 0x88
pop r14
pop r15
ret