Function at 0x14001c280
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov rax, qword [0x140048010]
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.14001c250
mov rcx, rax
call fcn.14001e460
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140020210
nop
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xf8]
call fcn.140020030
lea rcx, [rsp + 0xf8]
call fcn.14001fe90
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 0x14001c341
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0xf8]
call fcn.1400200c0
movzx eax, byte [rsp + 0x35]
jmp 0x14001c609
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.14001c630
mov rcx, rax
call fcn.14001e480
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 0x14001c3db
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0xf8]
call fcn.1400200c0
movzx eax, byte [rsp + 0x38]
jmp 0x14001c609
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.14001c660
mov rcx, rax
call fcn.14001e580
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 0x14001c475
mov byte [rsp + 0x3a], 0
lea rcx, [rsp + 0xf8]
call fcn.1400200c0
movzx eax, byte [rsp + 0x3a]
jmp 0x14001c609
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.14001c690
mov rcx, rax
call fcn.14001e440
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 0x14001c50f
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0xf8]
call fcn.1400200c0
movzx eax, byte [rsp + 0x3c]
jmp 0x14001c609
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.14001fa20
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x130]
call fcn.14001fe90
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x3d]
call fcn.14001c730
mov rcx, rax
call fcn.14001e420
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 0x14001c5ca
mov byte [rsp + 0x3e], 0
lea rcx, [rsp + 0xf8]
call fcn.1400200c0
movzx eax, byte [rsp + 0x3e]
jmp 0x14001c609
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14001c5e6
mov dword [rsp + 0x40], 1
jmp 0x14001c5ee
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x37], al
lea rcx, [rsp + 0xf8]
call fcn.1400200c0
movzx eax, byte [rsp + 0x37]
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140031c10
add rsp, 0x120
pop rdi
ret