Function at 0x1000ea79c
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 [0x100152198]
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, [0x100153eb8]
mov edx, 5
mov rcx, qword [0x100153eb8]
cmp rcx, rax
je 0x1000ea836
test byte [rcx + 0x1c], 1
je 0x1000ea836
cmp byte [rcx + 0x19], dl
jb 0x1000ea836
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.1000e9ed4
xor r13d, r13d
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], r13
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
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 0x1000eb270
cmp r15, r13
jne 0x1000ea89f
mov ecx, r13d
jmp 0x1000ea8b0
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.1000361b0
lea rcx, [rsp + 0x58]
call fcn.1000699ec
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov rcx, r12
call fcn.1000edb20
mov r14d, eax
mov rdi, qword [0x100153eb8]
lea rdx, [0x100153eb8]
cmp rdi, rdx
je 0x1000ea91e
test byte [rdi + 0x1c], 2
je 0x1000ea91e
cmp byte [rdi + 0x19], 4
jb 0x1000ea91e
mov edx, 0x1c
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100036510
mov rdi, qword [0x100153eb8]
cmp r14d, r13d
jne 0x1000ead15
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.1000e5b6c
mov r14d, eax
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x1000ea989
test byte [rdi + 0x1c], 2
je 0x1000ea989
cmp byte [rdi + 0x19], 4
jb 0x1000ea989
mov edx, 0x1d
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.10003b678
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp r14d, 2
jne 0x1000ea9ce
mov r14d, 0x490
cmp rdi, rax
je 0x1000ead1a
test byte [rdi + 0x1c], 2
je 0x1000ead1a
cmp byte [rdi + 0x19], 4
jb 0x1000ead1a
mov edx, 0x1e
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100034784
mov rdi, qword [0x100153eb8]
cmp r14d, r13d
jne 0x1000ead1a
mov rdx, rbx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x100153eb8]
lea rdx, [0x100153eb8]
cmp rcx, rdx
je 0x1000eaa23
test byte [rcx + 0x1c], 2
je 0x1000eaa23
cmp byte [rcx + 0x19], 4
jb 0x1000eaa23
mov edx, 0x1f
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10003b678
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x58]
cmp rax, r13
je 0x1000ead0c
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.100035db8
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 0x1000eaac1
mov r13, qword [rsp + 0x90]
mov qword [rsp + 0xc0], r13
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000eab01
test byte [rcx + 0x1c], 2
je 0x1000eab01
cmp byte [rcx + 0x19], 4
jb 0x1000eab01
mov edx, 0x20
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x88]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10003b678
test edi, edi
jne 0x1000eacaf
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.1000e55c4
mov edi, eax
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000eab54
test byte [rcx + 0x1c], 2
je 0x1000eab54
cmp byte [rcx + 0x19], 4
jb 0x1000eab54
mov edx, 0x21
mov r9d, edi
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
test edi, edi
jne 0x1000eacaf
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1000eacaf
xor r12d, r12d
xor esi, esi
test edi, edi
js 0x1000eac99
cmp edi, eax
jge 0x1000eac99
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 0x1000eabbb
mov rsi, qword [rsp + 0x98]
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000eac06
test byte [rcx + 0x1c], 2
je 0x1000eac06
cmp byte [rcx + 0x19], 4
jb 0x1000eac06
cmp edi, dword [rsp + 0x78]
jge 0x1000eac70
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.10003b678
test ebp, ebp
jne 0x1000eac4f
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x100153eb8]
lea rdx, [0x100153eb8]
cmp rcx, rdx
je 0x1000eac4f
test byte [rcx + 0x1c], 2
je 0x1000eac4f
cmp byte [rcx + 0x19], 4
jb 0x1000eac4f
lea edx, [rbp + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10003b678
test rsi, rsi
je 0x1000eac5d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
add r12, 8
mov eax, dword [rsp + 0x78]
cmp edi, eax
jae 0x1000eac86
jmp 0x1000eab6b
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 0x1000eacaf
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.10004d050
nop
test r13, r13
je 0x1000eacc9
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 0x1000eacfe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [0x100153eb8]
jmp 0x1000ead1a
mov rbx, qword [rsp + 0x58]
mov rdi, qword [0x100153eb8]
jmp 0x1000ead1a
mov rdi, qword [0x100153eb8]
jmp 0x1000ead1a
mov rbx, qword [rsp + 0x58]
cmp ebp, r13d
je 0x1000eb1ec
cmp r14d, r13d
jne 0x1000eb280
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, r13d
jne 0x1000eb1ae
call fcn.100129a0c
cmp al, r13b
jne 0x1000eb1ae
mov qword [rsp + 0x50], r13
cmp rsi, r13
je 0x1000ead7a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x1000ead6c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], rsi
lea r15, [0x100153eb8]
jmp 0x1000eadde
lea rcx, [rsp + 0x50]
call fcn.100108778
mov esi, eax
mov rdi, qword [0x100153eb8]
lea r15, [0x100153eb8]
cmp rdi, r15
je 0x1000eadd5
test byte [rdi + 0x1c], 2
je 0x1000eadd5
movzx edx, byte [rdi + 0x19]
mov ecx, 2
cmp eax, r13d
lea eax, [rcx + 3]
cmovge ecx, eax
cmp edx, ecx
jl 0x1000eadd5
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.10003be94
cmp esi, r13d
jl 0x1000eb19c
mov qword [rsp + 0x48], r13
lea rcx, [0x100021128]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0xf0], rax
cmp rax, r13
jne 0x1000eae0b
mov ecx, 0x8007000e
call fcn.100036284
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 [0x100153eb8]
cmp r10, r15
je 0x1000eae6c
mov ebp, 2
test byte [r10 + 0x1c], bpl
je 0x1000eae71
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
lea eax, [rbp + 3]
cmovge ecx, eax
cmp edx, ecx
jl 0x1000eae71
lea edx, [rbp + 0x24]
mov r9d, esi
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.100036510
mov r10, qword [0x100153eb8]
jmp 0x1000eae71
mov ebp, 2
cmp esi, r13d
jne 0x1000eb181
mov r12d, 5
cmp r10, r15
je 0x1000eaeab
test byte [r10 + 0x1c], bpl
je 0x1000eaeab
cmp byte [r10 + 0x19], r12b
jb 0x1000eaeab
mov edx, 0x27
mov r9, qword [rsp + 0x48]
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.100034834
mov rcx, qword [rsp + 0x48]
cmp rcx, r13
je 0x1000eb158
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 [0x100153eb8]
cmp r10, r15
je 0x1000eaf15
test byte [r10 + 0x1c], 8
je 0x1000eaf15
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eaf15
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.10003ba64
cmp esi, r13d
jl 0x1000eb143
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 0x1000eb138
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 [0x100153eb8]
cmp r10, r15
je 0x1000eafd3
test byte [r10 + 0x1c], bpl
je 0x1000eafd3
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eafd3
mov edx, 0x29
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.10003ba64
cmp esi, r13d
jl 0x1000eb128
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x100]
call qword [rax + 0x18]
mov esi, eax
mov r10, qword [0x100153eb8]
cmp r10, r15
je 0x1000eb032
test byte [r10 + 0x1c], bpl
je 0x1000eb032
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eb032
mov edx, 0x2a
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.10003ba64
cmp esi, r13d
jl 0x1000eb128
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 [0x100153eb8]
cmp r10, r15
je 0x1000eb0ab
test byte [r10 + 0x1c], bpl
je 0x1000eb0ab
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eb0ab
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.1000ea008
cmp esi, r13d
jl 0x1000eb128
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 [0x100153eb8]
cmp r10, r15
je 0x1000eb128
test byte [r10 + 0x1c], bpl
je 0x1000eb128
movzx edx, byte [r10 + 0x19]
mov ecx, ebp
cmp eax, r13d
cmovge ecx, r12d
cmp edx, ecx
jl 0x1000eb128
mov edx, 0x2c
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [r10 + 0x10]
call fcn.100036510
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x1000eb138
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 0x1000eb158
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 0x1000eb179
mov r10, qword [0x100153eb8]
jmp 0x1000eae80
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 0x1000eb19c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x1000eb217
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1000eb217
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000eb210
test byte [rcx + 0x1c], 2
je 0x1000eb207
cmp byte [rcx + 0x19], 2
jb 0x1000eb1fe
mov edx, 0x24
mov r9, r15
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
mov rdi, qword [0x100153eb8]
cmp r14d, r13d
jne 0x1000eb289
lea r15, [0x100153eb8]
jmp 0x1000eb217
lea r15, [0x100153eb8]
jmp 0x1000eb217
lea r15, [0x100153eb8]
jmp 0x1000eb217
lea r15, [0x100153eb8]
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.1000f1054
mov rdi, qword [0x100153eb8]
cmp rdi, r15
je 0x1000eb2c9
test byte [rdi + 0x1c], 2
je 0x1000eb290
cmp byte [rdi + 0x19], 4
jb 0x1000eb290
mov edx, 0x2d
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100034784
mov rdi, qword [0x100153eb8]
jmp 0x1000eb290
mov rdi, qword [0x100153eb8]
lea r15, [0x100153eb8]
jmp 0x1000eb290
lea r15, [0x100153eb8]
jmp 0x1000eb290
lea r15, [0x100153eb8]
cmp rdi, r15
je 0x1000eb2c9
test byte [rdi + 0x1c], 1
je 0x1000eb2c9
movzx edx, byte [rdi + 0x19]
mov eax, r14d
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1000eb2c9
mov edx, 0x2e
mov r9d, r14d
lea r8, [0x10001dc18]
mov rcx, qword [rdi + 0x10]
call fcn.100036510
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r13d
jg 0x1000eb2e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xa8]
cmp rcx, r13
je 0x1000eb2f9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.10011be80
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret