Function at 0x140038fa5
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.14011b440
mov rax, qword [rbp + 0xc0]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14011b890
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp + 0xc8]
mov rcx, rax
call fcn.14011b890
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0xd0]
mov rcx, rax
call fcn.14011b890
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.14003631f
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.14011b7f0
test eax, eax
je 0x140039155
mov eax, dword [0x1409586fc]
test eax, eax
je 0x14003910b
mov rax, qword [0x1409586e8]
mov qword [rbp + 0x70], rax
mov rax, qword [0x1409582e8]
mov qword [rbp + 0x68], rax
mov eax, dword [0x140958724]
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 0x140039234
nop
mov rax, qword [0x1409586e8]
mov qword [rbp + 0x48], rax
mov rax, qword [0x1409582e8]
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 0x140039234
nop
mov rax, qword [0x1409586e8]
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 [0x1409586fc]
test eax, eax
je 0x1400391fa
mov rax, qword [0x1409582e8]
mov qword [rbp + 0x10], rax
mov eax, dword [0x140958724]
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 0x140039234
nop
mov rax, qword [0x1409582e8]
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 0x14003928d
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 0x14003927f
mov qword [rbp + 0xa0], 1
jmp 0x14003928e
nop
mov qword [rbp + 0xa0], 0
jmp 0x14003928e
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.14011b830
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp + 0x98]
add rsp, 0x130
pop rbp
ret