Function at 0x1800368d0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov rdi, r9
mov rsi, r8
mov r12, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
cmp qword [rdx + 0x18], 8
jb 0x18003691f
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001b
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x180036a4b
lea rcx, [rsp + 0x60]
call fcn.180014d60
nop
lea rdx, str.RegCreateKeyEx_Failed._lStatus:
lea rcx, [rsp + 0x60]
call fcn.180022d00
mov rcx, rax
mov edx, ebx
call fcn.180037120
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180022d00
mov rcx, rax
mov rdx, r12
call fcn.180022fd0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180022d00
mov rcx, rax
mov rdx, rsi
call fcn.180022fd0
lea rdx, str.CRegUtility::WriteRegValue
lea rcx, [rbp + 0x78]
call fcn.180012480
nop
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x82
lea r8, [rbp + 0x50]
xor edx, edx
call fcn.180030340
nop
lea rcx, [rbp + 0xa0]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp - 0x18]
call fcn.180014de0
lea rcx, [rbp - 0x18]
call fcn.180013e40
xor al, al
jmp 0x180036cdc
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180036a5b
mov rcx, qword [rdi]
jmp 0x180036a5e
mov rcx, rdi
cmp qword [rsi + 0x18], 8
jb 0x180036a6a
mov rdx, qword [rsi]
jmp 0x180036a6d
mov rdx, rsi
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov r13b, 1
test eax, eax
je 0x180036b89
lea rcx, [rsp + 0x60]
call fcn.180014d60
nop
lea rdx, str.RegSetValueEx_Failed._lStatus:
lea rcx, [rsp + 0x60]
call fcn.180022d00
mov rcx, rax
mov edx, ebx
call fcn.180037120
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180022d00
mov rcx, rax
mov rdx, r12
call fcn.180022fd0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180022d00
mov rcx, rax
mov rdx, rsi
call fcn.180022fd0
lea rdx, str.CRegUtility::WriteRegValue
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x78]
call fcn.180012480
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x8f
lea r8, [rbp + 0x78]
xor edx, edx
call fcn.180030340
nop
lea rcx, [rbp + 0xa0]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x18]
call fcn.180014de0
lea rcx, [rbp - 0x18]
call fcn.180013e40
xor r13b, r13b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x60]
call fcn.180014d60
nop
lea rdx, [0x180148658]
lea rcx, [rsp + 0x60]
call fcn.180022d00
mov rcx, rax
movzx edx, r13b
call fcn.180013a10
mov rcx, rax
lea rdx, str._strSubKey:
call fcn.180022d00
mov rcx, rax
mov rdx, r12
call fcn.180022fd0
mov rcx, rax
lea rdx, str.._strKeyName:
call fcn.180022d00
mov rcx, rax
mov rdx, rsi
call fcn.180022fd0
mov rcx, rax
lea rdx, str.._strKeyValue:
call fcn.180022d00
mov rcx, rax
mov rdx, rdi
call fcn.180022fd0
mov rcx, rax
lea rdx, str.._dwType:
call fcn.180022d00
mov rcx, rax
mov edx, 1
call fcn.18002d850
mov rcx, rax
lea rdx, str.._samDesired:
call fcn.180022d00
mov rcx, rax
xor edx, edx
call fcn.18002d850
lea rdx, str.CRegUtility::WriteRegValue
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x78]
call fcn.180012480
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_DllRegisterServer
lea r8, [rbp + 0x78]
mov edx, 3
call fcn.180030340
nop
lea rcx, [rbp + 0xa0]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x18]
call fcn.180014de0
lea rcx, [rbp - 0x18]
call fcn.180013e40
movzx eax, r13b
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x1d0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret