Function at 0x140009b20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov rax, qword [0x14007cb40]
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.140008550
mov rcx, rax
call fcn.14000d2b0
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xf0]
call fcn.140006d30
nop
mov qword [rsp + 0xe0], 0
lea rcx, [rsp + 0xf0]
call fcn.1400028a0
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 0x140009c2a
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 0x140009e46
mov rcx, qword [rsp + 0x130]
call fcn.140002b40
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x130]
call fcn.1400028a0
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.1400085e0
mov rcx, rax
call fcn.14000d290
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 0x140009d15
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 0x140009e46
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.140008640
mov rcx, rax
call fcn.14000d2d0
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 0x140009deb
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 0x140009e46
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140009e07
mov dword [rsp + 0x44], 1
jmp 0x140009e0f
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.14003e0d0
add rsp, 0x120
pop rdi
ret