Function at 0x14003a3f0
Capabilities:
Delete registry key

Disassembly:
jmp 0x14003a3f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x5f8
mov rdi, rsp
mov ecx, 0x17e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x610]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
mov byte [rsp + 0x460], 0
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0x620]
mov rcx, qword [rax]
call fcn.140004a7a
test rax, rax
je 0x14003a47b
mov rax, qword [rsp + 0x628]
mov rcx, qword [rax]
call fcn.140004a7a
test rax, rax
je 0x14003a47b
mov rax, qword [rsp + 0x618]
cmp qword [rax], 0
jne 0x14003a485
mov eax, MsiDatabaseExportA
jmp 0x14003af70
mov dword [rsp + 0x38], 0
jmp 0x14003a499
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 5
jge 0x14003af56
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14003af56
mov rax, qword [rsp + 0x620]
mov rdx, qword [rax]
lea rcx, [rsp + 0x48]
call fcn.14000194c
nop
mov dword [rsp + 0x74], 0xffffffff
mov dword [rsp + 0x78], 0xffffffff
mov byte [rsp + 0x30], 0
xor r8d, r8d
lea rdx, [0x140148368]
lea rcx, [rsp + 0x48]
call fcn.140003968
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14003a51e
xor r8d, r8d
lea rdx, [0x140148378]
lea rcx, [rsp + 0x48]
call fcn.140003968
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jl 0x14003a865
cmp dword [rsp + 0x74], 0
jl 0x14003a6b8
movsxd rax, dword [rsp + 0x74]
mov qword [rsp + 0x468], rax
lea rdx, [0x1401483a0]
lea rcx, [rsp + 0xd0]
call fcn.14000194c
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
mov rcx, qword [rsp + 0x478]
call fcn.140001e6f
mov rcx, qword [rsp + 0x468]
add rcx, rax
mov rax, rcx
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x48]
call fcn.140003373
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rcx, [0x140195590]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x490], rax
movsxd rcx, dword [rsp + 0x74]
mov r9, rcx
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140003373
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x490]
mov r8, rax
mov rdx, qword [rsp + 0x4a0]
lea rcx, [rsp + 0xa8]
call fcn.140002e50
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0x4b0], rax
mov r8, qword [rsp + 0x488]
mov rdx, qword [rsp + 0x4b0]
lea rcx, [rsp + 0x120]
call fcn.14000186b
mov qword [rsp + 0x4b8], rax
mov rdx, qword [rsp + 0x4b8]
lea rcx, [rsp + 0x48]
call fcn.140004089
lea rcx, [rsp + 0x120]
call fcn.1400049d0
nop
lea rcx, [rsp + 0xa8]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x80]
call fcn.1400049d0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400049d0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400049d0
cmp dword [rsp + 0x78], 0
jl 0x14003a852
movsxd rax, dword [rsp + 0x78]
mov qword [rsp + 0x4c0], rax
lea rdx, [0x1401483b0]
lea rcx, [rsp + 0x198]
call fcn.14000194c
mov qword [rsp + 0x4c8], rax
mov rax, qword [rsp + 0x4c8]
mov qword [rsp + 0x4d0], rax
mov rcx, qword [rsp + 0x4d0]
call fcn.140001e6f
mov rcx, qword [rsp + 0x4c0]
add rcx, rax
mov rax, rcx
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x48]
call fcn.140003373
mov qword [rsp + 0x4d8], rax
mov rax, qword [rsp + 0x4d8]
mov qword [rsp + 0x4e0], rax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rcx, [0x140195590]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4e8], rax
movsxd rcx, dword [rsp + 0x78]
mov r9, rcx
xor r8d, r8d
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x48]
call fcn.140003373
mov qword [rsp + 0x4f0], rax
mov rax, qword [rsp + 0x4f0]
mov qword [rsp + 0x4f8], rax
mov rax, qword [rsp + 0x4e8]
mov r8, rax
mov rdx, qword [rsp + 0x4f8]
lea rcx, [rsp + 0x170]
call fcn.140002e50
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x500]
mov qword [rsp + 0x508], rax
mov r8, qword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x508]
lea rcx, [rsp + 0x1e8]
call fcn.14000186b
mov qword [rsp + 0x510], rax
mov rdx, qword [rsp + 0x510]
lea rcx, [rsp + 0x48]
call fcn.140004089
lea rcx, [rsp + 0x1e8]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x170]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x148]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x1c0]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x198]
call fcn.1400049d0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14003a860
mov byte [rsp + 0x30], 1
jmp 0x14003a4dc
mov rax, qword [rsp + 0x628]
mov rdx, qword [rax]
lea rcx, [rsp + 0x218]
call fcn.14000194c
nop
mov byte [rsp + 0x30], 0
xor r8d, r8d
lea rdx, [0x1401483d8]
lea rcx, [rsp + 0x218]
call fcn.140003968
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14003a8cb
xor r8d, r8d
lea rdx, str._RegistryHiveName_
lea rcx, [rsp + 0x218]
call fcn.140003968
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jl 0x14003ac24
cmp dword [rsp + 0x74], 0
jl 0x14003aa6e
movsxd rax, dword [rsp + 0x74]
mov qword [rsp + 0x518], rax
lea rdx, str.12.0
lea rcx, [rsp + 0x298]
call fcn.14000194c
mov qword [rsp + 0x520], rax
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x528], rax
mov rcx, qword [rsp + 0x528]
call fcn.140001e6f
mov rcx, qword [rsp + 0x518]
add rcx, rax
mov rax, rcx
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x218]
call fcn.140003373
mov qword [rsp + 0x530], rax
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x538], rax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rcx, [0x140195590]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x540], rax
movsxd rcx, dword [rsp + 0x74]
mov r9, rcx
xor r8d, r8d
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x218]
call fcn.140003373
mov qword [rsp + 0x548], rax
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x550], rax
mov rax, qword [rsp + 0x540]
mov r8, rax
mov rdx, qword [rsp + 0x550]
lea rcx, [rsp + 0x270]
call fcn.140002e50
mov qword [rsp + 0x558], rax
mov rax, qword [rsp + 0x558]
mov qword [rsp + 0x560], rax
mov r8, qword [rsp + 0x538]
mov rdx, qword [rsp + 0x560]
lea rcx, [rsp + 0x2e8]
call fcn.14000186b
mov qword [rsp + 0x568], rax
mov rdx, qword [rsp + 0x568]
lea rcx, [rsp + 0x218]
call fcn.140004089
lea rcx, [rsp + 0x2e8]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x270]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x248]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x2c0]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x298]
call fcn.1400049d0
cmp dword [rsp + 0x78], 0
jl 0x14003ac11
movsxd rax, dword [rsp + 0x78]
mov qword [rsp + 0x570], rax
lea rdx, [0x140148420]
lea rcx, [rsp + 0x360]
call fcn.14000194c
mov qword [rsp + 0x578], rax
mov rax, qword [rsp + 0x578]
mov qword [rsp + 0x580], rax
mov rcx, qword [rsp + 0x580]
call fcn.140001e6f
mov rcx, qword [rsp + 0x570]
add rcx, rax
mov rax, rcx
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x388]
lea rcx, [rsp + 0x218]
call fcn.140003373
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x590], rax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rcx, [0x140195590]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x598], rax
movsxd rcx, dword [rsp + 0x78]
mov r9, rcx
xor r8d, r8d
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x218]
call fcn.140003373
mov qword [rsp + 0x5a0], rax
mov rax, qword [rsp + 0x5a0]
mov qword [rsp + 0x5a8], rax
mov rax, qword [rsp + 0x598]
mov r8, rax
mov rdx, qword [rsp + 0x5a8]
lea rcx, [rsp + 0x338]
call fcn.140002e50
mov qword [rsp + 0x5b0], rax
mov rax, qword [rsp + 0x5b0]
mov qword [rsp + 0x5b8], rax
mov r8, qword [rsp + 0x590]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x3b0]
call fcn.14000186b
mov qword [rsp + 0x5c0], rax
mov rdx, qword [rsp + 0x5c0]
lea rcx, [rsp + 0x218]
call fcn.140004089
lea rcx, [rsp + 0x3b0]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x338]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x310]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x388]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x360]
call fcn.1400049d0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14003ac1f
mov byte [rsp + 0x30], 1
jmp 0x14003a883
lea rax, [rsp + 0x430]
lea rcx, [rsp + 0x218]
mov rdi, rax
mov rsi, rcx
mov ecx, MsiEnumProductsW
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x430]
lea rdx, str.Deleting_registry_key_:__s
mov rax, qword [rsp + 0x610]
mov rcx, qword [rax]
call fcn.14000222a
mov rax, qword [rsp + 0x610]
movzx eax, byte [rax + 8]
test eax, eax
je 0x14003acea
mov rax, qword [rsp + 0x610]
cmp qword [rax + 0x10], 0
je 0x14003acbe
lea rcx, [rsp + 0x48]
call fcn.140003567
xor r9d, r9d
mov rcx, qword [rsp + 0x630]
mov r8d, dword [rcx]
mov rdx, rax
mov rax, qword [rsp + 0x618]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x610]
call qword [rax + reloc.msi.dll_MsiDatabaseCommit]
mov byte [rsp + 0x460], 1
mov dword [rsp + 0x34], eax
jmp 0x14003ace8
lea rcx, [rsp + 0x48]
call fcn.140003567
mov rdx, rax
mov rax, qword [rsp + 0x618]
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [rsp + 0x460], 1
mov dword [rsp + 0x34], eax
jmp 0x14003ad14
lea rcx, [rsp + 0x48]
call fcn.140003567
mov rdx, rax
mov rax, qword [rsp + 0x618]
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [rsp + 0x460], 1
mov dword [rsp + 0x34], eax
cmp byte [rsp + 0x460], 0
jne 0x14003ad2a
lea rcx, str.delCode
call fcn.14000144c
cmp dword [rsp + 0x34], 0
je 0x14003af39
cmp byte [rsp + 0x460], 0
jne 0x14003ad4b
lea rcx, str.delCode
call fcn.14000144c
cmp dword [rsp + 0x34], 5
jne 0x14003af39
cmp dword [rsp + 0x638], 0
jne 0x14003af39
mov dword [rsp + 0x638], 1
mov byte [0x14019402c], 0
mov qword [rsp + 0x3d8], 0
mov ecx, MsiEnumProductsW
call fcn.140002af9
mov qword [rsp + 0x408], rax
cmp qword [rsp + 0x408], 0
je 0x14003addb
lea rcx, [rsp + 0x218]
call fcn.140003567
mov rcx, qword [rsp + 0x610]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x408]
call fcn.140002bda
mov qword [rsp + 0x5c8], rax
jmp 0x14003ade7
mov qword [rsp + 0x5c8], 0
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x3d8]
call qword [rax]
mov byte [0x140195681], al
mov rax, qword [rsp + 0x3d8]
mov qword [rsp + 0x410], rax
cmp qword [rsp + 0x410], 0
je 0x14003ae59
mov edx, 1
mov rcx, qword [rsp + 0x410]
call fcn.140003e2c
mov qword [rsp + 0x5d0], rax
jmp 0x14003ae65
mov qword [rsp + 0x5d0], 0
movzx eax, byte [0x140195681]
test eax, eax
je 0x14003af39
lea rcx, [rsp + 0x48]
call fcn.140003323
mov qword [rsp + 0x5d8], rax
mov eax, 2
mov rcx, qword [rsp + 0x5d8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x3e8], rax
lea rcx, [rsp + 0x48]
call fcn.140003567
mov rdx, rax
mov rcx, qword [rsp + 0x3e8]
call fcn.140003dc8
lea rcx, [rsp + 0x218]
call fcn.140003567
mov qword [rsp + 0x420], rax
mov eax, dword [rsp + 0x638]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x630]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x420]
lea r8, [rsp + 0x3e8]
mov rdx, qword [rsp + 0x618]
mov rcx, qword [rsp + 0x610]
call fcn.14000299b
mov byte [rsp + 0x460], 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x218]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x48]
call fcn.1400049d0
jmp 0x14003a48f
cmp byte [rsp + 0x460], 0
jne 0x14003af6c
lea rcx, str.delCode
call fcn.14000144c
mov eax, dword [rsp + 0x34]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14014a040]
call fcn.140005466
mov rax, rdi
mov rcx, qword [rsp + 0x5e0]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x5f8
pop rdi
pop rsi
ret