Function at 0x140298ebc
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.140138e50
sub rsp, rax
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x2190], rax
mov r15d, r9d
mov dword [rsp + 0x40], r9d
mov r13, r8
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
call fcn.1402967ec
test eax, eax
mov ebx, eax
js 0x140299411
cmp word [rdi], 0x7d
je 0x140299411
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]
nop dword [rax + rax]
test eax, eax
sete r14b
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x140298f72
test r14d, r14d
je 0x140299023
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
test eax, eax
js 0x140299411
xor ebx, ebx
test r15d, r15d
je 0x140299023
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea edx, [rbx + 0x5c]
mov rcx, rdi
call fcn.14029c908
test rax, rax
jne 0x140299402
mov rdx, rdi
call fcn.14027cb10
test eax, eax
je 0x140298fd8
mov qword [rsp + 0x48], r13
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1402987fc
mov qword [rsp + 0x48], rbx
test r14d, r14d
je 0x140299019
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
xor r14d, r14d
test eax, eax
js 0x14029944a
mov rdx, rdi
mov rcx, rsi
call fcn.14029acf4
mov ebx, eax
test eax, eax
lea rcx, [rsp + 0x48]
js 0x14029944f
call fcn.14027cd60
jmp 0x1402993ae
lea rcx, [rsp + 0x48]
call fcn.14027cd60
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x140299058
mov r12d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
test eax, eax
js 0x140299411
lea rdx, [0x140335840]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14029915d
lea rdx, [rbp + 0x190]
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
test eax, eax
js 0x140299411
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
test eax, eax
js 0x140299411
cmp word [rdi], 0x3d
jne 0x14029940c
test r15d, r15d
je 0x1402990e5
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x48], r13
mov r9, rdi
lea r8, [rbp + 0x190]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14027c018
mov ebx, eax
mov qword [rsp + 0x48], r14
jmp 0x140299002
cmp dword [rbp + 0x2210], r14d
jne 0x14029914d
test r12d, r12d
je 0x14029914d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.140297e78
test eax, eax
jne 0x140299441
lea rdx, [rbp + 0x190]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140299441
lea rcx, [rsp + 0x48]
call fcn.14027cd60
mov rdx, rdi
mov rcx, rsi
call fcn.14029acf4
jmp 0x140298f17
mov edx, Ordinal_95
mov rcx, rdi
call fcn.14029c908
test rax, rax
jne 0x14029940c
test r15d, r15d
je 0x140299209
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140297e78
test eax, eax
je 0x1402991c8
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140297e78
test eax, eax
je 0x1402991c8
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14027ce64
test eax, eax
jne 0x140299462
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
test eax, eax
js 0x140299411
cmp word [rdi], 0x3d
jne 0x1402993ae
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14027c018
mov ebx, eax
test eax, eax
js 0x140299411
jmp 0x1402993ae
mov ebx, dword [rbp + 0x2210]
test ebx, ebx
jne 0x14029922e
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140297e78
mov r14d, eax
jmp 0x140299234
mov r14d, 2
mov r15d, ebx
test r14d, r14d
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcsncpy_s]
nop dword [rax + rax]
mov ecx, eax
call fcn.14027c9c4
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
test eax, eax
js 0x140299411
mov rdx, rdi
mov rcx, rsi
call fcn.14029acf4
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x140299411
cmp word [rdi], 0x7b
jne 0x1402992e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x14029929c
cmp rax, 1
jne 0x1402992e9
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.140298ebc
mov ebx, eax
test eax, eax
jns 0x1402992d2
test r15d, r15d
je 0x140299411
mov rdx, rdi
mov rcx, rsi
call fcn.1402967ec
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x140299411
cmp r14d, 2
je 0x140299300
test r14d, r14d
je 0x14029930d
cmp dword [rbp + 0x2210], ecx
je 0x140299456
xor r14d, r14d
mov r15d, dword [rsp + 0x40]
jmp 0x140298f21
xor r14d, r14d
cmp dword [rbp + 0x2210], r14d
je 0x140299349
mov rdx, qword [rsp + 0x60]
call fcn.14027fbc0
test eax, eax
je 0x140299349
lea rdx, [rbp - 0x80]
call fcn.14027cb10
test eax, eax
je 0x140299303
test r12d, r12d
je 0x140299303
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1402987fc
jmp 0x140299303
mov rdx, qword [rsp + 0x60]
call fcn.14027fbc0
mov r14d, eax
lea rcx, [rsp + 0x60]
call fcn.14027cd60
test eax, eax
jne 0x140299462
test r12d, r12d
je 0x140299300
test r14d, r14d
jne 0x140299300
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x48], r13
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14027d34c
mov qword [rsp + 0x48], r14
test eax, eax
jne 0x140299441
lea rcx, [rsp + 0x48]
call fcn.14027cd60
mov r15d, dword [rsp + 0x40]
test r15d, r15d
je 0x140298f21
cmp word [rdi], 0x7b
jne 0x140298f21
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r14w
jne 0x1402993c5
cmp rax, 1
jne 0x140298f21
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.140298ebc
mov ebx, eax
test eax, eax
js 0x140299411
mov rdx, rdi
mov rcx, rsi
jmp 0x140298f12
lea rcx, [rsp + 0x48]
call fcn.14027cd60
mov ebx, 0x80020009
lea rcx, [rsp + 0x60]
call fcn.14027cd60
mov eax, ebx
mov rcx, qword [rbp + 0x2190]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x22a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.14027ca38
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.14027cd60
jmp 0x140299411
mov ecx, r14d
call fcn.14027ca38
mov ebx, eax
jmp 0x140299411
mov ecx, eax
jmp 0x140299459