Function at 0x100002bd8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
and qword [rax - 0x28], 0
and qword [rax + 0x20], 0
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, r9
mov r12d, r8d
mov rdi, rdx
mov rbp, rcx
test r9, r9
je 0x100002c88
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100002c88
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + rax + 0x14]
call fcn.10000852c
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x100002c52
mov rcx, qword [sym.imp.msvcrt.dll__iob]
mov edx, 0x20001
add rcx, 0x60
call fcn.1000064e0
jmp 0x100002f1d
mov rcx, rax
call fcn.1000086d4
lea rdx, [0x100001478]
mov rcx, rsi
movsxd r8, eax
shr r8, 1
call fcn.1000077f8
mov rcx, rsi
call fcn.1000086d4
mov rdx, rbx
mov rcx, rsi
movsxd r8, eax
shr r8, 1
call fcn.1000078a0
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x100002dea
mov ebx, 1
cmp eax, ebx
je 0x100002cb1
lea rcx, [rsp + 0x38]
call fcn.100008450
xor eax, eax
jmp 0x100002f22
lea r8, [rsp + 0x78]
mov rdx, 0xffffffff80000002
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
je 0x100002cd8
xor edx, edx
mov ecx, eax
call fcn.1000043cc
jmp 0x100002dae
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x30]
lea rdx, [0x1000014d0]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100002dbf
test rdi, rdi
je 0x100002d13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea eax, [rax + rax + 2]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100002d8c
mov rdx, rbp
mov ecx, eax
call fcn.1000043cc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100002d66
mov rcx, qword [sym.imp.msvcrt.dll__iob]
mov edx, 0x10001
add rcx, 0x60
call fcn.1000064e0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100002dae
mov rcx, qword [sym.imp.msvcrt.dll__iob]
mov edx, 0x10001
add rcx, 0x60
call fcn.1000064e0
jmp 0x100002dae
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100002d9c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100002dac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea rcx, [rsp + 0x38]
call fcn.100008450
mov eax, ebx
jmp 0x100002f22
xor edx, edx
mov ecx, eax
call fcn.1000043cc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100002dd8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100002dae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100002dae
lea r8, [rsp + 0x78]
mov rdx, 0xffffffff80000001
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
je 0x100002e11
xor edx, edx
mov ecx, eax
call fcn.1000043cc
jmp 0x100002f13
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x30]
lea rdx, [0x1000014b0]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100002ee6
test rdi, rdi
je 0x100002e4c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea eax, [rax + rax + 2]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100002ea5
xor edx, edx
mov ecx, eax
call fcn.1000043cc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100002e9e
mov rcx, qword [sym.imp.msvcrt.dll__iob]
mov edx, 0x10001
add rcx, 0x60
call fcn.1000064e0
mov rcx, qword [rsp + 0x30]
jmp 0x100002ef4
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100002efe
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100002dac
mov rcx, qword [sym.imp.msvcrt.dll__iob]
mov edx, 0x10001
add rcx, 0x60
call fcn.1000064e0
mov ebx, 1
jmp 0x100002dae
xor edx, edx
mov ecx, eax
call fcn.1000043cc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100002f13
mov rcx, qword [sym.imp.msvcrt.dll__iob]
mov edx, 0x10001
add rcx, 0x60
call fcn.1000064e0
lea rcx, [rsp + 0x38]
call fcn.100008450
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret