Function at 0x1014b40
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xf0
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rbp, rdx
mov rsi, rcx
lea rax, [rsp + 0x40]
mov qword [r11 + 8], rax
lea r13, [0x01002f50]
mov qword [rsp + 0x40], r13
lea r14, [0x01002f40]
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], 0x126
mov dword [rsp + 0x54], 0x4000
xor r12d, r12d
mov dword [rsp + 0x58], r12d
mov word [r11 - 0x78], r12w
mov byte [r11 - 0x76], r12b
mov byte [r11 - 0x75], 1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [r11 - 0xa8], r12
mov qword [r11 - 0xa0], r12
mov qword [r11 - 0x98], r12
mov qword [r11 - 0x90], r12
mov qword [r11 - 0x88], r12
mov qword [r11 - 0x80], r12
lea rax, [rsp + 0x40]
mov qword [r11 + 0x20], rax
mov dword [r11 - 0x70], r12d
lea rcx, [0x01003070]
mov qword [r11 - 0x68], rcx
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x60], rax
mov r8d, dword [rsp + 0x50]
mov dword [r11 - 0x58], r8d
mov eax, dword [rsp + 0x54]
mov dword [r11 - 0x54], eax
mov r9d, dword [rsp + 0x58]
mov dword [r11 - 0x50], r9d
cmp dword [0x010217a0], r12d
je 0x1014c82
cmp dword [0x010217c0], r12d
je 0x1014c82
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x010217a0]
call fcn.0100d730
lea rdx, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0xd8]
lea rcx, [0x010217a0]
call fcn.0100d990
nop
cmp byte [rsp + 0xb3], 0
je 0x1014cb1
lea rbx, [rsp + 0x60]
mov edi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x1014ca7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rdi, 1
jne 0x1014c96
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8d, eax
test eax, eax
je 0x1014db8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], 0x137
mov dword [rsp + 0x54], 0x4000
mov dword [rsp + 0x58], r12d
mov word [rsp + 0xb0], 0
mov byte [rsp + 0xb2], 0
mov byte [rsp + 0xb3], 1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r12
test r8d, r8d
jle 0x1014d81
movzx r8d, r8w
or r8d, 0x80070000
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x30], eax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x01003020]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb8]
call fcn.0100e930
nop
cmp dword [0x010217a0], 0
je 0x1014e33
cmp dword [0x010217c0], 0
je 0x1014e33
mov dword [rsp + 0x30], r12d
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xd8]
xor r8d, r8d
lea rdx, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d730
mov r8d, dword [rsp + 0xb8]
lea rdx, [0x010047f0]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0xd8]
lea rcx, [0x010217a0]
call fcn.0100d990
add rsp, 0xf0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret