Function at 0x18000abf4
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.180030850
sub rsp, rax
mov rax, qword [0x180044dd0]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
xor r14d, r14d
mov dword [rsp + 0x68], r9d
mov esi, r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r15, r8
mov qword [rbp - 0x78], r14
mov rdi, rdx
mov qword [rsp + 0x70], r8
mov r12, rcx
call fcn.18000a108
mov ebx, eax
test eax, eax
js 0x18000b31d
cmp word [rdi], 0x7d
je 0x18000b30f
lea rdx, str.Delete
mov rcx, rdi
mov r13d, 1
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
lea rdx, [0x180034068]
mov rcx, rdi
test eax, eax
sete r14b
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x18000ac9f
test r14d, r14d
je 0x18000ad68
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
cmp dword [rsp + 0x68], edx
je 0x18000ad68
movzx eax, word [rdi]
mov rcx, rdi
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rdx
jmp 0x18000ace6
cmp ax, 0x5c
je 0x18000aced
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000acd4
jmp 0x18000acf6
test rcx, rcx
jne 0x18000b35b
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x18000ad2d
add rbx, 8
lea rax, [0x180034670]
cmp rbx, rax
jl 0x18000acfd
mov rdx, rdi
mov qword [rbp - 0x70], r15
lea rcx, [rbp - 0x70]
call fcn.18000a7a8
test r14d, r14d
je 0x18000ad68
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
mov ebx, eax
test eax, eax
js 0x18000b30f
mov rdx, rdi
mov rcx, r12
call fcn.18000b7ec
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
mov r14d, dword [rsp + 0x68]
jmp 0x18000b00f
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
xor r14d, r14d
test eax, eax
jne 0x18000ad97
mov rdx, rdi
mov rcx, r12
mov r13d, r14d
call fcn.18000a108
mov ebx, eax
test eax, eax
js 0x18000b30f
lea rdx, [0x180034060]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x18000ae9d
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.18000a108
mov ebx, eax
test eax, eax
js 0x18000b30f
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
cmp word [rdi], 0x3d
jne 0x18000b35b
mov r14d, dword [rsp + 0x68]
test r14d, r14d
je 0x18000ae1c
mov qword [rbp - 0x68], rdx
lea r8, [rbp + 0x1c0]
mov qword [rbp - 0x60], rdx
mov r9, rdi
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x70], r15
mov rcx, r12
call fcn.18000721c
jmp 0x18000b003
cmp dword [rbp + 0x2240], edx
jne 0x18000ae80
test r13d, r13d
je 0x18000ae80
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rdx
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000b306
mov r14, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x18000b342
test r14, r14
je 0x18000ae80
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.18000b7ec
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x18000b30f
jmp 0x18000ac5c
movzx eax, word [rdi]
mov rcx, rdi
jmp 0x18000aeb9
cmp ax, 0x5c
je 0x18000aec0
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov rcx, rax
xor edx, edx
movzx eax, word [rax]
test ax, ax
jne 0x18000aea5
jmp 0x18000aec9
test rcx, rcx
jne 0x18000b35b
mov r14d, dword [rsp + 0x68]
test r14d, r14d
je 0x18000b062
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov r13d, 0x2001f
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x18000af26
mov eax, ebx
test rsi, rsi
je 0x18000af14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
test eax, eax
je 0x18000afce
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rbx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000af6c
mov eax, ebx
test rsi, rsi
je 0x18000af5e
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
test eax, eax
je 0x18000afce
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov qword [rsp + 0x30], rbx
mov rcx, r15
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000b306
mov eax, ebx
test rsi, rsi
je 0x18000afbc
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
test eax, eax
jne 0x18000b306
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
cmp word [rdi], 0x3d
jne 0x18000b00f
mov r9, rdi
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov rcx, r12
call fcn.18000721c
mov rsi, qword [rsp + 0x78]
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
cmp word [rdi], 0x7b
jne 0x18000b1a7
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x18000b01d
cmp rax, 1
jne 0x18000b1a7
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov rdx, rdi
mov r8, rsi
mov rcx, r12
call fcn.18000abf4
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x18000b30f
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
jmp 0x18000ae8e
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x18000b0b9
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
xor edx, edx
mov r14d, eax
test eax, eax
jne 0x18000b0bf
mov r14d, edx
test rsi, rsi
je 0x18000b0ad
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r14d, eax
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
jmp 0x18000b0bf
mov r14d, 2
test r14d, r14d
lea rcx, [rbp - 0x50]
mov r15d, 1
mov r8, rdi
cmove r15d, ebx
mov edx, 0x104
or r9, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcsncpy_s]
test eax, eax
je 0x18000b10a
cmp eax, 0xc
je 0x18000b367
cmp eax, 0x16
je 0x18000b37d
cmp eax, 0x22
je 0x18000b37d
cmp eax, 0x50
jne 0x18000b372
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
mov ebx, eax
test eax, eax
js 0x18000b30f
mov rdx, rdi
mov rcx, r12
call fcn.18000b7ec
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
cmp word [rdi], 0x7b
jne 0x18000b18b
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x18000b140
cmp rax, 1
jne 0x18000b18b
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call fcn.18000abf4
mov ebx, eax
test eax, eax
jns 0x18000b174
test r15d, r15d
je 0x18000b30f
mov rdx, rdi
mov rcx, r12
call fcn.18000a108
xor edx, edx
mov ebx, eax
test eax, eax
js 0x18000b30f
cmp r14d, 2
je 0x18000b1a2
test r14d, r14d
je 0x18000b1af
cmp dword [rbp + 0x2240], edx
je 0x18000b362
mov r15, qword [rsp + 0x70]
xor r14d, r14d
jmp 0x18000ac5c
cmp dword [rbp + 0x2240], edx
je 0x18000b25d
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rdx
xor r9d, r9d
mov qword [rsp + 0x48], rdx
xor r8d, r8d
mov qword [rsp + 0x40], rdx
mov rcx, rsi
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x60], edx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x18000b25d
cmp dword [rsp + 0x60], edx
mov eax, edx
seta al
test eax, eax
je 0x18000b25d
lea r14, str.AppID
mov rdx, qword [r14]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x18000b1a2
add r14, 8
lea rax, [0x180034670]
cmp r14, rax
jl 0x18000b217
test r13d, r13d
je 0x18000b1a2
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.18000a7a8
mov rsi, qword [rsp + 0x78]
jmp 0x18000b1a2
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rdx
xor r9d, r9d
mov qword [rsp + 0x48], rdx
xor r8d, r8d
mov qword [rsp + 0x40], rdx
mov rcx, rsi
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x60], edx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
xor edx, edx
mov r14d, edx
test eax, eax
jne 0x18000b2b0
cmp dword [rsp + 0x60], edx
seta r14b
test rsi, rsi
je 0x18000b2cb
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor edx, edx
mov qword [rsp + 0x78], rdx
mov esi, edx
test eax, eax
jne 0x18000b306
test r13d, r13d
je 0x18000b1a2
mov r15, qword [rsp + 0x70]
test r14d, r14d
jne 0x18000b1a7
mov qword [rbp - 0x68], rdx
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x60], rdx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x70], r15
call fcn.180009228
xor r14d, r14d
test eax, eax
je 0x18000ac5c
mov ecx, eax
call fcn.180007b44
mov ebx, eax
test rsi, rsi
je 0x18000b31d
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1800308b0
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.180007b44
mov ebx, eax
test r14, r14
je 0x18000b30f
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x18000b30f
mov ebx, 0x80020009
jmp 0x18000b30f
mov ecx, r14d
jmp 0x18000b308
mov ecx, 0x8007000e
call fcn.180005734
int3
mov ecx, 0x80004005
call fcn.180005734
int3
mov ecx, 0x80070057
call fcn.180005734
int3