Function at 0x1000ea2a8
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x100151198]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rsi, r9
mov qword [rsp + 0x60], r9
mov ebp, r8d
mov dword [rsp + 0x40], r8d
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0xa0], rcx
lea rax, [0x100152eb8]
mov edx, 5
mov rcx, qword [0x100152eb8]
cmp rcx, rax
je 0x1000ea342
test byte [rcx + 0x1c], 1
je 0x1000ea342
cmp byte [rcx + 0x19], dl
jb 0x1000ea342
mov edx, 0x1b
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], r8d
mov r9, r15
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.1000e99e0
xor r13d, r13d
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], r13
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov r14d, r13d
mov dword [rsp + 0x20], r13d
or rdi, 0xffffffffffffffff
mov r9d, edi
mov r8, r15
mov edx, edi
lea rcx, [0x10001eff8]
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x1000ead7c
cmp r15, r13
jne 0x1000ea3ab
mov ecx, r13d
jmp 0x1000ea3bc
xor eax, eax
mov rcx, rdi
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.100036190
lea rcx, [rsp + 0x58]
call fcn.100069790
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov rcx, r12
call fcn.1000ed62c
mov r14d, eax
mov rdi, qword [0x100152eb8]
lea rdx, [0x100152eb8]
cmp rdi, rdx
je 0x1000ea42a
test byte [rdi + 0x1c], 2
je 0x1000ea42a
cmp byte [rdi + 0x19], 4
jb 0x1000ea42a
mov edx, 0x1c
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100036328
mov rdi, qword [0x100152eb8]
cmp r14d, r13d
jne 0x1000ea821
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.1000e5514
mov r14d, eax
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x1000ea495
test byte [rdi + 0x1c], 2
je 0x1000ea495
cmp byte [rdi + 0x19], 4
jb 0x1000ea495
mov edx, 0x1d
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.10009b2f4
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r14d, 2
jne 0x1000ea4da
mov r14d, 0x490
cmp rdi, rax
je 0x1000ea826
test byte [rdi + 0x1c], 2
je 0x1000ea826
cmp byte [rdi + 0x19], 4
jb 0x1000ea826
mov edx, 0x1e
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100034764
mov rdi, qword [0x100152eb8]
cmp r14d, r13d
jne 0x1000ea826
mov rdx, rbx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x100152eb8]
lea rdx, [0x100152eb8]
cmp rcx, rdx
je 0x1000ea52f
test byte [rcx + 0x1c], 2
je 0x1000ea52f
cmp byte [rcx + 0x19], 4
jb 0x1000ea52f
mov edx, 0x1f
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x58]
cmp rax, r13
je 0x1000ea818
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.100035d98
nop
mov qword [rsp + 0xc0], r13
xor eax, eax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], eax
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1000ea5cd
mov r13, qword [rsp + 0x90]
mov qword [rsp + 0xc0], r13
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000ea60d
test byte [rcx + 0x1c], 2
je 0x1000ea60d
cmp byte [rcx + 0x19], 4
jb 0x1000ea60d
mov edx, 0x20
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x88]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
test edi, edi
jne 0x1000ea7bb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.1000e4f6c
mov edi, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000ea660
test byte [rcx + 0x1c], 2
je 0x1000ea660
cmp byte [rcx + 0x19], 4
jb 0x1000ea660
mov edx, 0x21
mov r9d, edi
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
test edi, edi
jne 0x1000ea7bb
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1000ea7bb
xor r12d, r12d
xor esi, esi
test edi, edi
js 0x1000ea7a5
cmp edi, eax
jge 0x1000ea7a5
mov rax, qword [rsp + 0x70]
and qword [rsp + 0x98], rsi
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [r12 + rax]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x1000ea6c7
mov rsi, qword [rsp + 0x98]
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000ea712
test byte [rcx + 0x1c], 2
je 0x1000ea712
cmp byte [rcx + 0x19], 4
jb 0x1000ea712
cmp edi, dword [rsp + 0x78]
jge 0x1000ea77c
mov rax, qword [rsp + 0x70]
mov edx, 0x22
mov dword [rsp + 0x20], ebp
mov r9, qword [r12 + rax]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
test ebp, ebp
jne 0x1000ea75b
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x100152eb8]
lea rdx, [0x100152eb8]
cmp rcx, rdx
je 0x1000ea75b
test byte [rcx + 0x1c], 2
je 0x1000ea75b
cmp byte [rcx + 0x19], 4
jb 0x1000ea75b
lea edx, [rbp + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
test rsi, rsi
je 0x1000ea769
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
add r12, 8
mov eax, dword [rsp + 0x78]
cmp edi, eax
jae 0x1000ea792
jmp 0x1000ea677
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rsi, qword [rsp + 0x60]
mov ebp, dword [rsp + 0x40]
mov r12, qword [rsp + 0xa0]
jmp 0x1000ea7bb
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rsp + 0x70]
call fcn.10004ce40
nop
test r13, r13
je 0x1000ea7d5
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor r13d, r13d
cmp eax, r13d
jg 0x1000ea80a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [0x100152eb8]
jmp 0x1000ea826
mov rbx, qword [rsp + 0x58]
mov rdi, qword [0x100152eb8]
jmp 0x1000ea826
mov rdi, qword [0x100152eb8]
jmp 0x1000ea826
mov rbx, qword [rsp + 0x58]
cmp ebp, r13d
je 0x1000eacf8
cmp r14d, r13d
jne 0x1000ead8c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, r13d
jne 0x1000eacba
call fcn.10012950c
cmp al, r13b
jne 0x1000eacba
mov qword [rsp + 0x50], r13
cmp rsi, r13
je 0x1000ea886
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x1000ea878
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], rsi
lea r15, [0x100152eb8]
jmp 0x1000ea8ea
lea rcx, [rsp + 0x50]
call fcn.100108284
mov esi, eax
mov rdi, qword [0x100152eb8]
lea r15, [0x100152eb8]
cmp rdi, r15
je 0x1000ea8e1
test byte [rdi + 0x1c], 2
je 0x1000ea8e1
movzx edx, byte [rdi + 0x19]
mov ecx, 2
cmp eax, r13d
lea eax, [rcx + 3]
cmovge ecx, eax
cmp edx, ecx
jl 0x1000ea8e1
lea edx, [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.10003bdc0
cmp esi, r13d
jl 0x1000eaca8
mov qword [rsp + 0x48], r13
lea rcx, [0x100021130]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0xf0], rax
cmp rax, r13
jne 0x1000ea917
mov ecx, 0x8007000e
call fcn.100036264
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov edx, 1
call qword [rax + 0x30]
mov esi, eax
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x1000ea978
mov ebp, 2
test byte [r10 + 0x1c], bpl
je 0x1000ea97d
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
lea eax, [rbp + 3]
cmovge ecx, eax
cmp edx, ecx
jl 0x1000ea97d
lea edx, [rbp + 0x24]
mov r9d, esi
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.100036328
mov r10, qword [0x100152eb8]
jmp 0x1000ea97d
mov ebp, 2
cmp esi, r13d
jne 0x1000eac8d
mov r12d, 5
cmp r10, r15
je 0x1000ea9b7
test byte [r10 + 0x1c], bpl
je 0x1000ea9b7
cmp byte [r10 + 0x19], r12b
jb 0x1000ea9b7
mov edx, 0x27
mov r9, qword [rsp + 0x48]
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.100034814
mov rcx, qword [rsp + 0x48]
cmp rcx, r13
je 0x1000eac64
mov qword [rsp + 0x68], r13
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov rdx, rdi
call qword [rax + 0x40]
mov esi, eax
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x1000eaa21
test byte [r10 + 0x1c], 8
je 0x1000eaa21
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eaa21
mov edx, 0x28
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
cmp esi, r13d
jl 0x1000eac4f
or dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
mov r8, qword [rsp + 0x68]
lea edx, [r9 + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, ebp
jne 0x1000eac44
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x100], r13b
xor eax, eax
mov qword [rsp + 0x101], rax
mov dword [rsp + 0x109], eax
mov word [rsp + 0x10d], ax
mov byte [rsp + 0x10f], al
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x40], r13d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x20]
mov esi, eax
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x1000eaadf
test byte [r10 + 0x1c], bpl
je 0x1000eaadf
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eaadf
mov edx, 0x29
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
cmp esi, r13d
jl 0x1000eac34
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x100]
call qword [rax + 0x18]
mov esi, eax
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x1000eab3e
test byte [r10 + 0x1c], bpl
je 0x1000eab3e
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eab3e
mov edx, 0x2a
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
cmp esi, r13d
jl 0x1000eac34
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x80]
call qword [rax + 0x38]
mov esi, eax
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x1000eabb7
test byte [r10 + 0x1c], bpl
je 0x1000eabb7
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eabb7
mov edx, 0x2b
mov qword [rsp + 0x30], rbx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.1000e9b14
cmp esi, r13d
jl 0x1000eac34
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0xe0], xmm0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
mov edx, 1
call qword [rax + 0x20]
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x1000eac34
test byte [r10 + 0x1c], bpl
je 0x1000eac34
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eac34
mov edx, 0x2c
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.100036328
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x1000eac44
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x48]
cmp rcx, r13
je 0x1000eac64
mov qword [rsp + 0x48], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x38]
cmp eax, r13d
jne 0x1000eac85
mov r10, qword [0x100152eb8]
jmp 0x1000ea98c
mov r12, qword [rsp + 0xa0]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, r13
je 0x1000eaca8
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x1000ead23
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1000ead23
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000ead1c
test byte [rcx + 0x1c], 2
je 0x1000ead13
cmp byte [rcx + 0x19], 2
jb 0x1000ead0a
mov edx, 0x24
mov r9, r15
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov rdi, qword [0x100152eb8]
cmp r14d, r13d
jne 0x1000ead95
lea r15, [0x100152eb8]
jmp 0x1000ead23
lea r15, [0x100152eb8]
jmp 0x1000ead23
lea r15, [0x100152eb8]
jmp 0x1000ead23
lea r15, [0x100152eb8]
mov rax, qword [r12]
mov edx, 0x3ea
mov rcx, r12
call qword [rax + 0x48]
mov ecx, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.1000f0b60
mov rdi, qword [0x100152eb8]
cmp rdi, r15
je 0x1000eadd5
test byte [rdi + 0x1c], 2
je 0x1000ead9c
cmp byte [rdi + 0x19], 4
jb 0x1000ead9c
mov edx, 0x2d
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100034764
mov rdi, qword [0x100152eb8]
jmp 0x1000ead9c
mov rdi, qword [0x100152eb8]
lea r15, [0x100152eb8]
jmp 0x1000ead9c
lea r15, [0x100152eb8]
jmp 0x1000ead9c
lea r15, [0x100152eb8]
cmp rdi, r15
je 0x1000eadd5
test byte [rdi + 0x1c], 1
je 0x1000eadd5
movzx edx, byte [rdi + 0x19]
mov eax, r14d
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1000eadd5
mov edx, 0x2e
mov r9d, r14d
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100036328
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r13d
jg 0x1000eadf2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xa8]
cmp rcx, r13
je 0x1000eae05
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.10011b980
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret