Function at 0x100e0ec0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011de4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0x18], edi
test esi, esi
je 0x100e0efa
push 0
push dword [ebp + 8]
push edi
push ebx
call esi
jmp 0x100e0f02
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x100e0f17
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
or eax, 0x20019
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100e0f4d
mov ecx, 2
pop edi
cmp eax, ecx
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e0f66
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.1001a860
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
cmp edx, 8
mov ecx, dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x100e0ff0
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x100e0fd8
cmp edx, 8
lea esi, [ebp - 0x30]
push 2
cmovae esi, dword [ebp - 0x30]
lea edi, [ecx + 1]
push 0x10139e88
mov dword [ebp - 0x20], edi
lea eax, [esi + ecx*2]
push eax
call fcn.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
jmp 0x100e0ff0
push 1
push 0x10139e88
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x18]
push 1
call fcn.1001f850
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100e1103
nop
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.1002f240
mov byte [ebp - 4], 1
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov ecx, ebx
push esi
mov esi, dword [ebp + 8]
cmovae edx, dword [ebp - 0x48]
push esi
call fcn.100e0ec0
add esp, 0xc
test eax, eax
jne 0x100e10c7
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov byte [ebp - 4], 0
mov esi, eax
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100e10bb
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e10b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e1172
push edx
push ecx
call fcn.100703b3
add esp, 8
test esi, esi
jne 0x100e1103
mov esi, dword [ebp + 0xc]
jmp 0x100e1020
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100e1106
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e10f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e1172
push edx
push ecx
call fcn.100703b3
add esp, 8
jmp 0x100e1106
mov esi, dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100e111f
push 0
push esi
push edi
push ebx
call eax
jmp 0x100e1127
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x1c]
mov esi, eax
cmp edx, 8
jb 0x100e115f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e1155
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e1177
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1007e0fa
call fcn.1007e0fa
int3