Function at 0x10001100c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
and dword [rax + 0x10], 0
and qword [rax - 0x30], 0
and dword [rax + 0x20], 0
mov r14d, 1
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rax - 0x38], r14d
test rdx, rdx
jne 0x10001107e
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011074
test byte [rcx + 0x1c], r14b
je 0x100011074
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x1b]
lea r8, [0x100001910]
call fcn.100004898
mov eax, 0x80070057
jmp 0x100011347
cmp dword [rcx + 0x28], r14d
je 0x100011345
cmp dword [rcx + 0x2c], r14d
je 0x100011345
lea rax, [rsp + 0x98]
mov r15d, 2
lea r8, [0x100002aa8]
lea rdx, [0x100002a30]
mov rcx, 0xffffffff80000001
mov r9d, r15d
mov qword [rsp + 0x20], rax
call fcn.100015520
mov ebx, eax
test eax, eax
jns 0x1000110f2
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011331
test byte [rcx + 0x1c], r14b
je 0x100011331
lea edx, [r15 + 0x1a]
jmp 0x10001131d
cmp dword [rsp + 0x98], 0
je 0x10001132f
lea r12, [rdi + 0x40]
lea r8, [0x100023870]
mov r9d, r15d
mov edx, r15d
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.1000155d4
mov ebx, eax
test eax, eax
jns 0x10001114f
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011331
test byte [rcx + 0x1c], r14b
je 0x100011331
mov edx, 0x1d
jmp 0x100011255
xor ebx, ebx
lea rsi, [rdi + 0x260]
mov eax, ebx
lea rdx, [0x1000021d8]
imul rax, rax, 0x228
lea rcx, [rax + rdi + 0x44]
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x100011183
cmp dword [rsi], eax
je 0x100011183
cmp dword [rsi], r14d
ja 0x10001132f
add ebx, r14d
add rsi, 0x228
cmp ebx, r15d
jb 0x100011158
mov rdx, rbp
mov rcx, rdi
call fcn.100011858
test eax, eax
jne 0x1000111d7
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x1000111cf
test byte [rcx + 0x1c], 4
je 0x1000111cf
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, 0x1e
call fcn.100004898
mov ebx, r14d
jmp 0x100011331
mov rcx, rdi
call fcn.100011c74
mov ebx, eax
test eax, eax
jns 0x10001120d
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011331
test byte [rcx + 0x1c], r14b
je 0x100011331
mov edx, 0x1f
jmp 0x100011255
mov rdi, 0xffffffff80000001
lea r9, [0x100002df0]
mov edx, r15d
mov r8, rdi
mov rcx, r12
call fcn.100015ad4
mov ebx, eax
test eax, eax
jns 0x10001126d
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011331
test byte [rcx + 0x1c], r14b
je 0x100011331
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov r9d, ebx
call fcn.1000048bc
jmp 0x100011331
lea rax, [rsp + 0xa8]
lea rdx, [0x100002df0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov rcx, rdi
mov dword [rsp + 0x28], r15d
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1000112ce
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011331
test byte [rcx + 0x1c], r14b
je 0x100011331
mov edx, 0x21
jmp 0x10001131d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, [0x100002e80]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001132f
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011331
test byte [rcx + 0x1c], r14b
je 0x100011331
mov edx, 0x22
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
call fcn.100004898
jmp 0x100011331
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x100011341
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100011347
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret