Function at 0x1400031a0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2208]
mov eax, 0x2308
call fcn.1400121d0
sub rsp, rax
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rax, qword [0x14003b610]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
mov dword [rsp + 0x4c], r9d
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov esi, ecx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x60], rcx
mov ecx, dword [rbp + 0x2250]
mov dword [rsp + 0x74], ecx
mov rcx, rax
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387f
cmp word [rdi], 0x7d
je 0x14000387a
mov eax, 1
mov dword [rsp + 0x48], eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
mov ebx, ecx
test eax, eax
sete bl
mov dword [rsp + 0x70], ebx
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003271
test ebx, ebx
je 0x140003360
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000387a
cmp dword [rsp + 0x4c], edx
je 0x140003360
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400032c9
cmp ax, 0x5c
je 0x1400032d0
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400032b7
jmp 0x1400032d9
test rcx, rcx
jne 0x14000383e
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x140003327
add rbx, 8
lea rax, [0x140028700]
cmp rbx, rax
jl 0x1400032e0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], ecx
mov qword [rbp - 0x78], rcx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140002ab4
xor ecx, ecx
mov qword [rsp + 0x78], rcx
cmp dword [rsp + 0x70], ecx
je 0x140003360
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387a
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140003a24
mov ebx, eax
test eax, eax
js 0x14000387a
jmp 0x1400035a7
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
jne 0x140003391
mov dword [rsp + 0x48], ecx
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387a
lea rdx, [0x140028650]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x1400034c3
lea rdx, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387a
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000387a
cmp word [rdi], 0x3d
jne 0x14000383e
cmp dword [rsp + 0x4c], edx
je 0x140003434
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x30], rdx
mov r9, rdi
lea r8, [rbp + 0x1f0]
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x40]
call fcn.1400017d0
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x40], rcx
test eax, eax
jmp 0x140003355
cmp dword [rbp + 0x2250], edx
jne 0x1400034a7
cmp dword [rsp + 0x48], edx
je 0x1400034a7
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], rdx
mov dword [rbp - 0x68], edx
mov qword [rbp - 0x60], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140002618
test eax, eax
jne 0x140003824
lea rdx, [rbp + 0x1f0]
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140003811
test rsi, rsi
je 0x1400034a7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140003a24
mov ebx, eax
test eax, eax
js 0x14000387a
jmp 0x140003801
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400034df
cmp ax, 0x5c
je 0x1400034e6
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x1400034cb
jmp 0x1400034ef
test rcx, rcx
jne 0x140003845
cmp dword [rsp + 0x4c], edx
je 0x1400035ff
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002618
xor esi, esi
test eax, eax
je 0x140003565
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002618
test eax, eax
je 0x140003565
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140001f98
test eax, eax
jne 0x140003871
mov rdx, rdi
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387a
cmp word [rdi], 0x3d
jne 0x1400035a2
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400017d0
mov ebx, eax
test eax, eax
js 0x14000387a
mov rsi, qword [rsp + 0x50]
cmp word [rdi], 0x7b
jne 0x140003801
mov rcx, rdi
call fcn.140011688
mov ecx, 1
cmp rax, rcx
jne 0x140003801
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov r8, rsi
mov rdx, rdi
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1400031a0
mov ebx, eax
test eax, eax
js 0x14000387a
mov rdx, rdi
mov rcx, rsi
call fcn.140002490
jmp 0x1400034b4
mov ebx, dword [rbp + 0x2250]
test ebx, ebx
jne 0x140003625
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140002618
mov esi, eax
jmp 0x14000362a
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x2250], ebx
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.1400116a4
test eax, eax
je 0x140003677
cmp eax, 0xc
je 0x140003862
cmp eax, 0x16
je 0x140003857
cmp eax, 0x22
je 0x140003857
cmp eax, 0x50
jne 0x14000384c
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387a
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140003a24
mov ebx, eax
test eax, eax
js 0x14000387a
cmp word [rdi], 0x7b
jne 0x140003707
mov rcx, rdi
call fcn.140011688
mov ecx, 1
cmp rax, rcx
jne 0x140003707
mov eax, dword [rbp + 0x2250]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.1400031a0
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x1400036f0
cmp dword [rbp + 0x2250], edx
je 0x14000387a
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.140002490
mov ebx, eax
test eax, eax
js 0x14000387a
mov eax, dword [rsp + 0x74]
mov dword [rbp + 0x2250], eax
cmp esi, 2
je 0x140003801
test esi, esi
je 0x14000372b
test eax, eax
je 0x14000386d
jmp 0x140003801
test eax, eax
je 0x14000378a
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.140002360
test eax, eax
je 0x14000378a
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x140003801
add rsi, 8
lea rax, [0x140028700]
cmp rsi, rax
jl 0x140003749
cmp dword [rsp + 0x48], edx
je 0x140003801
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.140002ab4
jmp 0x140003801
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.140002360
mov esi, eax
xor edx, edx
mov eax, edx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400037b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x58], edx
test eax, eax
jne 0x140003871
cmp dword [rsp + 0x48], edx
je 0x140003801
test esi, esi
jne 0x140003801
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], edx
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.1400021e0
xor esi, esi
mov qword [rbp - 0x58], rsi
test eax, eax
jne 0x140003871
cmp word [rdi], 0x7d
je 0x14000387a
mov rsi, qword [rsp + 0x50]
jmp 0x14000322f
mov ecx, eax
call fcn.140001d94
mov ebx, eax
test rsi, rsi
je 0x14000387a
mov rcx, rsi
jmp 0x140003836
mov ecx, eax
call fcn.140001d94
mov ebx, eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000387a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000387a
mov ebx, 0x80020009
jmp 0x14000387f
mov ebx, 0x80020009
jmp 0x14000387a
mov ecx, 0x80004005
call fcn.140001ebc
int3
mov ecx, 0x80070057
call fcn.140001ebc
int3
mov ecx, 0x8007000e
call fcn.140001ebc
int3
mov ecx, esi
jmp 0x140003873
mov ecx, eax
call fcn.140001d94
mov ebx, eax
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14000388d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.140012230
add rsp, 0x2308
pop rdi
pop rsi
pop rbx
pop rbp
ret