Function at 0x1400168b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140075028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x100], 0
jne 0x1400168e3
xor al, al
jmp 0x140016bbb
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x100]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x100], 0x409
je 0x14001691a
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x100], 0
jne 0x14001695b
mov rcx, qword [rsp + 0x90]
call fcn.1400166c0
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x100], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x100], 0x409
jne 0x14001695b
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x100]
mov dword [rsp + 0x54], eax
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.140014d30
lea rcx, [rsp + 0x68]
call fcn.140004310
nop
mov rax, qword [rsp + 0x90]
add rax, 8
mov r8, rax
lea rdx, str.Software_s
lea rcx, [rsp + 0x68]
call fcn.140007c70
lea rcx, [rsp + 0x68]
call fcn.140003ac0
mov byte [rsp + 0x28], 0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
lea r9, str.Language
mov r8, rax
mov rdx, 0xffffffff80000001
lea rcx, [0x14007c5bd]
call fcn.1400179e0
lea rcx, [rsp + 0x68]
call fcn.140003ac0
mov byte [rsp + 0x28], 0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
lea r9, str.Language
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [0x14007c5bd]
call fcn.1400179e0
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
lea r9, str.Language
lea r8, str.SoftwareParkControl
mov rdx, 0xffffffff80000001
lea rcx, [0x14007c5bd]
call fcn.1400179e0
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
lea r9, str.Language
lea r8, str.SoftwareParkControl
mov rdx, 0xffffffff80000002
lea rcx, [0x14007c5bd]
call fcn.1400179e0
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14007af40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140016af5
mov rax, qword [rsp + 0x90]
add rax, 0x100
mov rcx, qword [rsp + 0x90]
add rcx, 8
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14007af40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140016ba7
mov rax, qword [rsp + 0x90]
add rax, 0x100
mov rcx, qword [rsp + 0x90]
add rcx, 8
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0x68]
call fcn.140003f10
movzx eax, byte [rsp + 0x50]
jmp 0x140016bbb
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x68]
call fcn.140003f10
movzx eax, byte [rsp + 0x51]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003f5f0
add rsp, 0x88
ret