Function at 0x140038e2e
Capabilities:
Delete registry value

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov qword [rbp + 0xd0], r8
mov qword [rbp + 0x98], 0
call fcn.14011b000
mov rax, qword [rbp + 0xc0]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14011b450
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp + 0xc8]
mov rcx, rax
call fcn.14011b450
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0xd0]
mov rcx, rax
call fcn.14011b450
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.1400361a8
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
lea rax, [0x140930f18]
mov qword [rbp + 0x78], rax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.14011b3b0
test eax, eax
je 0x140038fde
mov eax, dword [0x14095869c]
test eax, eax
je 0x140038f94
mov rax, qword [0x140958688]
mov qword [rbp + 0x70], rax
mov rax, qword [0x140958278]
mov qword [rbp + 0x68], rax
mov eax, dword [0x1409586c4]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x58], rax
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xa8], rax
nop
jmp 0x1400390bd
nop
mov rax, qword [0x140958688]
mov qword [rbp + 0x48], rax
mov rax, qword [0x140958278]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xa8], rax
jmp 0x1400390bd
nop
mov rax, qword [0x140958688]
mov qword [rbp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
cdqe
mov qword [rbp + 0x90], rax
mov eax, dword [0x14095869c]
test eax, eax
je 0x140039083
mov rax, qword [0x140958278]
mov qword [rbp + 0x10], rax
mov eax, dword [0x1409586c4]
or eax, 0xf003f
cdqe
mov qword [rbp + 8], rax
lea rax, [rbp - 0x40]
mov qword [rbp], rax
mov rax, qword [rbp - 0x48]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp + 0xa8], rax
jmp 0x1400390bd
nop
mov rax, qword [0x140958278]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140039116
mov rax, qword [rbp + 0xc8]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x28]
mov rcx, rax
call sub.ADVAPI32.dll_RegDeleteValueW
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140039108
mov qword [rbp + 0xa0], 1
jmp 0x140039117
nop
mov qword [rbp + 0xa0], 0
jmp 0x140039117
nop
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
nop
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call fcn.14011b3f0
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.14011b3f0
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.14011b3f0
mov rax, qword [rbp + 0x98]
add rsp, 0x130
pop rbp
ret