Function at 0x1000df54
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10053d5c
call fcn.10052270
sub esp, 0x530
push ebx
push esi
push edi
mov edi, ecx
call fcn.1000ddcf
mov esi, 0x104
lea eax, [ebp - 0x438]
push esi
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
mov ebx, str.SystemCurrentControlSetServicesWinsock2Parameters
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x14]
push eax
push str.Current_Protocol_Catalog
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1000dff2
lea eax, [ebp - 0x438]
push eax
push ebx
push str._s_sCatalog_Entries
lea eax, [ebp - 0x230]
push 0x103
push eax
call fcn.10001f81
add esp, 0x14
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1000a78c
test eax, eax
je 0x1000dff9
xor eax, eax
jmp 0x1000e1b3
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push esi
lea eax, [ebp - 0x12c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push esi
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.1000ad89
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x1000e19c
push 0x488
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x1000e19c
push 0x488
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x10070058
lea eax, [ebp - 0x53c]
push 0x103
push eax
call fcn.10001f81
add esp, 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x1c], 0x378
push eax
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x53c]
push str.PackedCatalogItem
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1000bfd2
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x1000e192
mov eax, dword [0x10070040]
mov dword [ebp - 0x18], eax
push esi
lea eax, [ebp - 0x334]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x334]
mov ecx, edi
push esi
push eax
push dword [ebp - 0x10]
call fcn.1000de24
push esi
push ebx
push dword [ebp - 0x10]
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
push esi
push dword [ebp - 0x10]
call fcn.1000516a
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x118
push eax
call fcn.1000dee9
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
add eax, 0x378
push esi
push eax
call fcn.1000516a
lea eax, [ebp - 0x10]
lea ecx, [edi + 8]
push eax
call fcn.1000e7b4
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x480]
push ecx
push eax
add eax, 0x378
mov ecx, edi
push eax
call fcn.1000e2d7
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x47c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x47c], ebx
jne 0x1000e16c
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x18]
push eax
call fcn.1000e7b4
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 0x3a
jne 0x1000e184
push eax
call fcn.10016b34
test eax, eax
pop ecx
jne 0x1000e184
mov dword [edi + 0x28], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000349d
jmp 0x1000e19c
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x24], ebx
je 0x1000dffe
push dword [ebp - 0x28]
call fcn.1000ade2
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret