Function at 0x48be50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x108], ebx
mov dword [edi], ebx
call fcn.0048f490
cmp eax, 3
je 0x48be8e
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004830fa
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x48bf20
push edi
push str.SearchList
push dword [ebp - 0x10c]
call fcn.0048bd00
lea eax, [ebp - 0x108]
push eax
push str.Domain
push dword [ebp - 0x10c]
call fcn.0048bd00
add esp, 0x18
test eax, eax
je 0x48bf18
mov esi, dword [ebp - 0x108]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48bef1
sub ecx, edx
push ecx
push esi
push edi
call fcn.0048b380
push esi
call dword [0x62413c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
mov dword [ebp - 0x108], ebx
push dword [ebp - 0x10c]
call esi
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftWindows_NTDNSClient
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48bf9f
lea eax, [ebp - 0x108]
push eax
push str.SearchList
push dword [ebp - 0x10c]
call fcn.0048bd00
add esp, 0xc
test eax, eax
je 0x48bf97
mov esi, dword [ebp - 0x108]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48bf70
sub ecx, edx
push ecx
push esi
push edi
call fcn.0048b380
push esi
call dword [0x62413c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
mov dword [ebp - 0x108], ebx
push dword [ebp - 0x10c]
call esi
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftSystemDNSClient
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48c01f
lea eax, [ebp - 0x108]
push eax
push str.PrimaryDNSSuffix
push dword [ebp - 0x10c]
call fcn.0048bd00
add esp, 0xc
test eax, eax
je 0x48c017
mov esi, dword [ebp - 0x108]
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48bff0
sub ecx, edx
push ecx
push esi
push edi
call fcn.0048b380
push esi
call dword [0x62413c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
mov dword [ebp - 0x108], ebx
push dword [ebp - 0x10c]
call esi
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParametersInterfaces
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48c1d3
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x48c1cb
lea eax, [ebp - 0x110]
inc ebx
push eax
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48c196
lea eax, [ebp - 0x108]
push eax
push str.SearchList
push dword [ebp - 0x110]
call fcn.0048bd00
add esp, 0xc
test eax, eax
je 0x48c0ec
mov esi, dword [ebp - 0x108]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c0c7
sub ecx, edx
push ecx
push esi
push edi
call fcn.0048b380
push esi
call dword [0x62413c]
add esp, 0x10
mov dword [ebp - 0x108], 0
lea eax, [ebp - 0x108]
push eax
push str.Domain
push dword [ebp - 0x110]
call fcn.0048bd00
add esp, 0xc
test eax, eax
je 0x48c13a
mov esi, dword [ebp - 0x108]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c115
sub ecx, edx
push ecx
push esi
push edi
call fcn.0048b380
push esi
call dword [0x62413c]
add esp, 0x10
mov dword [ebp - 0x108], 0
lea eax, [ebp - 0x108]
push eax
push str.DhcpDomain
push dword [ebp - 0x110]
call fcn.0048bd00
add esp, 0xc
test eax, eax
je 0x48c188
mov esi, dword [ebp - 0x108]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c163
sub ecx, edx
push ecx
push esi
push edi
call fcn.0048b380
push esi
call dword [0x62413c]
add esp, 0x10
mov dword [ebp - 0x108], 0
push dword [ebp - 0x110]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x48c077
push dword [ebp - 0x10c]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi], eax
pop esi
setne al
xor ecx, ebp
pop edi
pop ebx
call fcn.004830fa
mov esp, ebp
pop ebp
ret