Function at 0x14000d5c8
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x1258
call fcn.140043350
sub rsp, rax
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rax, qword [0x14005c8c0]
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 [0x14005e690]
lea rcx, [rsp + 0x80]
call fcn.140009800
mov rdx, rbp
mov rcx, rbx
call fcn.14000a258
mov ebx, eax
test eax, eax
jns 0x14000d67a
jmp 0x14000e001
cmp byte [rbp], 0x7d
je 0x14000dff1
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 0x14000d6c1
test esi, esi
je 0x14000d7a6
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
cmp dword [rsp + 0x48], 0
je 0x14000d7a6
and qword [rsp + 0x70], 0
and dword [rsp + 0x78], 0
mov rcx, rbp
mov al, byte [rbp]
test al, al
je 0x14000d716
cmp al, 0x5c
je 0x14000d70d
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x14000d6f8
jmp 0x14000d716
test rcx, rcx
jne 0x14000ded9
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000d764
add rbx, 8
lea rax, [0x140046950]
cmp rbx, rax
jl 0x14000d71d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
and dword [rsp + 0x78], 0
mov rdx, rbp
lea rcx, [rsp + 0x70]
call fcn.14000ac10
and qword [rsp + 0x70], 0
and dword [rsp + 0x78], 0
test esi, esi
je 0x14000d7a1
mov rdx, rbp
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
mov rdx, rbp
mov rcx, rsi
call fcn.14000a498
mov ebx, eax
test eax, eax
js 0x14000dff1
and dword [rsp + 0x78], 0
jmp 0x14000de6f
and dword [rsp + 0x78], 0
lea rdx, str.NoRemove
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000d7da
and dword [rsp + 0x4c], eax
mov rdx, rbp
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
jmp 0x14000d7df
mov rsi, qword [rsp + 0x40]
lea rdx, [0x140046894]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000d9b6
lea rdx, [rsp + 0x240]
mov rcx, rsi
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
mov rdx, rbp
mov rcx, rsi
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
cmp byte [rbp], 0x3d
jne 0x14000df4b
xor ebx, ebx
cmp dword [rsp + 0x48], ebx
je 0x14000d88f
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.14000cfbc
mov ebx, eax
and qword [rsp + 0xa0], 0
and dword [rsp + 0xa8], 0
test eax, eax
js 0x14000def1
and dword [rsp + 0xa8], 0
jmp 0x14000de6f
cmp dword [rsp + 0x12a0], ebx
jne 0x14000d99c
cmp dword [rsp + 0x4c], ebx
je 0x14000d99c
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 [0x14005e690]
lea rcx, [rsp + 0xd0]
call fcn.140009800
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.140009be0
cmp eax, ebx
jne 0x14000df26
mov rsi, qword [rsp + 0x90]
cmp rsi, rbx
jne 0x14000d95c
lea rax, str.m_hKey___0
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1497
lea rdx, [0x1400484b0]
lea ecx, [r9 + 2]
call fcn.140019a40
mov ecx, 1
cmp eax, ecx
jne 0x14000d95c
int3
lea rdx, [rsp + 0x240]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x14000d97a
cmp eax, 2
jne 0x14000df06
cmp rsi, rbx
je 0x14000d990
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.14000a498
mov ebx, eax
test eax, eax
js 0x14000dff1
jmp 0x14000dec5
mov rcx, rbp
mov al, byte [rbp]
test al, al
je 0x14000d9de
cmp al, 0x5c
je 0x14000d9d5
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x14000d9c0
jmp 0x14000d9de
test rcx, rcx
jne 0x14000df63
cmp dword [rsp + 0x48], 0
je 0x14000dae3
mov r9d, 0x2001f
mov r8, rbp
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140009be0
xor edi, edi
cmp eax, edi
je 0x14000da97
mov r9d, 0x20019
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140009be0
cmp eax, edi
je 0x14000da97
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 [0x14005e690]
lea rcx, [rsp + 0x110]
call fcn.140009800
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.140009ae4
cmp eax, edi
jne 0x14000df7b
mov rdx, rbp
mov rcx, rsi
call fcn.14000a258
mov ebx, eax
cmp eax, edi
jl 0x14000df98
cmp byte [rbp], 0x3d
jne 0x14000dad9
mov r9, rbp
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14000cfbc
mov ebx, eax
cmp eax, edi
jl 0x14000df98
mov rdi, qword [rsp + 0x50]
jmp 0x14000de6f
mov rdi, qword [rsp + 0x50]
jmp 0x14000de6f
mov ebx, dword [rsp + 0x12a0]
test ebx, ebx
jne 0x14000db0f
mov r9d, 0x20019
mov r8, rbp
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140009be0
mov esi, eax
mov rdi, qword [rsp + 0x50]
jmp 0x14000db14
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x12a0], ebx
test ebx, ebx
jne 0x14000db68
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 [0x14005e690]
lea rcx, [rsp + 0xf0]
call fcn.140009800
jmp 0x14000dba5
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 [0x14005e690]
lea rcx, [rsp + 0xb0]
call fcn.140009800
or r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0x130]
call fcn.14001c7d0
test eax, eax
je 0x14000dbe6
cmp eax, 0xc
je 0x14000dfb5
cmp eax, 0x16
je 0x14000dfaa
cmp eax, 0x22
je 0x14000dfaa
cmp eax, 0x50
jne 0x14000df9f
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000a498
mov ebx, eax
test eax, eax
js 0x14000dff1
cmp byte [rbp], 0x7b
jne 0x14000dc75
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x14000dc75
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.14000d5c8
mov ebx, eax
test eax, eax
jns 0x14000dc5e
cmp dword [rsp + 0x12a0], 0
je 0x14000dff1
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x12a0], eax
je 0x14000dcbe
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 [0x14005e690]
lea rcx, [rsp + 0xc0]
call fcn.140009800
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x12a0], eax
cmp esi, 2
je 0x14000dec5
test esi, esi
je 0x14000dcdf
test eax, eax
je 0x14000dfc0
jmp 0x14000dec5
test eax, eax
je 0x14000dd98
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14000a3dc
test eax, eax
je 0x14000dd98
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000dec5
add rsi, 8
lea rax, [0x140046950]
cmp rsi, rax
jl 0x14000dd03
cmp dword [rsp + 0x4c], 0
je 0x14000dec5
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 [0x14005e690]
lea rcx, [rsp + 0xe0]
call fcn.140009800
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.14000ac10
mov rdi, qword [rsp + 0x50]
jmp 0x14000dec5
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14000a3dc
mov esi, eax
xor eax, eax
test rdi, rdi
je 0x14000ddbe
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 0x14000dfd6
cmp dword [rsp + 0x4c], eax
je 0x14000dec5
test esi, esi
jne 0x14000dec5
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 [0x14005e690]
lea rcx, [rsp + 0x100]
call fcn.140009800
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.140009a30
and qword [rsp + 0x80], 0
and dword [rsp + 0x88], esi
test eax, eax
jne 0x14000dfcb
and dword [rsp + 0x88], eax
mov rsi, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 0
je 0x14000dec5
cmp byte [rbp], 0x7b
jne 0x14000dec5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x14000dec5
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x48]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.14000d5c8
mov ebx, eax
test eax, eax
js 0x14000dff1
mov rdx, rbp
mov rcx, rsi
call fcn.14000a258
mov ebx, eax
test eax, eax
js 0x14000dff1
cmp byte [rbp], 0x7d
je 0x14000dff1
mov eax, 1
jmp 0x14000d689
test rdi, rdi
je 0x14000dee7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000e001
test rdi, rdi
je 0x14000deff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000e001
mov ecx, eax
call fcn.140009970
mov ebx, eax
test rsi, rsi
je 0x14000dff1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000dff1
mov ecx, eax
call fcn.140009970
mov ebx, eax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14000dff1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000dff1
test rdi, rdi
je 0x14000df59
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000e001
test rdi, rdi
je 0x14000df71
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000e001
mov ecx, eax
call fcn.140009970
mov ebx, eax
mov rcx, qword [rsp + 0x50]
cmp rcx, rdi
je 0x14000df94
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000e001
mov rdi, qword [rsp + 0x50]
jmp 0x14000dff1
mov ecx, 0x80004005
call fcn.140009850
int3
mov ecx, 0x80070057
call fcn.140009850
int3
mov ecx, 0x8007000e
call fcn.140009850
int3
mov ecx, esi
call fcn.140009970
mov ebx, eax
jmp 0x14000dff1
mov ecx, eax
call fcn.140009970
mov ebx, eax
jmp 0x14000dff1
mov ecx, eax
call fcn.140009970
mov ebx, eax
test rdi, rdi
je 0x14000dfed
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000e001
test rdi, rdi
je 0x14000dfff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400193c0
add rsp, 0x1258
pop rdi
pop rsi
pop rbp
pop rbx
ret