Function at 0x14000cea0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x750
mov rax, qword [0x1400710c0]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov dword [rsp + 0x120], 0
mov word [rsp + 0x130], 0
lea rax, [rsp + 0x132]
mov rdi, rax
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
mov word [rsp + 0x660], 0
lea rax, [rsp + 0x662]
mov rdi, rax
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
mov word [rsp + 0x50], 0
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
cmp qword [rsp + 0x760], 0xffffffff80000002
jne 0x14000d137
mov eax, dword [rsp + 0x778]
mov dword [rsp + 0x730], eax
cmp dword [rsp + 0x730], 0
jbe 0x14000cf9f
cmp dword [rsp + 0x730], 2
jbe 0x14000cf6d
cmp dword [rsp + 0x730], 4
je 0x14000cf94
jmp 0x14000cf9f
mov rcx, qword [rsp + 0x780]
call fcn.140002a70
mov dword [rsp + 0x200], eax
mov eax, dword [rsp + 0x200]
shl rax, 1
mov dword [rsp + 0x200], eax
jmp 0x14000cf9f
mov dword [rsp + 0x200], 4
lea rdx, str.RegistryMachine_
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [rsp + 0x768]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x240]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x770]
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x778]
mov dword [rsp + 0x218], eax
mov byte [rsp + 0x22c], 1
mov eax, dword [rsp + 0x218]
mov dword [rsp + 0x734], eax
cmp dword [rsp + 0x734], 0
jbe 0x14000d116
cmp dword [rsp + 0x734], 2
jbe 0x14000d047
cmp dword [rsp + 0x734], 2
jbe 0x14000d116
cmp dword [rsp + 0x734], 4
jbe 0x14000d0f8
jmp 0x14000d116
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x450]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x450]
mov qword [rsp + 0x220], rax
lea rcx, [rsp + 0x450]
call fcn.140002a70
add rax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x228], eax
jmp 0x14000d116
mov rax, qword [rsp + 0x780]
mov qword [rsp + 0x220], rax
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x228], eax
lea rcx, [rsp + 0x208]
call qword [0x14007a998]
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x120]
jmp 0x14000d22d
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x760]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x120], eax
cmp dword [rsp + 0x120], 0
jne 0x14000d218
mov eax, dword [rsp + 0x778]
mov dword [rsp + 0x738], eax
cmp dword [rsp + 0x738], 0
jbe 0x14000d1d8
cmp dword [rsp + 0x738], 2
jbe 0x14000d1a6
cmp dword [rsp + 0x738], 4
je 0x14000d1cd
jmp 0x14000d1d8
mov rcx, qword [rsp + 0x780]
call fcn.140002a70
mov dword [rsp + 0x200], eax
mov eax, dword [rsp + 0x200]
shl rax, 1
mov dword [rsp + 0x200], eax
jmp 0x14000d1d8
mov dword [rsp + 0x200], 4
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x780]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x778]
xor r8d, r8d
mov rdx, qword [rsp + 0x770]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.140002580
add rsp, 0x750
pop rdi
ret