Function at 0x100541b0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x100d1444]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push edi
mov edi, dword [esp + 0x120]
xor ebp, ebp
mov dword [esp + 8], ebp
mov dword [edi], ebp
call fcn.10059b10
cmp eax, 3
je 0x100541f8
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x114
ret
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.WS2_32.dll_bind
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10054270
push edi
push str.SearchList
push dword [esp + 0x1c]
call fcn.10054060
lea eax, [esp + 0x1c]
push eax
push str.Domain
push dword [esp + 0x28]
call fcn.10054060
add esp, 0x18
test eax, eax
je 0x1005426a
mov esi, dword [esp + 0x10]
push esi
push edi
call fcn.10052f10
push esi
call dword [0x100d143c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
mov dword [esp + 0x10], ebp
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftWindows_NTDNSClient
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x100542cb
lea eax, [esp + 0x10]
push eax
push str.SearchList
push dword [esp + 0x1c]
call fcn.10054060
add esp, 0xc
test eax, eax
je 0x100542c5
mov esi, dword [esp + 0x10]
push esi
push edi
call fcn.10052f10
push esi
call dword [0x100d143c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
mov dword [esp + 0x10], ebp
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftSystemDNSClient
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x10054326
lea eax, [esp + 0x10]
push eax
push str.PrimaryDNSSuffix
push dword [esp + 0x1c]
call fcn.10054060
add esp, 0xc
test eax, eax
je 0x10054320
mov esi, dword [esp + 0x10]
push esi
push edi
call fcn.10052f10
push esi
call dword [0x100d143c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
mov dword [esp + 0x10], ebp
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParametersInterfaces
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x10054471
push eax
push eax
push eax
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1005446b
lea eax, [esp + 0x18]
inc ebp
push eax
push 1
push 0
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x24]
call esi
test eax, eax
jne 0x1005443e
lea eax, [esp + 0x10]
push eax
push str.SearchList
push dword [esp + 0x20]
call fcn.10054060
add esp, 0xc
test eax, eax
je 0x100543c4
mov esi, dword [esp + 0x10]
push esi
push edi
call fcn.10052f10
push esi
call dword [0x100d143c]
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push str.Domain
push dword [esp + 0x20]
call fcn.10054060
add esp, 0xc
test eax, eax
je 0x100543fb
mov esi, dword [esp + 0x10]
push esi
push edi
call fcn.10052f10
push esi
call dword [0x100d143c]
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push str.DhcpDomain
push dword [esp + 0x20]
call fcn.10054060
add esp, 0xc
test eax, eax
je 0x10054432
mov esi, dword [esp + 0x10]
push esi
push edi
call fcn.10052f10
push esi
call dword [0x100d143c]
add esp, 0xc
mov dword [esp + 0x10], 0
push dword [esp + 0x18]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10054370
push dword [esp + 0x14]
call ebx
mov ecx, dword [esp + 0x120]
xor eax, eax
cmp dword [edi], eax
pop esi
pop ebx
pop edi
setne al
pop ebp
xor ecx, esp
call fcn.1005e4a8
add esp, 0x114
ret