Function at 0x10001b268
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22e8
call fcn.10014f1d0
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x22d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov rdi, rcx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rcx
mov ecx, dword [rsp + 0x2330]
mov dword [rsp + 0xb0], ecx
mov rcx, rax
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x10001b2ed
jmp 0x10001bb72
cmp word [rsi], 0x7d
je 0x10001bb62
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, [0x1000027f8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov ebp, ebx
cmp eax, ebx
sete bpl
lea rdx, [0x100002820]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
je 0x10001b336
cmp ebp, ebx
je 0x10001b424
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
cmp dword [rsp + 0x74], edx
je 0x10001b422
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rdx
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, dx
je 0x10001b3a0
cmp ax, 0x5c
je 0x10001b397
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
xor edx, edx
cmp ax, dx
jne 0x10001b37c
jmp 0x10001b3a0
cmp rcx, rdx
jne 0x10001ba4e
lea rbx, [0x100003e00]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10001b3e4
add rbx, 8
lea rax, [0x100003e60]
cmp rbx, rax
jl 0x10001b3a7
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.100019a30
xor ebx, ebx
cmp ebp, ebx
je 0x10001b424
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
mov rdx, rsi
mov rcx, rbp
call fcn.10001ad9c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
jmp 0x10001b6d1
xor ebx, ebx
lea rdx, [0x100002808]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x10001b45a
mov dword [rsp + 0x70], ebx
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
jmp 0x10001b461
mov rbp, qword [rsp + 0x68]
jmp 0x10001b463
xor ebx, ebx
lea rdx, [0x100002838]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x10001b5d4
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
mov rdx, rsi
mov rcx, rbp
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
cmp word [rsi], 0x3d
jne 0x10001bac8
cmp dword [rsp + 0x74], edx
je 0x10001b507
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rdx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r9, rsi
lea r8, [rsp + 0x2d0]
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.10001a870
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001ba66
jmp 0x10001b6d1
cmp dword [rsp + 0x2330], edx
jne 0x10001b5b8
cmp dword [rsp + 0x70], edx
je 0x10001b5b8
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.1000198cc
xor ebx, ebx
cmp eax, ebx
jne 0x10001ba9f
mov rbp, qword [rsp + 0x80]
cmp rbp, rbx
jne 0x10001b580
lea r8, [0x100002a88]
mov edx, 0x14da
lea rcx, [0x100002a50]
call fcn.100099ad8
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10001b59e
cmp eax, 2
jne 0x10001ba7b
cmp rbp, rbx
je 0x10001b5b3
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
jmp 0x10001b5b8
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.10001ad9c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
jmp 0x10001ba3a
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, bx
je 0x10001b601
cmp ax, 0x5c
je 0x10001b5f8
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x10001b5df
jmp 0x10001b601
cmp rcx, rbx
jne 0x10001bae0
cmp dword [rsp + 0x74], ebx
je 0x10001b732
mov r9d, 0x2001f
mov r8, rsi
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1000198cc
xor edi, edi
cmp eax, edi
je 0x10001b680
mov r9d, 0x20019
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1000198cc
cmp eax, edi
je 0x10001b680
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, rsi
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.100019810
cmp eax, edi
jne 0x10001baf5
mov rdx, rsi
mov rcx, rbp
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb15
cmp word [rsi], 0x3d
jne 0x10001b6c9
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x98]
mov rcx, rbp
call fcn.10001a870
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb15
mov rdi, qword [rsp + 0x98]
jmp 0x10001b6d1
mov rdi, qword [rsp + 0x98]
cmp word [rsi], 0x7b
jne 0x10001ba3a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x10001ba38
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.10001b268
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
mov rdx, rsi
mov rcx, rbp
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
jmp 0x10001ba3a
mov ebx, dword [rsp + 0x2330]
xor eax, eax
cmp ebx, eax
jne 0x10001b768
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x98]
call fcn.1000198cc
mov ebp, eax
mov rdi, qword [rsp + 0x98]
xor eax, eax
jmp 0x10001b76d
mov ebp, 2
cmp ebp, eax
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x2330], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_wcsncpy_s
xor ecx, ecx
cmp eax, ecx
je 0x10001b7c1
cmp eax, 0xc
je 0x10001bb35
cmp eax, 0x16
je 0x10001bb2a
cmp eax, 0x22
je 0x10001bb2a
cmp eax, 0x50
jne 0x10001bb1f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001ad9c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
cmp word [rsi], 0x7b
jne 0x10001b85b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x10001b859
mov eax, dword [rsp + 0x2330]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001b268
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x10001b83e
cmp dword [rsp + 0x2330], edx
je 0x10001bb62
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001a6e4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x10001bb62
jmp 0x10001b85b
xor edx, edx
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x2330], eax
cmp ebp, 2
je 0x10001ba3a
cmp ebp, edx
je 0x10001b883
cmp eax, edx
je 0x10001bb40
jmp 0x10001ba3a
cmp eax, edx
je 0x10001b95d
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
je 0x10001b8ef
lea r8, [0x100002958]
mov edx, 0x416
lea rcx, [0x100003db8]
call fcn.100099ad8
xor edx, edx
jmp 0x10001b95d
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
cmp eax, edx
je 0x10001b95d
lea rbp, [0x100003e00]
mov rdx, qword [rbp]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x10001ba3a
add rbp, 8
lea rax, [0x100003e60]
cmp rbp, rax
jl 0x10001b903
cmp dword [rsp + 0x70], edx
je 0x10001ba3a
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x98]
call fcn.100019a30
mov rdi, qword [rsp + 0x98]
xor edx, edx
jmp 0x10001ba3a
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
je 0x10001b9c3
lea r8, [0x100002958]
mov edx, 0x416
lea rcx, [0x100003db8]
call fcn.100099ad8
xor edx, edx
mov ebp, edx
jmp 0x10001b9cd
mov ebp, edx
cmp dword [rsp + 0x60], edx
seta bpl
cmp rdi, rdx
je 0x10001b9f0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rdi, rdx
mov qword [rsp + 0x98], rdx
cmp eax, edx
jne 0x10001bb4d
cmp dword [rsp + 0x70], edx
je 0x10001ba3a
cmp ebp, edx
jne 0x10001ba3a
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rdx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.100019740
xor edx, edx
cmp eax, edx
jne 0x10001bb57
jmp 0x10001ba3a
xor edx, edx
cmp word [rsi], 0x7d
je 0x10001bb62
mov eax, 1
jmp 0x10001b2fc
cmp rdi, rdx
je 0x10001ba5c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x10001bb72
cmp rdi, rdx
je 0x10001ba74
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10001bb72
mov ecx, eax
call fcn.1000196f4
mov ebx, eax
xor edx, edx
cmp rbp, rdx
je 0x10001bb62
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x10001bb62
mov ecx, eax
call fcn.1000196f4
mov ebx, eax
mov rcx, qword [rsp + 0x80]
xor edx, edx
cmp rcx, rdx
je 0x10001bb62
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x10001bb62
cmp rdi, rdx
je 0x10001bad6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x10001bb72
cmp rdi, rbx
je 0x10001baee
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x10001bb72
mov ecx, eax
call fcn.1000196f4
mov ebx, eax
mov rcx, qword [rsp + 0x98]
cmp rcx, rdi
je 0x10001bb11
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10001bb72
mov rdi, qword [rsp + 0x98]
jmp 0x10001bb62
mov ecx, 0x80004005
call fcn.100019658
int3
mov ecx, 0x80070057
call fcn.100019658
int3
mov ecx, 0x8007000e
call fcn.100019658
int3
mov ecx, ebp
call fcn.1000196f4
mov ebx, eax
xor edx, edx
jmp 0x10001bb62
mov ecx, eax
call fcn.1000196f4
nop
jmp 0x10001bb72
mov ecx, eax
call fcn.1000196f4
mov ebx, eax
xor edx, edx
cmp rdi, rdx
je 0x10001bb70
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22d0]
xor rcx, rsp
call fcn.10014e480
add rsp, 0x22e8
pop rdi
pop rsi
pop rbp
pop rbx
ret