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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x101908c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x214], edi
cmp ecx, edi
je 0x100e36b
cmp ecx, 0xffffffff
je 0x100e36b
cmp eax, edi
je 0x100e36b
xor edx, edx
cmp dx, word [eax]
je 0x100e36b
push esi
lea edx, [ebp - 0x214]
push edx
mov edx, dword [ebp + 0x10]
or edx, 0x2000000
push edx
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x100e35a
push ebx
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
jne 0x100e2c2
mov ebx, dword [ebp - 0x21c]
xor esi, esi
dec ebx
cmp ebx, edi
jl 0x100e260
cmp esi, edi
jne 0x100e252
push 0x105
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
cmp esi, edi
jne 0x100e24f
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call fcn.0100e14a
test eax, eax
jne 0x100e24f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100e24c
call esi
mov esi, eax
jmp 0x100e24f
push 0x1f
pop esi
dec ebx
jns 0x100e1fe
cmp esi, 0x103
jne 0x100e25c
xor esi, esi
cmp esi, edi
jne 0x100e2c2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x100e28d
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x100e28d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100e28d
call esi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x105
call ebx
mov esi, eax
cmp esi, edi
je 0x100e268
cmp esi, 0x103
jne 0x100e2c2
xor esi, esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x100e359
cmp eax, edi
je 0x100e2de
mov esi, eax
jmp 0x100e359
mov esi, 0x100388c
push esi
mov dword [ebp - 0x218], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
cmp ebx, edi
jne 0x100e30d
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x100e331
mov dword [ebp - 0x218], 1
push 0x1004018
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x100e331
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call eax
jmp 0x100e343
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x218], 1
mov esi, eax
jne 0x100e359
cmp ebx, edi
je 0x100e359
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp esi, edi
sete al
pop esi
jmp 0x100e375
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100d691
leave
ret 0xc