Function at 0x40de00
Capabilities:
Set registry value via stdregprov

Disassembly:
push r15
mov r15, r8
push r14
mov r14, rdx
push r13
push r12
push rbp
mov rbp, rcx
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov qword [rsp + 0x148], r9
lea rbx, [rsp + 0xc8]
call fcn.0040e1b0
mov r12, qword [0x00429150]
lea rdx, str.SetStringValue
mov rcx, rbx
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov rax, qword [r12]
mov rsi, qword [rax + 0x98]
call fcn.0040f7b0
mov rdx, qword [rsp + 0xc8]
test rdx, rdx
je 0x40de74
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [rsp + 0x58]
mov rcx, r12
mov qword [rsp + 0x20], 0
call rsi
mov rcx, rbx
mov dword [0x00429140], eax
call fcn.0040f750
cmp dword [0x00429140], 0
mov rsi, qword [sym.imp.ole32.dll_CoUninitialize]
js 0x40e126
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
call qword [rax + 0x78]
mov dword [0x00429140], eax
test eax, eax
js 0x40e11b
lea r13, [rsp + 0x80]
mov r12, qword [sym.imp.OLEAUT32.dll_VariantInit]
mov rcx, r13
call r12
mov dword [rsp + 0x88], ebp
lea rbp, [rsp + 0x98]
mov word [rsp + 0x80], 3
mov rcx, rbp
call r12
mov rcx, rbx
mov rdx, r14
mov word [rsp + 0x98], 8
call fcn.0040f7b0
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x40df2e
mov rcx, qword [rcx]
mov r14, qword [sym.imp.OLEAUT32.dll_SysAllocString]
lea rdi, [rsp + 0xb0]
call r14
mov rcx, rbx
mov qword [rsp + 0xa0], rax
call fcn.0040f750
mov rcx, rdi
call r12
mov rcx, rbx
mov rdx, r15
mov word [rsp + 0xb0], 8
call fcn.0040f7b0
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x40df7b
mov rcx, qword [rcx]
call r14
mov rcx, rbx
mov qword [rsp + 0xb8], rax
call fcn.0040f750
mov rcx, rbx
call r12
mov rdx, qword [rsp + 0x148]
lea r12, [rsp + 0x78]
mov word [rsp + 0xc8], 8
mov rcx, r12
call fcn.0040f7b0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x40dfc0
mov rcx, qword [rcx]
call r14
mov rcx, r12
mov qword [rsp + 0xd0], rax
call fcn.0040f750
mov rcx, qword [rsp + 0x68]
mov r9, r13
xor r8d, r8d
lea rdx, str.hDefKey
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x68]
mov r9, rbp
xor r8d, r8d
mov dword [0x00429140], eax
lea rdx, str.sSubKeyName
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x68]
mov r9, rdi
xor r8d, r8d
mov dword [0x00429140], eax
lea rdx, str.sValueName
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x68]
mov r9, rbx
xor r8d, r8d
mov dword [0x00429140], eax
lea rdx, str.sValue
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0
call qword [rax + 0x28]
mov r14, qword [0x00429170]
mov rcx, r12
mov rdi, qword [rsp + 0x68]
mov dword [0x00429140], eax
lea rdx, str.SetStringValue
mov rax, qword [r14]
mov rbx, qword [rax + 0xc0]
call fcn.0040f7b0
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x40e09d
mov r8, qword [r8]
lea r13, [rsp + 0x70]
lea rdx, str.StdRegProv
mov qword [rsp + 0x48], r8
mov rcx, r13
call fcn.0040f7b0
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x48]
test rdx, rdx
je 0x40e0c8
mov rdx, qword [rdx]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], 0
call rbx
mov rcx, r13
mov dword [0x00429140], eax
call fcn.0040f750
mov rcx, r12
call fcn.0040f750
mov rcx, qword [rsp + 0x68]
cmp dword [0x00429140], 0
mov rax, qword [rcx]
jns 0x40e157
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x00429150]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x00429170]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x00429160]
mov rax, qword [rcx]
call qword [rax + 0x10]
call rsi
mov eax, dword [0x00429140]
jmp 0x40e19b
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x00429150]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x00429170]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x00429160]
mov rax, qword [rcx]
call qword [rax + 0x10]
call rsi
xor eax, eax
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret