Function at 0x1400093c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov rax, qword [0x14007bb40]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.140007df0
mov rcx, rax
call fcn.14000c820
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xf0]
call fcn.140006580
mov qword [rsp + 0xe0], 0
lea rcx, [rsp + 0xf0]
call fcn.140002880
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1400094c9
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0xf0]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x130]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001420
movzx eax, byte [rsp + 0x32]
jmp 0x1400096e5
mov rcx, qword [rsp + 0x130]
call fcn.140002b20
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x130]
call fcn.140002880
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x33]
movzx r8d, byte [rsp + 0x34]
movzx edx, byte [rsp + 0x41]
lea rcx, [rsp + 0x90]
call fcn.140007e80
mov rcx, rax
call fcn.14000c800
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1400095b4
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0xf0]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x130]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001420
movzx eax, byte [rsp + 0x35]
jmp 0x1400096e5
mov byte [rsp + 0xe8], 1
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x36]
movzx r8d, byte [rsp + 0x37]
movzx edx, byte [rsp + 0x42]
lea rcx, [rsp + 0xa0]
call fcn.140007ee0
mov rcx, rax
call fcn.14000c840
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14000968a
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0xf0]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x130]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001420
movzx eax, byte [rsp + 0x38]
jmp 0x1400096e5
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1400096a6
mov dword [rsp + 0x44], 1
jmp 0x1400096ae
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0xf0]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x130]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001420
movzx eax, byte [rsp + 0x39]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14003ca50
add rsp, 0x120
pop rdi
ret