Function at 0x1400033f8
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.140024ef0
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x60], r9d
mov r15, r8
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov r14d, eax
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x60], rax
call fcn.14000264c
test eax, eax
mov ebx, eax
js 0x1400037b4
cmp word [rdi], 0x7d
je 0x1400037b4
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 0x1400034ad
test esi, esi
je 0x140003585
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400037b4
cmp dword [rsp + 0x60], edx
je 0x140003583
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400034f4
cmp ax, 0x5c
je 0x1400034fb
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400034e2
jmp 0x140003504
test rcx, rcx
jne 0x140003b1a
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003548
add rbx, 8
lea rax, [0x140028980]
cmp rbx, rax
jl 0x14000350b
mov qword [rsp + 0x78], r15
xor ebx, ebx
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x78], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140001f4c
jmp 0x14000354a
xor ebx, ebx
test esi, esi
je 0x140003585
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
test eax, eax
js 0x1400037b4
mov rdx, rdi
mov rcx, r12
call fcn.140002d9c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400037b4
mov esi, dword [rsp + 0x60]
jmp 0x140003822
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400035b1
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
test eax, eax
js 0x1400037b4
lea rdx, [0x140028338]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400036ac
lea rdx, [rbp + 0x1d0]
mov rcx, r12
call fcn.14000264c
mov ebx, eax
test eax, eax
js 0x1400037b4
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400037b4
cmp word [rdi], 0x3d
jne 0x140003b1a
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x140003637
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov r9, rdi
lea r8, [rbp + 0x1d0]
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.140002804
mov ebx, eax
xor edx, edx
jmp 0x14000381e
cmp dword [rbp + 0x2250], edx
jne 0x14000369c
test r13d, r13d
je 0x14000369c
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140001e5c
test eax, eax
jne 0x140003af8
lea rdx, [rbp + 0x1d0]
mov rsi, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140003ae1
test rsi, rsi
je 0x14000369c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.140002d9c
jmp 0x14000345b
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400036c6
cmp ax, 0x5c
je 0x1400036cd
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400036b4
jmp 0x1400036d6
test rcx, rcx
jne 0x140003b1a
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x140003871
mov r14d, 0x2001f
mov r9d, r14d
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140001e5c
xor ebx, ebx
test eax, eax
je 0x1400037e7
lea r9d, [r14 - 6]
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140001e5c
test eax, eax
je 0x1400037e7
mov qword [rsp + 0x68], rbx
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x58]
test rcx, rcx
je 0x14000374d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov r8, rdi
mov rdx, r15
call fcn.14000198c
jmp 0x14000377c
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor edx, edx
test eax, eax
jne 0x1400037a3
mov eax, edx
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140003795
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14, qword [rsp + 0x68]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], edx
jmp 0x1400037a7
mov r14, qword [rbp - 0x70]
test eax, eax
je 0x1400037eb
mov ecx, eax
call fcn.140001954
mov ebx, eax
test r14, r14
je 0x1400037c2
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.140023620
add rsp, 0x22e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rbp - 0x70]
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400037b4
cmp word [rdi], 0x3d
jne 0x140003822
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140002804
mov ebx, eax
xor edx, edx
mov r14, qword [rbp - 0x70]
test eax, eax
js 0x1400037b4
cmp word [rdi], 0x7b
jne 0x140003465
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003830
mov ecx, 1
cmp rax, rcx
jne 0x140003465
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.1400033f8
mov ebx, eax
test eax, eax
js 0x1400037b4
mov rdx, rdi
mov rcx, r12
jmp 0x140003456
mov ebx, dword [rbp + 0x2250]
test ebx, ebx
jne 0x140003898
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140001e5c
mov esi, eax
mov r14, qword [rbp - 0x70]
jmp 0x14000389d
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 - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x1400038e9
cmp eax, 0xc
je 0x140003b2b
cmp eax, 0x16
je 0x140003b41
cmp eax, 0x22
je 0x140003b41
cmp eax, 0x50
jne 0x140003b36
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
test eax, eax
js 0x1400037b4
mov rdx, rdi
mov rcx, r12
call fcn.140002d9c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400037b4
cmp word [rdi], 0x7b
jne 0x14000396e
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x14000391f
mov ecx, 1
cmp rax, rcx
jne 0x14000396e
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.1400033f8
mov ebx, eax
test eax, eax
jns 0x140003957
test r15d, r15d
je 0x1400037b4
mov rdx, rdi
mov rcx, r12
call fcn.14000264c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400037b4
cmp esi, 2
je 0x140003983
test esi, esi
je 0x14000398d
cmp dword [rbp + 0x2250], edx
je 0x140003b24
mov r15, qword [rsp + 0x70]
jmp 0x140003465
cmp dword [rbp + 0x2250], edx
je 0x140003a2e
mov dword [rsp + 0x68], 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, [rsp + 0x68]
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 0x140003a2e
cmp dword [rsp + 0x68], edx
jbe 0x140003a2e
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003983
add rsi, 8
lea rax, [0x140028980]
cmp rsi, rax
jl 0x1400039ee
test r13d, r13d
je 0x140003983
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.140001f4c
mov r14, qword [rbp - 0x70]
jmp 0x140003983
mov dword [rsp + 0x68], 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, [rsp + 0x68]
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 0x140003a80
cmp dword [rsp + 0x68], edx
seta sil
mov eax, edx
test r14, r14
je 0x140003a99
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rbp - 0x70], rdx
mov dword [rbp - 0x68], edx
test eax, eax
jne 0x1400037ab
mov r15, qword [rsp + 0x70]
test r13d, r13d
je 0x140003465
test esi, esi
jne 0x140003465
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.140001d48
test eax, eax
jne 0x1400037ab
jmp 0x140003465
mov ecx, eax
call fcn.140001954
mov ebx, eax
test rsi, rsi
je 0x1400037b4
mov rcx, rsi
jmp 0x140003b0f
mov ecx, eax
call fcn.140001954
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400037b4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400037b4
mov ebx, 0x80020009
jmp 0x1400037b4
mov ecx, esi
jmp 0x1400037ad
mov ecx, 0x8007000e
call fcn.140001880
int3
mov ecx, 0x80004005
call fcn.140001880
int3
mov ecx, 0x80070057
call fcn.140001880
int3