Function at 0x140014ae4
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x1258
call fcn.14004e4b0
sub rsp, rax
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x60], r8
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x50], rdi
and dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x12a0]
mov dword [rsp + 0x68], eax
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0x518
mov dword [rsp + 0x20], 0xc
lea r9, str.Num_Els___d_n
lea r8d, [rdi + 2]
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0x80]
call fcn.14000b174
mov rdx, rbp
mov rcx, rbx
call fcn.14000bbc8
mov ebx, eax
test eax, eax
jns 0x140014b96
jmp 0x14001551d
cmp byte [rbp], 0x7d
je 0x14001550d
mov eax, 1
mov dword [rsp + 0x4c], eax
lea rdx, str.Delete
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor esi, esi
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140014bdd
test esi, esi
je 0x140014cc2
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
cmp dword [rsp + 0x48], 0
je 0x140014cc2
and qword [rsp + 0x70], 0
and dword [rsp + 0x78], 0
mov rcx, rbp
mov al, byte [rbp]
test al, al
je 0x140014c32
cmp al, 0x5c
je 0x140014c29
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x140014c14
jmp 0x140014c32
test rcx, rcx
jne 0x1400153f5
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140014c80
add rbx, 8
lea rax, [0x140053c20]
cmp rbx, rax
jl 0x140014c39
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
and dword [rsp + 0x78], 0
mov rdx, rbp
lea rcx, [rsp + 0x70]
call fcn.14000eb58
and qword [rsp + 0x70], 0
and dword [rsp + 0x78], 0
test esi, esi
je 0x140014cbd
mov rdx, rbp
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
mov rdx, rbp
mov rcx, rsi
call fcn.14000be08
mov ebx, eax
test eax, eax
js 0x14001550d
and dword [rsp + 0x78], 0
jmp 0x14001538b
and dword [rsp + 0x78], 0
lea rdx, str.NoRemove
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140014cf6
and dword [rsp + 0x4c], eax
mov rdx, rbp
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
jmp 0x140014cfb
mov rsi, qword [rsp + 0x40]
lea rdx, [0x140053a04]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140014ed2
lea rdx, [rsp + 0x240]
mov rcx, rsi
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
mov rdx, rbp
mov rcx, rsi
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
cmp byte [rbp], 0x3d
jne 0x140015467
xor ebx, ebx
cmp dword [rsp + 0x48], ebx
je 0x140014dab
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], ebx
mov r9, rbp
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.1400144d8
mov ebx, eax
and qword [rsp + 0xa0], 0
and dword [rsp + 0xa8], 0
test eax, eax
js 0x14001540d
and dword [rsp + 0xa8], 0
jmp 0x14001538b
cmp dword [rsp + 0x12a0], ebx
jne 0x140014eb8
cmp dword [rsp + 0x4c], ebx
je 0x140014eb8
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0x569
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
lea r9, str.Deleting__s_n
mov r8d, 1
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0xd0]
call fcn.14000b174
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], ebx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.14000b550
cmp eax, ebx
jne 0x140015442
mov rsi, qword [rsp + 0x90]
cmp rsi, rbx
jne 0x140014e78
lea rax, str.m_hKey___0
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1497
lea rdx, [0x140053e10]
lea ecx, [r9 + 2]
call fcn.140021c80
mov ecx, 1
cmp eax, ecx
jne 0x140014e78
int3
lea rdx, [rsp + 0x240]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x140014e96
cmp eax, 2
jne 0x140015422
cmp rsi, rbx
je 0x140014eac
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], ebx
mov rsi, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, rsi
call fcn.14000be08
mov ebx, eax
test eax, eax
js 0x14001550d
jmp 0x1400153e1
mov rcx, rbp
mov al, byte [rbp]
test al, al
je 0x140014efa
cmp al, 0x5c
je 0x140014ef1
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x140014edc
jmp 0x140014efa
test rcx, rcx
jne 0x14001547f
cmp dword [rsp + 0x48], 0
je 0x140014fff
mov r9d, 0x2001f
mov r8, rbp
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b550
xor edi, edi
cmp eax, edi
je 0x140014fb3
mov r9d, 0x20019
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b550
cmp eax, edi
je 0x140014fb3
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x118], 0x590
mov qword [rsp + 0x20], rbp
lea r9, str.Creating_key__s_n
lea r8d, [rdi + 2]
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0x110]
call fcn.14000b174
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b454
cmp eax, edi
jne 0x140015497
mov rdx, rbp
mov rcx, rsi
call fcn.14000bbc8
mov ebx, eax
cmp eax, edi
jl 0x1400154b4
cmp byte [rbp], 0x3d
jne 0x140014ff5
mov r9, rbp
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400144d8
mov ebx, eax
cmp eax, edi
jl 0x1400154b4
mov rdi, qword [rsp + 0x50]
jmp 0x14001538b
mov rdi, qword [rsp + 0x50]
jmp 0x14001538b
mov ebx, dword [rsp + 0x12a0]
test ebx, ebx
jne 0x14001502b
mov r9d, 0x20019
mov r8, rbp
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000b550
mov esi, eax
mov rdi, qword [rsp + 0x50]
jmp 0x140015030
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x12a0], ebx
test ebx, ebx
jne 0x140015084
lea rcx, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xf0], rcx
mov dword [rsp + 0xf8], 0x5b3
mov qword [rsp + 0x20], rbp
lea r9, str.Opened_Key__s_n
mov r8d, eax
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0xf0]
call fcn.14000b174
jmp 0x1400150c1
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0x5b5
mov qword [rsp + 0x20], rbp
lea r9, str.Ignoring_Open_key_on__s_:_In_Recovery_mode_n
xor r8d, r8d
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0xb0]
call fcn.14000b174
or r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0x130]
call fcn.140022ec0
test eax, eax
je 0x140015102
cmp eax, 0xc
je 0x1400154d1
cmp eax, 0x16
je 0x1400154c6
cmp eax, 0x22
je 0x1400154c6
cmp eax, 0x50
jne 0x1400154bb
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000be08
mov ebx, eax
test eax, eax
js 0x14001550d
cmp byte [rbp], 0x7b
jne 0x140015191
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x140015191
mov eax, dword [rsp + 0x12a0]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.140014ae4
mov ebx, eax
test eax, eax
jns 0x14001517a
cmp dword [rsp + 0x12a0], 0
je 0x14001550d
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x12a0], eax
je 0x1400151da
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x5cd
lea r9, str.Ending_Recovery_Mode_n
xor r8d, r8d
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0xc0]
call fcn.14000b174
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x12a0], eax
cmp esi, 2
je 0x1400153e1
test esi, esi
je 0x1400151fb
test eax, eax
je 0x1400154dc
jmp 0x1400153e1
test eax, eax
je 0x1400152b4
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14000bd4c
test eax, eax
je 0x1400152b4
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400153e1
add rsi, 8
lea rax, [0x140053c20]
cmp rsi, rax
jl 0x14001521f
cmp dword [rsp + 0x4c], 0
je 0x1400153e1
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xe8], 0x5e7
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, str.Deleting_non_empty_subkey__s_by_force_n
xor r8d, r8d
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0xe0]
call fcn.14000b174
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.14000eb58
mov rdi, qword [rsp + 0x50]
jmp 0x1400153e1
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14000bd4c
mov esi, eax
xor eax, eax
test rdi, rdi
je 0x1400152da
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov qword [rsp + 0x50], rdi
and dword [rsp + 0x58], 0
test eax, eax
jne 0x1400154f2
cmp dword [rsp + 0x4c], eax
je 0x1400153e1
test esi, esi
jne 0x1400153e1
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x108], 0x5f5
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, str.Deleting_Key__s_n
xor r8d, r8d
mov rdx, qword [0x1400681d0]
lea rcx, [rsp + 0x100]
call fcn.14000b174
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
and dword [rsp + 0x88], esi
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x80]
call fcn.14000b3a0
and qword [rsp + 0x80], 0
and dword [rsp + 0x88], esi
test eax, eax
jne 0x1400154e7
and dword [rsp + 0x88], eax
mov rsi, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 0
je 0x1400153e1
cmp byte [rbp], 0x7b
jne 0x1400153e1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x1400153e1
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x48]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.140014ae4
mov ebx, eax
test eax, eax
js 0x14001550d
mov rdx, rbp
mov rcx, rsi
call fcn.14000bbc8
mov ebx, eax
test eax, eax
js 0x14001550d
cmp byte [rbp], 0x7d
je 0x14001550d
mov eax, 1
jmp 0x140014ba5
test rdi, rdi
je 0x140015403
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001551d
test rdi, rdi
je 0x14001541b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001551d
mov ecx, eax
call fcn.14000b2e0
mov ebx, eax
test rsi, rsi
je 0x14001550d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001550d
mov ecx, eax
call fcn.14000b2e0
mov ebx, eax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14001550d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001550d
test rdi, rdi
je 0x140015475
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001551d
test rdi, rdi
je 0x14001548d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001551d
mov ecx, eax
call fcn.14000b2e0
mov ebx, eax
mov rcx, qword [rsp + 0x50]
cmp rcx, rdi
je 0x1400154b0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001551d
mov rdi, qword [rsp + 0x50]
jmp 0x14001550d
mov ecx, 0x80004005
call fcn.14000b1c4
int3
mov ecx, 0x80070057
call fcn.14000b1c4
int3
mov ecx, 0x8007000e
call fcn.14000b1c4
int3
mov ecx, esi
call fcn.14000b2e0
mov ebx, eax
jmp 0x14001550d
mov ecx, eax
call fcn.14000b2e0
mov ebx, eax
jmp 0x14001550d
mov ecx, eax
call fcn.14000b2e0
mov ebx, eax
test rdi, rdi
je 0x140015509
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001551d
test rdi, rdi
je 0x14001551b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400206b0
add rsp, 0x1258
pop rdi
pop rsi
pop rbp
pop rbx
ret