Function at 0x140029de0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21a8]
mov eax, 0x22a8
call fcn.14002f9f0
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rbp + 0x2190], rax
mov r15d, r9d
mov dword [rsp + 0x40], r9d
mov r13, r8
mov rdi, rdx
mov r14, rcx
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
call fcn.14002a0f4
test eax, eax
mov ebx, eax
js 0x140029fa0
cmp word [rdi], 0x7d
je 0x140029fa0
mov eax, 1
mov r12d, eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x14003fe04
test esi, esi
jne 0x14003fe04
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
xor esi, esi
test eax, eax
je 0x14003fee8
lea rdx, [0x140095570]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x14003ff05
mov edx, 0x5c
mov rcx, rdi
call fcn.14002a34c
test rax, rax
jne 0x140040158
test r15d, r15d
jne 0x14003ffb8
mov ebx, dword [rbp + 0x2210]
test ebx, ebx
jne 0x140040045
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14002a2cc
mov esi, eax
mov r15d, ebx
test esi, esi
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
test eax, eax
jne 0x14004004f
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
test eax, eax
js 0x140029fa0
mov rdx, rdi
mov rcx, r14
call fcn.14002a068
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x140029fa0
cmp word [rdi], 0x7b
jne 0x140029fcf
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x140029f66
cmp rax, 1
jne 0x140029fcf
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, r14
call fcn.140029de0
mov ebx, eax
test eax, eax
jns 0x14004007e
test r15d, r15d
jne 0x14004007e
lea rcx, [rsp + 0x60]
call fcn.14002a320
mov eax, ebx
mov rcx, qword [rbp + 0x2190]
xor rcx, rsp
call fcn.14002c9c0
add rsp, 0x22a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp esi, 2
je 0x14002a059
test esi, esi
jne 0x14004009a
xor esi, esi
cmp dword [rbp + 0x2210], esi
jne 0x1400400ad
mov rdx, qword [rsp + 0x60]
call fcn.14002a42c
mov esi, eax
lea rcx, [rsp + 0x60]
call fcn.14002a320
test eax, eax
jne 0x140040178
test r12d, r12d
je 0x14002a059
test esi, esi
jne 0x14002a059
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x48], r13
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14002a3b4
mov qword [rsp + 0x48], rsi
test eax, eax
je 0x1400400e9
mov ecx, eax
call fcn.14002a39c
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.14002a320
jmp 0x140029fa0
xor esi, esi
jmp 0x1400400df
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
test eax, eax
js 0x140029fa0
xor ebx, ebx
test r15d, r15d
je 0x140029e95
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea edx, [rbx + 0x5c]
mov rcx, rdi
call fcn.14002a34c
test rax, rax
jne 0x14004014e
mov rdx, rdi
call fcn.14004ee34
test eax, eax
je 0x14003fe6a
mov qword [rsp + 0x48], r13
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400514f4
mov qword [rsp + 0x48], rbx
test esi, esi
je 0x14003fed8
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
xor esi, esi
test eax, eax
js 0x14002a04a
mov rdx, rdi
mov rcx, r14
call fcn.14002a068
mov ebx, eax
jmp 0x14003fec1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x48], r13
mov r9, rdi
lea r8, [rbp + 0x190]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.14004e7d8
mov ebx, eax
mov qword [rsp + 0x48], rsi
test eax, eax
lea rcx, [rsp + 0x48]
js 0x14002a04f
call fcn.14002a320
jmp 0x1400400f8
lea rcx, [rsp + 0x48]
call fcn.14002a320
nop
jmp 0x140029e95
mov r12d, esi
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
test eax, eax
js 0x140029fa0
jmp 0x140029eaf
lea rdx, [rbp + 0x190]
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
test eax, eax
js 0x140029fa0
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
test eax, eax
js 0x140029fa0
cmp word [rdi], 0x3d
jne 0x140040158
test r15d, r15d
jne 0x14003fe94
cmp dword [rbp + 0x2210], esi
jne 0x14003ffa7
test r12d, r12d
je 0x14003ffa7
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14002a2cc
test eax, eax
jne 0x14002a041
lea rdx, [rbp + 0x190]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14002a041
lea rcx, [rsp + 0x48]
call fcn.14002a320
mov rdx, rdi
mov rcx, r14
call fcn.14002a068
nop
jmp 0x140029e43
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14002a2cc
test eax, eax
je 0x140040004
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14002a2cc
test eax, eax
je 0x140040004
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14004f0c4
test eax, eax
jne 0x140040178
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
test eax, eax
js 0x140029fa0
cmp word [rdi], 0x3d
jne 0x1400400f8
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14004e7d8
mov ebx, eax
test eax, eax
js 0x140029fa0
jmp 0x1400400f8
mov esi, 2
jmp 0x140029f0c
cmp eax, 0xc
je 0x14004016d
cmp eax, 0x16
je 0x140040162
cmp eax, 0x22
je 0x140040162
cmp eax, 0x50
je 0x140029f38
mov ecx, 0x80004005
call fcn.1400451cc
int3
mov rdx, rdi
mov rcx, r14
call fcn.14002a0f4
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x140029fa0
jmp 0x140029fcf
cmp dword [rbp + 0x2210], ecx
jne 0x14002a059
mov ecx, esi
jmp 0x14004017a
mov rdx, qword [rsp + 0x60]
call fcn.14002a42c
test eax, eax
je 0x140029fee
lea rdx, [rbp - 0x80]
call fcn.14004ee34
test eax, eax
je 0x1400400df
test r12d, r12d
je 0x1400400df
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400514f4
mov r15d, dword [rsp + 0x40]
jmp 0x140029e4d
lea rcx, [rsp + 0x48]
call fcn.14002a320
mov r15d, dword [rsp + 0x40]
test r15d, r15d
je 0x140029e4d
cmp word [rdi], 0x7b
jne 0x140029e4d
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x14004010f
cmp rax, 1
jne 0x140029e4d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, r14
call fcn.140029de0
mov ebx, eax
test eax, eax
js 0x140029fa0
mov rdx, rdi
mov rcx, r14
jmp 0x140029e3e
lea rcx, [rsp + 0x48]
call fcn.14002a320
mov ebx, 0x80020009
jmp 0x140029fa0
mov ecx, 0x80070057
call fcn.1400451cc
int3
mov ecx, 0x8007000e
call fcn.1400451cc
int3
mov ecx, eax
call fcn.14002a39c
mov ebx, eax
jmp 0x140029fa0