Function at 0x10026d37
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3004]
mov eax, 0x3004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100cdda8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x3000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x300c]
mov esi, 0x1000
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp + 0x3010]
push esi
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x2000]
push ebx
push eax
call fcn.100621d0
push esi
lea eax, [ebp]
push ebx
push eax
call fcn.100621d0
push esi
lea eax, [ebp + 0x1000]
mov edi, 0x800
push ebx
push eax
mov dword [ebp - 0x10], edi
call fcn.100621d0
add esp, 0x24
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 0x20019
push 0x100e73e8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.100c0f6c
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10026df8
inc ebx
mov esi, dword [ebp - 0x28]
jmp 0x10026f75
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push ebx
jmp 0x10026f45
lea eax, [ebp + 0x2000]
push eax
call fcn.100c0f6c
lea eax, [ebp]
mov esi, 0x800
push eax
push 0x100e7448
lea eax, [ebp + 0x2000]
push esi
push eax
call fcn.1000af1e
add esp, 0x14
lea eax, [ebp + 0x2000]
lea ecx, [ebp - 0x28]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100c0f6c
test eax, eax
jne 0x10026df0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x2000]
push eax
push 0x100e737c
lea ecx, [ebp - 0x28]
call fcn.100c0f6c
test eax, eax
jne 0x10026df0
push 0x100e742c
lea eax, [ebp + 0x2000]
push eax
push 0x100e743c
lea eax, [ebp + 0x1000]
push esi
push eax
call fcn.1000af1e
push 0x100e749c
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10027df3
add esp, 0x20
mov eax, dword [eax]
mov byte [ebp - 4], 1
test eax, eax
je 0x10026ebb
mov eax, dword [eax]
jmp 0x10026ebd
mov eax, ebx
push dword [ebp - 0x38]
mov esi, dword [ebp - 0x14]
push eax
push 1
push esi
call fcn.10026afc
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov byte [ebp - 4], bl
test ecx, ecx
je 0x10026ee1
call fcn.10001b13
mov dword [ebp - 0x18], ebx
push 0x100e74c0
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10027df3
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 2
test eax, eax
je 0x10026f07
mov eax, dword [eax]
jmp 0x10026f09
mov eax, ebx
push eax
push 1
push esi
call fcn.10026ad0
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov byte [ebp - 4], bl
test ecx, ecx
je 0x10026f27
call fcn.10001b13
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push ecx
lea ecx, [ebp]
inc eax
push ecx
mov dword [ebp - 0x1c], eax
push eax
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
test ecx, ecx
je 0x10026e10
xor eax, eax
cmp ecx, 0x103
sete al
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10026f73
push esi
call edi
mov eax, dword [ebp - 0x14]
mov esi, ebx
mov ebx, eax
test esi, esi
je 0x10026f7c
push esi
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3000]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x3004
leave
ret