Function at 0x1000ef70
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x101957cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x810], edi
lea ecx, [ebp - 0x804]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0xf003f
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f2a5
push 0x208
push eax
lea eax, [ebp - 0x800]
push eax
call fcn.100c8b20
add esp, 0xc
mov dword [ebp - 0x81c], 0x104
lea eax, [ebp - 0x83c]
push eax
push 0
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x800]
push eax
push dword [ebp - 0x804]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor esi, esi
cmp dword [ebp - 0x80c], esi
jbe 0x1000f0ed
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100c8b20
add esp, 0xc
mov dword [ebp - 0x808], 0x100
lea eax, [ebp - 0x820]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x820], 0x3e8
push eax
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x804]
call edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x804]
call ebx
test eax, eax
jne 0x1000f2a5
inc esi
cmp esi, dword [ebp - 0x80c]
jb 0x1000f060
mov edi, dword [ebp - 0x810]
xor ebx, ebx
cmp dword [ebp - 0x814], ebx
jbe 0x1000f27b
nop dword [eax + eax]
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100c8b20
add esp, 0xc
mov dword [ebp - 0x808], 0x100
lea eax, [ebp - 0x824]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x804]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000f2a5
push 0x104
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.100c8b20
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 0x418]
cmovae eax, dword [ebp + 8]
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x1000f180
cmp word [ebp - 0x418], cx
je 0x1000f202
cmp word [ebp - 0x210], cx
je 0x1000f202
lea edi, [ebp - 0x418]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1000f1b0
mov eax, dword [0x1016f1e8]
lea edx, [ebp - 0x210]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000f1d0
lea edi, [ebp - 0x418]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000f1e6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1000f21c
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x1000f204
sub esp, 0x18
lea ecx, [ebp - 0x418]
mov edx, esp
lea esi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f240
sub ecx, esi
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10008d70
mov edi, dword [ebp - 0x810]
mov ecx, edi
call fcn.1000ef70
inc ebx
add esp, 0x18
cmp ebx, dword [ebp - 0x814]
jb 0x1000f100
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1000f2a5
push dword [ebp - 0x804]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x1000f2a7
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1000f2dd
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f2d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f2fb
push edx
push ecx
call fcn.100a0bd3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a0b98
mov esp, ebp
pop ebp
ret
call fcn.100e2ef0
int3