Function at 0x14004e6f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov rax, qword [0x14007f010]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x34]
call fcn.14004e6c0
mov rcx, rax
call fcn.1400508d0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140052680
nop
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xf8]
call fcn.1400524a0
lea rcx, [rsp + 0xf8]
call fcn.140052300
lea r8, [rsp + 0xe8]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004e7b1
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0xf8]
call fcn.140052530
movzx eax, byte [rsp + 0x35]
jmp 0x14004ea79
mov byte [rsp + 0xf0], 1
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x36]
call fcn.14004eaa0
mov rcx, rax
call fcn.1400508f0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004e84b
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0xf8]
call fcn.140052530
movzx eax, byte [rsp + 0x38]
jmp 0x14004ea79
mov byte [rsp + 0xf1], 3
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x39]
call fcn.14004ead0
mov rcx, rax
call fcn.1400509f0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xf1]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004e8e5
mov byte [rsp + 0x3a], 0
lea rcx, [rsp + 0xf8]
call fcn.140052530
movzx eax, byte [rsp + 0x3a]
jmp 0x14004ea79
mov byte [rsp + 0xf2], 3
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x3b]
call fcn.14004eb00
mov rcx, rax
call fcn.1400508b0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xf2]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004e97f
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0xf8]
call fcn.140052530
movzx eax, byte [rsp + 0x3c]
jmp 0x14004ea79
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x130]
call fcn.140051e90
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x130]
call fcn.140052300
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x3d]
call fcn.14004eba0
mov rcx, rax
call fcn.140050890
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004ea3a
mov byte [rsp + 0x3e], 0
lea rcx, [rsp + 0xf8]
call fcn.140052530
movzx eax, byte [rsp + 0x3e]
jmp 0x14004ea79
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14004ea56
mov dword [rsp + 0x40], 1
jmp 0x14004ea5e
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x37], al
lea rcx, [rsp + 0xf8]
call fcn.140052530
movzx eax, byte [rsp + 0x37]
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140064080
add rsp, 0x120
pop rdi
ret