Function at 0x1000e094
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x10012607
call fcn.10011eac
mov edi, edx
mov dword [ebp - 0x228], edi
mov ebx, ecx
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000e0d3
test byte [eax + 0x1c], 1
je 0x1000e0d3
cmp byte [eax + 0x19], 5
jb 0x1000e0d3
push edi
push dword [ebx]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000d8d8
and dword [ebp - 0x224], 0
lea eax, [ebp - 0x224]
xor esi, esi
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x224], 0
je 0x1000e2a2
push 0x10002254
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x1000e2ac
push 0x10002244
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x1000e294
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 4], ecx
push eax
push 0x2011f
push ecx
push edi
push dword [ebx]
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1000e18e
cmp dword [ebp - 0x220], esi
je 0x1000e180
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x220], edx
jmp 0x1000e194
mov edx, dword [ebp - 0x220]
mov edi, dword [0x10014024]
cmp edi, 0x10014024
je 0x1000e1d6
test byte [edi + 0x1c], 2
je 0x1000e1d6
movzx eax, byte [edi + 0x19]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jb 0x1000e1d6
push dword [ebp - 0x228]
push dword [ebx]
push esi
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.1000d833
mov edx, dword [ebp - 0x220]
test esi, esi
jne 0x1000e289
lea eax, [ebp - 0x238]
xor edi, edi
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push edx
jmp 0x1000e232
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x220]
call fcn.1000e094
mov esi, eax
test esi, esi
jne 0x1000e246
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x220]
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1000e1fc
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x1000e25f
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov dword [ebp - 0x220], edx
test esi, esi
jne 0x1000e289
mov esi, dword [ebp - 0x22c]
mov ecx, esi
push edi
push 0x100
push dword [ebp - 0x228]
push dword [ebx]
call dword [0x100151d8]
call esi
mov edx, dword [ebp - 0x220]
mov esi, eax
test edx, edx
je 0x1000e294
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000e2ac
push edi
mov ecx, ebx
call fcn.1000e481
mov esi, eax
mov edx, dword [0x10014024]
cmp edx, 0x10014024
je 0x1000e2e8
test byte [edx + 0x1c], 1
je 0x1000e2e8
movzx ecx, byte [edx + 0x19]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x1000e2e8
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x10002270
push 0x5b
pop ecx
call fcn.10002ec1
mov eax, esi
call fcn.10011e5b
ret