Function at 0x14005a6f0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp], rax
mov r15, r9
mov r13, r8
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x68], r9
mov rdi, qword [rbp + 0x80]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x60], rdi
xor r14d, r14d
lea ebx, [r14 - 1]
nop word [rax + rax]
mov qword [rbp - 8], 0
lea rcx, [rbp - 8]
call fcn.140059920
nop
mov qword [rbp - 0x10], 0
lea rax, [rsp + 0x30]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x38], rax
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp - 8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [r13]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140059ed0
nop
mov rdi, qword [rbp - 0x10]
cmp qword [rsi], 0
je 0x14005a86c
test rdi, rdi
je 0x14005a86c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.Hash
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [r15]
cmp qword [rsi], 0
je 0x14005a8a7
test rdi, rdi
je 0x14005a8a7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.ProgId
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rsp + 0x58]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x20], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x18], rax
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rcx, qword [r13]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14005a1b0
nop
test al, al
jne 0x14005aa3b
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005a974
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005a998
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
inc r14d
cmp r14d, 5
jl 0x14005a750
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005a9ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005a9ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005aa13
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14005aa34
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor al, al
jmp 0x14005ab16
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005aa60
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005aa85
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005aaaa
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005aacf
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005aaf3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14005ab14
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret