Function at 0x10026b90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x448], ecx
or edi, 0x20019
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], eax
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10026be1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x31
call fcn.10003680
add esp, 4
test eax, eax
je 0x10026c04
lea ecx, [ebp - 0x43c]
push ecx
push edi
push 0
push ebx
push dword [ebp - 0x438]
call eax
jmp 0x10026c1b
lea eax, [ebp - 0x43c]
push eax
push edi
push 0
push ebx
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test esi, esi
je 0x10026c28
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x10026f23
push 0x200
lea eax, [ebp - 0x204]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor ebx, ebx
mov edi, dword [ebp - 0x43c]
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x438], 0x100
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10026c73
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3d
call fcn.10003680
add esp, 4
push 0
push 0
push 0
push 0
test eax, eax
je 0x10026c9d
lea ecx, [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x204]
push ecx
push ebx
push edi
call eax
jmp 0x10026cb3
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x10026cc0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x10026ee3
push 0x208
lea eax, [ebp - 0x40c]
push edi
push eax
call sub.msvcrt.dll_memset
push dword [ebp + 0x10]
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40c]
push 0x102049ac
push 0x208
push eax
call fcn.100269c0
push 0x200
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 8]
call fcn.10176c90
add esp, 0x30
test eax, eax
je 0x10026edd
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], edi
je 0x10026d5a
push 0x20019
push 4
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], edi
push ecx
push 4
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 8]
call fcn.10176900
add esp, 0x1c
cmp dword [ebp - 0x440], 1
jne 0x10026edd
xor eax, eax
mov dword [ebp - 0x414], 0
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x410], 7
mov word [ebp - 0x424], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026d80
sub ecx, edx
lea eax, [ebp - 0x204]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.100070c0
cmp dword [ebp - 0x410], 8
lea edx, [ebp - 0x424]
mov ecx, dword [ebp - 0x424]
jb 0x10026db9
mov edx, ecx
lea esi, [ebp - 0x424]
jb 0x10026dc3
mov esi, ecx
mov eax, dword [ebp - 0x414]
lea eax, [esi + eax*2]
lea esi, [ebp - 0x424]
jb 0x10026dd6
mov esi, ecx
mov ecx, eax
xor edi, edi
sub ecx, esi
inc ecx
shr ecx, 1
cmp eax, esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x10026e10
sub edx, esi
mov dword [ebp - 0x440], edx
movzx eax, word [esi]
push eax
call sub.msvcrt.dll_towlower
mov ecx, dword [ebp - 0x440]
lea esi, [esi + 2]
inc edi
add esp, 4
mov word [ecx + esi - 2], ax
cmp edi, ebx
jne 0x10026df1
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jne 0x10026e97
mov ecx, dword [ebp - 0x448]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ecx + 0x10]
call fcn.100219f0
mov esi, eax
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x10026e8b
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
push ecx
call fcn.10002a60
add eax, 0x10
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.10002a60
add eax, 0x10
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.10002a60
add eax, 0x10
add esp, 0xc
mov dword [edi + 0xc], eax
add dword [esi + 4], 0x10
jmp 0x10026e97
lea eax, [ebp + 8]
mov ecx, esi
push eax
push edi
call fcn.1001da50
mov edx, dword [ebp - 0x410]
cmp edx, 8
jb 0x10026ed7
mov ecx, dword [ebp - 0x424]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10026ecd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f87
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ebx, dword [ebp - 0x444]
inc ebx
jmp 0x10026c47
mov edi, dword [ebp - 0x43c]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10026eff
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x44
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x10026f12
call eax
jmp 0x10026f18
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10026f23
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp + 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026f40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026f5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
pop edi
test esi, esi
pop esi
pop ebx
jg 0x10026f75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x14
call fcn.101e6c40
int3