Function at 0x140036b30
Capabilities:
Delete registry value

Disassembly:
jmp 0x140036b30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rdi, rsp
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x140036b7c
mov dword [rsp + 0x88], 0xf013f
jmp 0x140036b87
mov dword [rsp + 0x88], 0xf003f
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0xd0]
call fcn.140003567
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140036cc7
mov rcx, qword [rsp + 0xd8]
call fcn.140003567
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x140036c4d
mov rcx, qword [rsp + 0xd8]
call fcn.140003567
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140003567
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov rax, qword [rsp + 0xe0]
mov r8, qword [rax]
lea rdx, str.Registry_value_deleted_:___s_:__s_:__s
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.1400051a0
jmp 0x140036cb7
cmp dword [rsp + 0x58], 2
je 0x140036cb7
cmp dword [rsp + 0x58], 3
je 0x140036cb7
mov rcx, qword [rsp + 0xd8]
call fcn.140003567
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140003567
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov rax, qword [rsp + 0xe0]
mov r8, qword [rax]
lea rdx, str.Registry_value_not_deleted_:___s_:__s_:__s___Reason_:__d
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.1400028b0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140036e4f
cmp dword [rsp + 0x54], 5
jne 0x140036e07
cmp dword [rsp + 0xe8], 0
jne 0x140036e07
mov dword [rsp + 0xe8], 1
mov byte [0x14019402c], 0
mov qword [rsp + 0x68], 0
mov ecx, MsiEnumProductsW
call fcn.140002af9
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140036d46
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0xe0]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140002bda
mov qword [rsp + 0xa0], rax
jmp 0x140036d52
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax]
mov byte [rsp + 0x5c], al
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140036db0
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.140003e2c
mov qword [rsp + 0xa8], rax
jmp 0x140036dbc
mov qword [rsp + 0xa8], 0
movzx eax, byte [rsp + 0x5c]
test eax, eax
je 0x140036e07
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.140003341
cmp dword [rsp + 0x54], 2
je 0x140036e4f
cmp dword [rsp + 0x54], 3
je 0x140036e4f
mov rcx, qword [rsp + 0xd8]
call fcn.140003567
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov rax, qword [rsp + 0xe0]
mov r8, qword [rax]
lea rdx, str.Cannot_open_registry_key__s_:__s___Reason_:__d
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.1400028b0
mov rcx, rsp
lea rdx, [0x140148e40]
call fcn.140005466
add rsp, 0xb0
pop rdi
ret