Function at 0x140030840
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140325af8]
xor rax, rsp
mov qword [rbp], rax
mov r15d, r9d
mov rbx, rcx
mov rsi, qword [rbp + 0x88]
mov qword [rbp - 0x58], rdx
mov rdx, r8
lea rcx, [rbp - 0x40]
call fcn.14000ca20
nop
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r13
mov word [rbp - 0x20], r13w
cmp qword [rbp - 0x58], 0xffffffff80000003
jne 0x1400308f7
cmp byte [rbp + 0x80], r13b
jne 0x1400308f7
mov rax, qword [rbx]
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [rax + 0x168]
test al, al
je 0x1400308f7
mov rax, qword [rbx]
mov r9, rsi
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x48]
mov rcx, rbx
call qword [rax + 0x228]
test al, al
je 0x1400308f7
mov r12b, 1
jmp 0x140030c6a
mov qword [rbp - 0x50], r13
xor r12b, r12b
mov rax, qword [rbx]
mov qword [rsp + 0x20], rsi
mov r9d, r15d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [rax + 0x1c8]
mov r10, qword [rbx + 0x40]
mov ecx, r15d
or ecx, 0xf003f
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov rax, qword [r10]
mov r11, qword [rax + 0xb8]
lea rdi, vtable.mb::common::system::Win32.0
cmp rax, rdi
lea rax, [rbp - 0x50]
jne 0x140030d22
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, eax
test eax, eax
je 0x140030ac8
cmp qword [rbx + 0x70], 0
je 0x140030ab7
mov rax, qword [rbx]
mov r8, qword [rbp - 0x58]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax + 0xc0]
mov rdi, rax
mov edx, r14d
lea rcx, [rbp - 0x80]
call fcn.14001f3d0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x1400309af
mov r8, qword [rax]
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
cmp qword [rdi + 0x18], 8
jb 0x1400309c7
mov rdi, qword [rdi]
lea rdx, [rbx + 0x78]
cmp qword [rdx + 0x18], 8
jb 0x1400309d5
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], rdi
lea r8, str.Failed_to_open_reg_key__ls_ls__wow64__0x_x___ls
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x9ad
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_registryutilities.cpp
lea rdx, str.mb::common::system::RegistryUtilities::DeleteKeyImpl
call qword [rax + 0x20]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140030a63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030a5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d40
call fcn.1401d94a8
movdqa xmm0, xmmword [0x1402e5c30]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140030ab7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030ab2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d46
call fcn.1401d94a8
test rsi, rsi
je 0x140030c6a
mov dword [rsi], r14d
jmp 0x140030c6a
mov rcx, qword [rbx + 0x40]
mov rax, qword [rcx]
mov r9, qword [rax + 0x80]
cmp rax, rdi
jne 0x140030d4c
lea rdx, [0x1402d4824]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test eax, eax
je 0x140030c41
cmp qword [rbx + 0x70], 0
je 0x140030c38
mov rax, qword [rbx]
mov r8, qword [rbp - 0x58]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax + 0xc0]
mov r14, rax
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.14001f3d0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x140030b35
mov r8, qword [rax]
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
cmp qword [r14 + 0x18], 8
jb 0x140030b4d
mov r14, qword [r14]
lea rdx, [rbx + 0x78]
cmp qword [rdx + 0x18], 8
jb 0x140030b5b
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r14
lea r8, str.Error_deleting_key__ls_ls___ls
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov r9d, 0x9b7
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_registryutilities.cpp
lea rdx, str.mb::common::system::RegistryUtilities::DeleteKeyImpl
call qword [rax + 0x20]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140030be4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030bdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d5f
call fcn.1401d94a8
movdqa xmm0, xmmword [0x1402e5c30]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140030c38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030c33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d65
call fcn.1401d94a8
test rsi, rsi
je 0x140030c44
mov dword [rsi], edi
jmp 0x140030c44
mov r12b, 1
mov rcx, qword [rbx + 0x40]
mov rax, qword [rcx]
mov r8, qword [rax + 0x70]
lea rdx, vtable.mb::common::system::Win32.0
cmp rax, rdx
jne 0x140030d6b
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140030caa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d77
call fcn.1401d94a8
movdqa xmm0, xmmword [0x1402e5c30]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r13w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140030cf8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030cf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d1c
call fcn.1401d94a8
movzx eax, r12b
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401d9c30
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401e4d9c
nop
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rdx
mov rdx, qword [rbp - 0x58]
mov rcx, r10
call r11
jmp 0x140030968
call fcn.1401e4d9c
nop
call fcn.1401e4d9c
int3
lea r8, [0x1402d4824]
mov rdx, qword [rbp - 0x50]
call r9
jmp 0x140030af0
call fcn.1401e4d9c
nop
call fcn.1401e4d9c
int3
mov rdx, qword [rbp - 0x50]
call r8
jmp 0x140030c6a
call fcn.1401e4d9c
int3