Function at 0x180003f6c
Capabilities:
Delete registry value

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.1800cf4b0
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x60], r9d
mov r15, r8
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov qword [rbp - 0x80], rax
mov r14d, eax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], rax
call fcn.1800031ec
test eax, eax
mov ebx, eax
js 0x1800045b0
cmp word [rdi], 0x7d
je 0x1800045b0
mov eax, 1
mov r13d, eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov esi, ebx
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004027
test esi, esi
je 0x1800040ff
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800045b0
cmp dword [rsp + 0x60], edx
je 0x1800040fd
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000406e
cmp ax, 0x5c
je 0x180004075
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000405c
jmp 0x18000407e
test rcx, rcx
jne 0x180004610
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800040c4
add rbx, 8
lea rax, [0x1800f4800]
cmp rbx, rax
jl 0x180004085
mov qword [rbp - 0x68], r15
xor ebx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1800029e8
mov qword [rbp - 0x68], rbx
jmp 0x1800040c6
xor ebx, ebx
test esi, esi
je 0x1800040ff
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
test eax, eax
js 0x1800045b0
mov rdx, rdi
mov rcx, r12
call fcn.1800038f4
mov ebx, eax
test eax, eax
js 0x1800045b0
mov esi, dword [rsp + 0x60]
jmp 0x1800042f3
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000412b
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
test eax, eax
js 0x1800045b0
lea rdx, [0x1800f3fc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180004234
lea rdx, [rbp + 0x210]
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
test eax, eax
js 0x1800045b0
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800045b0
cmp word [rdi], 0x3d
jne 0x180004610
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x1800041c1
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], edx
mov qword [rbp - 0x40], rdx
mov r9, rdi
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1800033a4
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x50], rdx
test eax, eax
js 0x1800045b0
jmp 0x1800042f3
cmp dword [rbp + 0x2290], edx
jne 0x180004224
test r13d, r13d
je 0x180004224
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x28], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.180002900
test eax, eax
jne 0x1800045f6
lea rdx, [rbp + 0x210]
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1800045e3
test rsi, rsi
je 0x180004224
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.1800038f4
jmp 0x180003fd5
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000424e
cmp ax, 0x5c
je 0x180004255
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000423c
jmp 0x18000425e
test rcx, rcx
jne 0x180004610
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x18000433f
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002900
test eax, eax
je 0x1800042b6
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002900
test eax, eax
je 0x1800042b6
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002848
test eax, eax
jne 0x180004617
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
test eax, eax
js 0x180004620
cmp word [rdi], 0x3d
jne 0x1800042ee
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1800033a4
mov ebx, eax
test eax, eax
js 0x180004620
mov r14, qword [rsp + 0x78]
cmp word [rdi], 0x7b
jne 0x180003fdf
mov rcx, rdi
call fcn.1800abbb4
mov ecx, 1
cmp rax, rcx
jne 0x180003fdf
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003f6c
mov ebx, eax
test eax, eax
js 0x1800045b0
mov rdx, rdi
mov rcx, r12
jmp 0x180003fd0
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x180004368
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002900
mov esi, eax
mov r14, qword [rsp + 0x78]
jmp 0x18000436d
mov esi, 2
mov r15d, ebx
test esi, esi
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp]
call fcn.1800abbd8
test eax, eax
je 0x1800043b8
cmp eax, 0xc
je 0x180004632
cmp eax, 0x16
je 0x180004627
cmp eax, 0x22
je 0x180004627
cmp eax, 0x50
jne 0x18000463d
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
test eax, eax
js 0x1800045b0
mov rdx, rdi
mov rcx, r12
call fcn.1800038f4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800045b0
cmp word [rdi], 0x7b
jne 0x18000443c
mov rcx, rdi
call fcn.1800abbb4
mov ecx, 1
cmp rax, rcx
jne 0x18000443a
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003f6c
mov ebx, eax
test eax, eax
jns 0x180004421
test r15d, r15d
je 0x1800045b0
mov rdx, rdi
mov rcx, r12
call fcn.1800031ec
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800045b0
jmp 0x18000443c
xor edx, edx
cmp esi, 2
je 0x1800044f3
test esi, esi
je 0x18000445c
cmp dword [rbp + 0x2290], edx
jne 0x1800044f3
mov ecx, esi
jmp 0x1800045a9
cmp dword [rbp + 0x2290], edx
je 0x1800044fd
mov dword [rbp - 0x70], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x1800044fd
cmp dword [rbp - 0x70], edx
jbe 0x1800044fd
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800044f3
add rsi, 8
lea rax, [0x1800f4800]
cmp rsi, rax
jl 0x1800044ba
test r13d, r13d
je 0x1800044f3
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.1800029e8
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
jmp 0x180003fdf
mov dword [rbp - 0x70], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x18000454c
cmp dword [rbp - 0x70], edx
seta sil
mov eax, edx
test r14, r14
je 0x180004566
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
test eax, eax
jne 0x1800045a7
test r13d, r13d
je 0x1800044f3
mov r15, qword [rsp + 0x68]
test esi, esi
jne 0x180003fdf
and qword [rbp - 0x18], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], rdx
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.1800027b8
xor edx, edx
mov qword [rbp - 0x20], rdx
test eax, eax
je 0x180003fdf
mov ecx, eax
call fcn.180002504
mov ebx, eax
test r14, r14
je 0x1800045be
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.1800a5000
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.180002504
mov ebx, eax
test rsi, rsi
je 0x1800045b0
mov rcx, rsi
jmp 0x180004608
mov ecx, eax
call fcn.180002504
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1800045b0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800045b0
mov ebx, 0x80020009
jmp 0x1800045b0
mov ecx, eax
call fcn.180002504
mov ebx, eax
mov r14, qword [rsp + 0x78]
jmp 0x1800045b0
mov ecx, 0x80070057
call fcn.1800024b8
int3
mov ecx, 0x8007000e
call fcn.1800024b8
int3
mov ecx, 0x80004005
call fcn.1800024b8
int3