Function at 0x10026d58
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x1002c29e
call fcn.1002acfb
mov edi, edx
mov dword [ebp - 0x228], edi
mov ebx, ecx
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10026d97
test byte [eax + 0x1c], 1
je 0x10026d97
cmp byte [eax + 0x19], 5
jb 0x10026d97
push edi
push dword [ebx]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100258f7
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 0x10026f66
push 0x100025dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x10026f70
push 0x100025cc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x10026f58
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.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10026e52
cmp dword [ebp - 0x220], esi
je 0x10026e44
push dword [ebp - 0x220]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov esi, eax
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x220], edx
jmp 0x10026e58
mov edx, dword [ebp - 0x220]
mov edi, dword [0x1002f024]
cmp edi, 0x1002f024
je 0x10026e9a
test byte [edi + 0x1c], 2
je 0x10026e9a
movzx eax, byte [edi + 0x19]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jb 0x10026e9a
push dword [ebp - 0x228]
push dword [ebx]
push esi
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.10025779
mov edx, dword [ebp - 0x220]
test esi, esi
jne 0x10026f4d
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 0x10026ef6
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x220]
call fcn.10026d58
mov esi, eax
test esi, esi
jne 0x10026f0a
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.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x10026ec0
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x10026f23
push edx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edx, edi
mov dword [ebp - 0x220], edx
test esi, esi
jne 0x10026f4d
mov esi, dword [ebp - 0x22c]
mov ecx, esi
push edi
push 0x100
push dword [ebp - 0x228]
push dword [ebx]
call dword [0x10030334]
call esi
mov edx, dword [ebp - 0x220]
mov esi, eax
test edx, edx
je 0x10026f58
push edx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10026f70
push edi
mov ecx, ebx
call fcn.10005bd7
mov esi, eax
mov edx, dword [0x1002f024]
cmp edx, 0x1002f024
je 0x10026fac
test byte [edx + 0x1c], 1
je 0x10026fac
movzx ecx, byte [edx + 0x19]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x10026fac
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100032fc
push 0x5b
pop ecx
call fcn.10003c37
mov eax, esi
call fcn.1002acaa
ret