Function at 0x14005c6a0
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 [0x140300040]
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.14005b8d0
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.140019180
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp - 8]
add rcx, 0xffffffffffffffe8
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [r13]
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.140019180
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.14005be80
nop
mov rdi, qword [rbp - 0x10]
cmp qword [rsi], 0
je 0x14005c81c
test rdi, rdi
je 0x14005c81c
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 0x14005c857
test rdi, rdi
je 0x14005c857
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.140019180
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rcx, qword [r13]
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.140019180
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.14005c160
nop
test al, al
jne 0x14005c9eb
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005c924
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005c948
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
inc r14d
cmp r14d, 5
jl 0x14005c700
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005c97a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005c99f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005c9c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14005c9e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor al, al
jmp 0x14005cac6
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005ca10
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005ca35
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005ca5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005ca7f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005caa3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14005cac4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret