Function at 0x1400c26bc
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp - 0x58], rcx
lea rsi, [0x14014dd40]
mov eax, 5
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400c2733
test byte [rcx + 0x1c], 1
je 0x1400c2733
cmp byte [rcx + 0x19], al
jb 0x1400c2733
lea edx, [rax + 0x16]
mov dword [rsp + 0x20], 1
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400c1b64
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
mov r15d, r14d
mov dword [rsp + 0x20], r14d
or rbx, 0xffffffffffffffff
mov r9d, ebx
mov r8, r13
mov edx, ebx
lea rcx, str.00_00_00_00_00_00
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x1400c3158
test r13, r13
jne 0x1400c279c
mov eax, r14d
jmp 0x1400c27aa
mov rax, rbx
inc rax
cmp word [r13 + rax*2], r14w
jne 0x1400c279f
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.1400051bc
lea rcx, [rsp + 0x60]
call fcn.140036144
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1400c4cac
mov r15d, eax
mov bl, 4
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x1400c2810
test byte [r10 + 0x1c], 2
je 0x1400c2810
cmp byte [r10 + 0x19], bl
jb 0x1400c2810
mov edx, 0x1c
mov r9d, eax
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
mov rdi, qword [rsp + 0x60]
test r15d, r15d
jne 0x1400c315f
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400bddf4
mov r15d, eax
mov dword [rsp + 0x40], eax
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x1400c286d
test byte [r10 + 0x1c], 2
je 0x1400c286d
cmp byte [r10 + 0x19], bl
jb 0x1400c286d
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.1400056b0
mov r10, qword [0x14014dd40]
cmp r15d, 2
jne 0x1400c28b8
mov r15d, 0x490
mov dword [rsp + 0x40], r15d
cmp r10, rsi
je 0x1400c319a
test byte [r10 + 0x1c], 2
je 0x1400c315f
cmp byte [r10 + 0x19], bl
jb 0x1400c315f
mov edx, 0x1e
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.140003614
mov r10, qword [0x14014dd40]
test r15d, r15d
jne 0x1400c315f
mov rdx, rdi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400c2900
test byte [rcx + 0x1c], 2
je 0x1400c2900
cmp byte [rcx + 0x19], bl
jb 0x1400c2900
lea edx, [r15 + 0x1f]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400056b0
mov rax, qword [r12]
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, r12
call rbx
test rax, rax
je 0x1400c2b9c
mov rax, qword [r12]
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, r12
call rbx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140004d1c
nop
mov r15, r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400c2993
mov ebx, r14d
mov r15, qword [rbp - 0x68]
mov qword [rbp - 0x38], r15
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400c29c8
test byte [rcx + 0x1c], 2
je 0x1400c29c8
cmp byte [rcx + 0x19], 4
jb 0x1400c29c8
mov edx, 0x20
mov dword [rsp + 0x20], ebx
mov r9, qword [rbp - 0x70]
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400056b0
test ebx, ebx
jne 0x1400c2b43
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.1400bd880
mov ebx, eax
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400c2a10
test byte [rcx + 0x1c], 2
je 0x1400c2a10
cmp byte [rcx + 0x19], 4
jb 0x1400c2a10
mov edx, 0x21
mov r9d, eax
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
test ebx, ebx
jne 0x1400c2b43
mov ebx, r14d
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400c2b43
mov rsi, r14
test ebx, ebx
js 0x1400c2b38
cmp ebx, eax
jge 0x1400c2b38
movsxd r12, ebx
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rax + r12*8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, eax
test eax, eax
jne 0x1400c2a70
mov rsi, qword [rbp - 0x60]
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp rcx, rax
je 0x1400c2abc
test byte [rcx + 0x1c], 2
je 0x1400c2abc
cmp byte [rcx + 0x19], 4
jb 0x1400c2abc
cmp ebx, dword [rsp + 0x70]
jge 0x1400c2b27
mov rax, qword [rsp + 0x68]
mov edx, 0x22
mov dword [rsp + 0x20], r14d
mov r9, qword [rax + r12*8]
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400056b0
test r14d, r14d
jne 0x1400c2b07
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x14014dd40]
lea rdx, [0x14014dd40]
cmp rcx, rdx
je 0x1400c2b07
test byte [rcx + 0x1c], 2
je 0x1400c2b07
cmp byte [rcx + 0x19], 4
jb 0x1400c2b07
lea edx, [r14 + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400056b0
xor r14d, r14d
test rsi, rsi
je 0x1400c2b18
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
mov eax, dword [rsp + 0x70]
cmp ebx, eax
jae 0x1400c2b32
jmp 0x1400c2a27
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov r12, qword [rbp - 0x58]
jmp 0x1400c2b43
mov ecx, 0xc000008c
call fcn.1400052e8
nop
lea rcx, [rsp + 0x68]
call fcn.140019c20
nop
test r15, r15
je 0x1400c2b5d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rsi, qword [rbp - 0x70]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400c2b8b
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
lea rsi, [0x14014dd40]
mov r15d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400c30ce
call fcn.140105c38
test al, al
jne 0x1400c30ce
mov qword [rsp + 0x50], r14
mov ebx, 0x80004001
cmp qword [0x140150ec8], r14
je 0x1400c2bd6
lea rdx, [rsp + 0x50]
call fcn.14000d8d8
mov ebx, eax
mov r10, qword [0x14014dd40]
mov r13d, 2
cmp r10, rsi
je 0x1400c2c24
test byte [r10 + 0x1c], r13b
je 0x1400c2c24
mov ecx, r13d
test ebx, ebx
lea eax, [r13 + 3]
cmovns ecx, eax
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x1400c2c24
lea edx, [r13 + 0x23]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000b2e4
cmp ebx, 0x80004001
jne 0x1400c2c80
lea rcx, [rsp + 0x50]
call fcn.1400f5780
mov ebx, eax
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x1400c2c80
test byte [r10 + 0x1c], r13b
je 0x1400c2c80
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
mov eax, 5
cmovns ecx, eax
cmp edx, ecx
jl 0x1400c2c80
lea edx, [rax + 0x21]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000b2e4
test ebx, ebx
js 0x1400c30a6
mov qword [rsp + 0x48], r14
lea rcx, str.WMCID
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rbp], rax
test rax, rax
jne 0x1400c2cb1
mov ecx, 0x8007000e
call fcn.140005300
nop
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x30]
mov rcx, r14
call qword [fcn.140009050]
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rbx
call r14
mov ebx, eax
mov r10, qword [0x14014dd40]
lea rax, [0x14014dd40]
xor r14d, r14d
cmp r10, rax
je 0x1400c2d26
test byte [r10 + 0x1c], r13b
je 0x1400c2d26
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test ebx, ebx
lea eax, [r14 + 5]
cmovns ecx, eax
cmp edx, ecx
jl 0x1400c2d26
lea edx, [rax + 0x22]
mov r9d, ebx
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
test ebx, ebx
jne 0x1400c3076
lea r12, [0x14014dd40]
lea r15d, [rbx + 5]
cmp r10, r12
je 0x1400c2d64
test byte [r10 + 0x1c], r13b
je 0x1400c2d64
cmp byte [r10 + 0x19], r15b
jb 0x1400c2d64
mov edx, 0x28
mov r9, qword [rsp + 0x48]
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.140003710
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400c303a
mov qword [rsp + 0x78], r14
mov rax, qword [rbx]
mov r14, qword [rax + 0x40]
mov rcx, r14
call qword [fcn.140009050]
lea r8, [rsp + 0x78]
mov rdx, rsi
mov rcx, rbx
call r14
mov ebx, eax
mov r10, qword [0x14014dd40]
cmp r10, r12
je 0x1400c2dde
test byte [r10 + 0x1c], 8
je 0x1400c2dde
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400c2dde
mov edx, 0x29
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000ab30
test ebx, ebx
js 0x1400c3015
or dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8, qword [rsp + 0x78]
lea edx, [r9 + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r13d
jne 0x1400c300a
and qword [rbp - 0x78], 0
mov byte [rbp + 0x10], 0
xor eax, eax
mov qword [rbp + 0x11], rax
mov dword [rbp + 0x19], eax
mov word [rbp + 0x1d], ax
mov byte [rbp + 0x1f], al
and qword [rbp - 0x80], rax
and dword [rsp + 0x58], eax
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rcx, r14
call qword [fcn.140009050]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call r14
mov ebx, eax
mov r10, qword [0x14014dd40]
cmp r10, r12
je 0x1400c2e92
test byte [r10 + 0x1c], r13b
je 0x1400c2e92
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400c2e92
mov edx, 0x2a
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000ab30
test ebx, ebx
js 0x1400c2feb
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [fcn.140009050]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call r14
mov ebx, eax
mov r10, qword [0x14014dd40]
cmp r10, r12
je 0x1400c2efc
test byte [r10 + 0x1c], r13b
je 0x1400c2efc
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400c2efc
mov edx, 0x2b
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000ab30
test ebx, ebx
js 0x1400c2feb
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov r14, qword [rax + 0x38]
mov rcx, r14
call qword [fcn.140009050]
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call r14
mov ebx, eax
mov r8, qword [0x14014dd40]
cmp r8, r12
je 0x1400c2f6f
test byte [r8 + 0x1c], r13b
je 0x1400c2f6f
movzx edx, byte [r8 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400c2f6f
mov qword [rsp + 0x30], rdi
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov rcx, qword [r8 + 0x10]
call fcn.1400c1efc
test ebx, ebx
js 0x1400c2feb
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x10], xmm0
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rcx, r14
call qword [fcn.140009050]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x58]
mov r8, qword [rbp - 0x80]
mov edx, 1
mov rcx, rbx
call r14
mov r10, qword [0x14014dd40]
cmp r10, r12
je 0x1400c2feb
test byte [r10 + 0x1c], r13b
je 0x1400c2feb
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400c2feb
mov edx, 0x2d
mov r9d, eax
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
nop
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400c300a
mov rax, qword [rbx]
mov r14, qword [rax + 0x10]
mov rcx, r14
call qword [fcn.140009050]
mov rcx, rbx
call r14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1400c303a
and qword [rsp + 0x48], 0
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, r14
call rbx
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x38]
mov rcx, r14
call qword [fcn.140009050]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call r14
xor r14d, r14d
test eax, eax
jne 0x1400c306d
mov r10, qword [0x14014dd40]
jmp 0x1400c2d39
mov r15d, dword [rsp + 0x40]
mov r12, qword [rbp - 0x58]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400c309f
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [fcn.140009050]
mov rcx, rbx
call rsi
lea rsi, [0x14014dd40]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1400c30fe
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [fcn.140009050]
mov rcx, rbx
call rsi
lea rsi, [0x14014dd40]
jmp 0x1400c30fe
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400c30fe
test byte [rcx + 0x1c], 2
je 0x1400c30fe
cmp byte [rcx + 0x19], 2
jb 0x1400c30fe
mov edx, 0x24
mov r9, r13
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.140003638
mov rax, qword [r12]
mov rbx, qword [rax + 0x48]
mov rcx, rbx
call qword [fcn.140009050]
mov edx, 0x3ea
mov rcx, r12
call rbx
mov ecx, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call fcn.1400c73ac
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x1400c319a
test byte [r10 + 0x1c], 2
je 0x1400c315f
cmp byte [r10 + 0x19], 4
jb 0x1400c315f
mov edx, 0x2e
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.140003614
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x1400c319a
test byte [r10 + 0x1c], 1
je 0x1400c319a
movzx edx, byte [r10 + 0x19]
mov eax, r15d
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1400c319a
mov edx, 0x2f
mov r9d, r15d
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
nop
lea rsi, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x1400c31c7
mov rdi, qword [rsi]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
mov rdx, rsi
mov rcx, rdi
call rbx
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400c31d6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140106ed0
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret