Function at 0x1001e470
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x70
mov ebx, dword [ebp + 0x14]
test byte [0x100563b0], 8
jne 0x1001e710
mov esi, dword [ebp + 0x10]
test esi, esi
sete dl
test ebx, ebx
setne al
or dl, al
jne 0x1001e752
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1001e752
lea eax, [ebp - 0x54]
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_
mov dword [esp + 8], eax
mov dword [esp], ParseURLW
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [ebp - 0x58], eax
sub esp, 0xc
test eax, eax
jne 0x1001e561
mov dword [esp], 0x18
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
mov eax, dword [ebp - 0x54]
test ebx, ebx
je 0x1001e54c
mov dword [ebp - 0x5c], 6
xor edi, edi
lea esi, [ebp - 0x4c]
xor edx, edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov word [ebp - 0x4c], dx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x1001e580
mov eax, dword [ebp - 0x54]
test edi, edi
jne 0x1001e5f0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x100563b0], 8
jne 0x1001e5b0
mov dword [ebp - 0x58], 0x80004005
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
add edi, 1
cmp edi, dword [ebp - 0x5c]
je 0x1001e690
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [ebx + edi*4], eax
mov eax, dword [ebp - 0x54]
jmp 0x1001e4f5
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], str.found__ld_zones_n
mov dword [esp + 8], str.ZoneMgrImpl_CreateZoneEnumerator
mov dword [esp + 4], 0x100563b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_14
mov dword [ebp - 0x58], 0x80004005
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebx], edi
sub esp, 4
test byte [0x100563b0], 8
jne 0x1001e6c0
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
test esi, esi
je 0x1001e639
xor eax, eax
lea esi, [esi]
test edx, edx
je 0x1001e632
mov edi, dword [edx + eax*4]
lea ecx, [edx + eax*4]
test edi, edi
je 0x1001e6f0
add eax, 1
cmp eax, esi
jne 0x1001e620
test edx, edx
lea eax, [esi + esi]
mov edi, 2
mov dword [esp], edx
cmovne edi, eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
call dword [sym.imp.ucrtbase.dll__recalloc]
test eax, eax
je 0x1001e75e
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edi
mov edi, dword [ebp + 0x10]
mov dword [eax + esi*4], ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea eax, [edi + edi]
mov dword [esp], ebx
mov dword [ebp - 0x5c], eax
lea eax, [edi*8]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x1001e76c
lea ebx, [edi + edi]
mov dword [ebp - 0x5c], ebx
mov ebx, eax
jmp 0x1001e58c
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.found__ld_zones_n
mov dword [esp + 8], str.ZoneMgrImpl_CreateZoneEnumerator
mov dword [esp + 4], 0x100563b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_14
jmp 0x1001e60b
mov edi, dword [ebp + 0xc]
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], str.__p_____p___p__0x_08lx__n
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.ZoneMgrImpl_CreateZoneEnumerator
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x100563b0
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_14
jmp 0x1001e489
mov dword [ebp - 0x58], 0x80070057
jmp 0x1001e571
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x1001e56a
mov eax, dword [ebp - 0x54]
jmp 0x1001e54c