Function at 0x180063a50
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
cmp word [0x180132410], 0
je 0x180063a89
lea rax, [0x180132410]
jmp 0x180063da6
call fcn.180025f00
mov rcx, rax
test rax, rax
je 0x180063dbe
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x40], rbx
xor r13d, r13d
mov r12d, r13d
mov r15d, r13d
call fcn.180062870
lea rdi, [r13 - 1]
lea esi, [rdi + 2]
test eax, eax
je 0x180063b57
lea rcx, [rbp + 0x48]
call fcn.180062ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x180063b26
cmp dword [rbx + 0x10], r13d
jl 0x180063b18
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180063b18
call fcn.180025a30
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x180063b0e
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x40], rax
jmp 0x180063b26
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.1800252d0
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180063b43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r12d, r13d
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], r13d
setne r12b
jmp 0x180063bf3
call fcn.180063170
test eax, eax
je 0x180063bf3
lea rcx, [rbp + 0x50]
call fcn.1800635c0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x180063bca
cmp dword [rbx + 0x10], 0
jl 0x180063bbc
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180063bbc
call fcn.180025a30
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x180063bad
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x40], rax
mov esi, 1
jmp 0x180063bca
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.1800252d0
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180063be7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
cmovne r15d, esi
cmp dword [rbx - 0x10], 0
jne 0x180063c06
lea rcx, [rbp + 0x40]
call fcn.180062110
mov rbx, qword [rbp + 0x40]
mov edx, 0x32
lea r14, [0x180132410]
mov rcx, r14
mov r8, rbx
sub r8, r14
nop dword [rax + rax]
lea rax, [rdx + 0x7fffffcc]
test rax, rax
je 0x180063c43
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180063c43
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180063c20
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r12d, r12d
jne 0x180063cf1
call fcn.180062870
test eax, eax
je 0x180063cf1
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x30], r13d
mov qword [rbp - 0x28], r13
mov r9d, 0x202
lea r8, str.SOFTWARE360EntSecurity
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.180022180
mov rsi, qword [rbp - 0x38]
test eax, eax
jne 0x180063cd6
test rbx, rbx
je 0x180063cd6
mov rax, rdi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x180063ca1
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1800fe79c]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
test rsi, rsi
je 0x180063ce8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x30], r13d
jmp 0x180063d8b
test r15d, r15d
jne 0x180063d8b
call fcn.180063170
test eax, eax
je 0x180063d8b
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], r13d
mov qword [rbp - 0x10], r13
mov r9d, 0x202
lea r8, str.SOFTWARE360safe
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.180022180
mov rsi, qword [rbp - 0x20]
test eax, eax
jne 0x180063d75
test rbx, rbx
je 0x180063d75
mov rax, rdi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x180063d40
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1800fe79c]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
test rsi, rsi
je 0x180063d87
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], r13d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x180063da3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, r14
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1800220a0
int3