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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d2fc
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 0x100e06ba
push 0
push dword [ebp + 8]
push edi
push ebx
call esi
jmp 0x100e06c2
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x100e06d7
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 0x100e070d
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 0x100e0726
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 0x100e07b0
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x100e0798
cmp edx, 8
lea esi, [ebp - 0x30]
push 2
cmovae esi, dword [ebp - 0x30]
lea edi, [ecx + 1]
push 0x10139e48
mov dword [ebp - 0x20], edi
lea eax, [esi + ecx*2]
push eax
call fcn.10073b10
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
jmp 0x100e07b0
push 1
push 0x10139e48
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 0x100e08c3
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.100e0680
add esp, 0xc
test eax, eax
jne 0x100e0887
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 0x100e087b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e0871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e0932
push edx
push ecx
call fcn.1006fca3
add esp, 8
test esi, esi
jne 0x100e08c3
mov esi, dword [ebp + 0xc]
jmp 0x100e07e0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100e08c6
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e08b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e0932
push edx
push ecx
call fcn.1006fca3
add esp, 8
jmp 0x100e08c6
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 0x100e08df
push 0
push esi
push edi
push ebx
call eax
jmp 0x100e08e7
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x1c]
mov esi, eax
cmp edx, 8
jb 0x100e091f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e0915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e0937
push edx
push ecx
call fcn.1006fca3
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.1007d9e8
call fcn.1007d9e8
int3