Function at 0x10026220
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfab6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], 8
jb 0x10026278
mov eax, dword [eax]
lea ecx, [ebp - 0x23c]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x23c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10026470
mov esi, dword [ebp - 0x23c]
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x24c], edi
lea edx, [ebp - 0x25c]
push edx
mov edx, dword [ebp - 0x24c]
push edi
push edi
push edi
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push edx
push esi
mov dword [ebp - 0x254], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10026433
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002641c
xor ebx, ebx
jmp 0x10026320
cmp dword [ebx + esi + 0x14], 8
mov ecx, dword [ebx + esi + 0x10]
lea eax, [ebx + esi]
jb 0x10026330
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.1009e994
add esp, 0xc
test eax, eax
je 0x10026386
mov eax, dword [ebp - 0x250]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x1c
cmp edi, eax
jb 0x10026320
mov ebx, dword [ebp - 0x250]
mov esi, dword [ebp - 0x23c]
xor edi, edi
inc dword [ebp - 0x24c]
jmp 0x100262bd
xor edi, edi
mov ebx, 7
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], cx
lea edx, [eax + 2]
jmp 0x100263b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100263b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x238]
call fcn.10019760
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
push 0x100f0eb0
mov edx, esi
push edx
push eax
call fcn.10025bf0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x224], 8
jb 0x10026405
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.1009c0c0
add esp, 4
xor edx, edx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x238], dx
xor edi, edi
inc dword [ebp - 0x24c]
mov ebx, dword [ebp - 0x250]
mov esi, dword [ebp - 0x23c]
jmp 0x100262bd
cmp esi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1002644c
mov eax, dword [ebp - 0x23c]
push eax
call esi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x248]
cmp eax, edi
je 0x1002646c
push eax
call esi
mov dword [ebp - 0x248], edi
mov al, 1
jmp 0x10026479
mov dword [ebp - 4], 0xffffffff
xor al, al
mov dword [ebp - 0x244], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret