Function at 0x140005df0
Capabilities:
Delete registry key
Delete registry value
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2228]
mov eax, 0x2328
call fcn.14003aed0
sub rsp, rax
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x68], r8
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
xor r13d, r13d
mov qword [rbp - 0x78], r13
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
cmp word [r14], 0x7d
je 0x1400068aa
mov r12d, 1
lea rdx, str.Delete
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140005e9e
test edi, edi
je 0x140005fa0
mov rdx, r14
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
cmp dword [rsp + 0x70], 0
je 0x140005fa0
xor edx, edx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], edx
mov qword [rbp - 0x50], rdx
mov rcx, r14
movzx eax, word [r14]
test ax, ax
je 0x140005ef9
cmp ax, 0x5c
je 0x140005ef0
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140005ed7
jmp 0x140005ef9
test rcx, rcx
jne 0x140006842
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140005f5b
add rbx, 8
lea rax, [0x140075030]
cmp rbx, rax
jl 0x140005f00
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.1400045a0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
test edi, edi
je 0x140005f99
mov rdx, r14
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x140006850
mov rdx, r14
mov rcx, rsi
call fcn.140005700
mov ebx, eax
test eax, eax
js 0x140006850
xor r12d, r12d
mov dword [rbp - 0x58], r12d
mov edi, dword [rsp + 0x70]
jmp 0x14000641c
mov dword [rbp - 0x58], 0
lea rdx, str.NoRemove
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140005fcc
xor r12d, r12d
mov rdx, r14
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
lea rdx, [0x1400731d8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400060fb
lea rdx, [rbp + 0x210]
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
mov rdx, r14
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
cmp word [r14], 0x3d
jne 0x140006849
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x14000607a
xor r12d, r12d
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x38], r12
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x38], r12
mov r9, r14
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.140005130
mov ebx, eax
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x40], r12d
test eax, eax
js 0x1400068aa
jmp 0x14000641c
cmp dword [rbp + 0x2290], 0
jne 0x1400060eb
test r12d, r12d
je 0x1400060eb
xor r12d, r12d
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
mov qword [rbp - 0x20], r12
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.1400044a0
test eax, eax
jne 0x14000687a
lea rdx, [rbp + 0x210]
mov rdi, qword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140006859
test rdi, rdi
je 0x1400060e7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
mov rdx, r14
mov rcx, rsi
call fcn.140005700
jmp 0x140005e4f
mov rcx, r14
movzx eax, word [r14]
test ax, ax
je 0x140006129
cmp ax, 0x5c
je 0x140006120
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140006107
jmp 0x140006129
test rcx, rcx
jne 0x140006849
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x140006470
xor r12d, r12d
mov qword [rsp + 0x60], r12
test r13, r13
je 0x1400061b1
cmp qword [r13], r12
je 0x1400061a4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006206
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400061aa
mov qword [rsp + 0x30], r12
mov rax, qword [r13]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x1400061d2
cmp dword [r13 + 8], r12d
jne 0x1400061b1
mov eax, 1
jmp 0x1400061d2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006206
mov eax, r12d
test r15, r15
je 0x1400061ec
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r12d
test eax, eax
je 0x1400063da
mov qword [rsp + 0x60], r12
test r13, r13
je 0x14000627f
cmp qword [r13], r12
je 0x140006272
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400062d4
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140006278
mov qword [rsp + 0x30], r12
mov rax, qword [r13]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x1400062a0
cmp dword [r13 + 8], r12d
jne 0x14000627f
mov eax, 1
jmp 0x1400062a0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400062d4
mov eax, r12d
test r15, r15
je 0x1400062ba
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r12d
test eax, eax
je 0x1400063da
mov qword [rsp + 0x60], r12
test r13, r13
je 0x140006369
cmp qword [r13], r12
je 0x14000635c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000689c
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140006362
mov qword [rsp + 0x50], r12
mov rax, qword [r13]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x1400063a2
cmp dword [r13 + 8], r12d
jne 0x140006369
mov eax, 1
jmp 0x1400063a2
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400068a1
mov eax, r12d
test r15, r15
je 0x1400063c0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r12d
test eax, eax
jne 0x1400068a1
mov rdx, r14
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
cmp word [r14], 0x3d
jne 0x14000641c
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140005130
mov ebx, eax
mov r15, qword [rsp + 0x78]
test eax, eax
js 0x1400068aa
mov r13, qword [rbp - 0x78]
cmp word [r14], 0x7b
jne 0x140005e59
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], 0
jne 0x140006430
cmp rax, 1
jne 0x140005e59
mov dword [rsp + 0x20], r12d
mov r9d, edi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140005df0
mov ebx, eax
test eax, eax
js 0x1400068aa
mov rdx, r14
mov rcx, rsi
jmp 0x140005e4a
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x14000654d
xor esi, esi
mov qword [rsp + 0x60], rsi
test r13, r13
je 0x1400064fd
cmp qword [r13], rsi
je 0x1400064f0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400064aa
lea edi, [rbx + 1]
jmp 0x140006552
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400064f6
mov qword [rsp + 0x30], rsi
mov rax, qword [r13]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x14000651e
cmp dword [r13 + 8], esi
jne 0x1400064fd
mov edi, 1
jmp 0x140006520
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x140006552
mov edi, esi
test r15, r15
je 0x14000653b
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], esi
jmp 0x140006552
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, ebx
mov r9, 0xffffffffffffffff
mov r8, r14
mov edx, 0x104
lea rcx, [rbp]
call fcn.1400466fc
test eax, eax
je 0x14000659c
cmp eax, 0xc
je 0x1400068fc
cmp eax, 0x16
je 0x140006912
cmp eax, 0x22
je 0x140006912
cmp eax, 0x50
jne 0x140006907
mov rdx, r14
mov rcx, qword [rbp - 0x70]
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
mov rdx, r14
mov rcx, qword [rbp - 0x70]
call fcn.140005700
mov ebx, eax
test eax, eax
js 0x1400068aa
cmp word [r14], 0x7b
jne 0x140006630
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1400065e0
cmp rax, 1
jne 0x140006630
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r15
mov rdx, r14
mov rcx, qword [rbp - 0x70]
call fcn.140005df0
mov ebx, eax
test eax, eax
jns 0x140006615
test esi, esi
je 0x1400068aa
mov rdx, r14
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call fcn.140004f80
mov ebx, eax
test eax, eax
js 0x1400068aa
jmp 0x140006634
mov rsi, qword [rbp - 0x70]
cmp edi, 2
je 0x140005e59
test edi, edi
je 0x140006655
cmp dword [rbp + 0x2290], 0
jne 0x140005e59
mov ecx, edi
jmp 0x1400068a3
xor edi, edi
cmp dword [rbp + 0x2290], edi
je 0x14000670a
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000670a
mov eax, edi
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x14000670a
lea rdi, str.AppID
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140005e59
add rdi, 8
lea rax, [0x140075030]
cmp rdi, rax
jl 0x1400066c0
test r12d, r12d
je 0x140005e59
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.1400045a0
mov r13, qword [rbp - 0x78]
mov r15, qword [rsp + 0x78]
jmp 0x140005e59
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140006758
cmp dword [rsp + 0x60], eax
seta dil
xor eax, eax
test r15, r15
je 0x140006770
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], 0
test eax, eax
jne 0x1400068a1
test r12d, r12d
je 0x140005e59
test edi, edi
jne 0x140005e59
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], r12d
mov qword [rbp - 8], r12
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x10], r12d
mov qword [rbp - 8], r12
cmp byte [0x14008bfc8], r12b
jne 0x140006805
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400067f0
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008bfc0], rax
mov byte [0x14008bfc8], 1
mov rcx, qword [rsp + 0x68]
jmp 0x14000680c
mov rax, qword [0x14008bfc0]
mov byte [0x14008bfc8], 1
mov rcx, qword [rsp + 0x68]
jmp 0x14000680c
mov rax, qword [0x14008bfc0]
lea rdx, [rbp]
test rax, rax
je 0x14000681f
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x140006825
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], r12d
mov qword [rbp - 8], r12
test eax, eax
jne 0x1400068ed
mov dword [rbp - 0x10], r12d
jmp 0x140005e59
mov dword [rbp - 0x58], 0
mov ebx, 0x80020009
jmp 0x1400068aa
mov dword [rbp - 0x58], 0
jmp 0x1400068aa
mov ecx, eax
call fcn.140004100
mov ebx, eax
test rdi, rdi
je 0x140006896
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
jmp 0x1400068aa
mov ecx, eax
call fcn.140004100
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140006896
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
jmp 0x1400068aa
mov eax, 1
mov ecx, eax
call fcn.140004100
mov ebx, eax
test r15, r15
je 0x1400068c1
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], 0
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.14003a0b0
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140004100
mov ebx, eax
mov dword [rbp - 0x10], r12d
jmp 0x1400068aa
mov ecx, 0x8007000e
call fcn.1400012d0
int3
mov ecx, 0x80004005
call fcn.1400012d0
int3
mov ecx, 0x80070057
call fcn.1400012d0
int3