Function at 0x1000434c4
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r12, r8
mov rsi, rdx
mov r14, rcx
mov edi, 1
mov ebp, edi
xor ebx, ebx
mov r15, qword [rsp + 0xa8]
mov dword [r15], ebx
mov qword [rax - 0x40], rbx
mov r13d, ebx
lea rcx, [rax - 0x48]
call fcn.100020360
nop
lea rdx, [0x10000e5b0]
lea rcx, [rsp + 0xa8]
call fcn.100020428
nop
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.100032a84
nop
lea rcx, [rsp + 0xa8]
call fcn.10002006c
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1000435ad
cmp eax, 2
je 0x10004359a
mov r9, qword [rsi]
mov r8d, eax
lea rdx, [0x10000f1d0]
lea ecx, [rdi + 2]
call fcn.100054fd8
mov ebp, ebx
jmp 0x100043603
mov r8, qword [rsi]
lea rdx, [0x10000f2b0]
mov ecx, edi
call fcn.100054fd8
jmp 0x100043603
cmp r12, rbx
jne 0x1000435b7
mov r13d, edi
jmp 0x100043603
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, 7
xor r8d, r8d
lea rdx, [0x10000e598]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x100043601
mov r9, qword [rsi]
mov r8d, eax
lea rdx, [0x10000f380]
mov ecx, 3
call fcn.100054fd8
mov ebp, ebx
jmp 0x100043603
mov ebp, edi
mov rcx, qword [rsp + 0x38]
cmp rcx, rbx
je 0x100043613
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp r13d, ebx
je 0x10004362a
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [rsp + 0xa0], ebx
je 0x100043770
lea rcx, [rsp + 0xa8]
call fcn.100020360
nop
lea rax, [rsp + 0xa8]
cmp rax, rbx
jne 0x10004365f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100043678
lea r8, [rsp + 0xa8]
mov edx, 2
mov rcx, r14
call fcn.10003d2d8
cmp eax, ebx
jne 0x10004369d
lea rdx, [0x10000cc10]
mov ecx, 3
call fcn.100054fd8
mov edi, ebx
lea rcx, [rsp + 0xa8]
call fcn.10002006c
jmp 0x100043770
lea rdx, [rsp + 0xa0]
mov rcx, r14
call fcn.10003d268
cmp eax, ebx
jne 0x1000436de
mov r8, qword [rsp + 0xa8]
lea rdx, [0x10000ff50]
mov ecx, 3
call fcn.100054fd8
mov edi, ebx
lea rcx, [rsp + 0xa8]
call fcn.10002006c
jmp 0x100043770
mov r9d, dword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rdx, [0x10000f6e0]
mov ecx, edi
call fcn.100054fd8
mov r11d, dword [rsp + 0xa0]
cmp r11d, edi
je 0x100043732
cmp r11d, edi
jbe 0x100043729
cmp r11d, 4
ja 0x100043729
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.100040c74
jmp 0x100043745
mov eax, dword [rsp + 0xa0]
jmp 0x100043745
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.1000407b0
cmp eax, ebx
je 0x100043763
mov r8, qword [rsp + 0xa8]
lea rdx, [0x10000ffc0]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0xa8]
call fcn.10002006c
cmp ebp, ebx
je 0x100043778
cmp edi, ebx
jne 0x10004377d
mov ebx, 0x643
lea rcx, [rsp + 0x30]
call fcn.10002006c
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret