Function at 0x547f10
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x5f0a00]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
mov ebp, dword [esp + 0x120]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [ebp], eax
call fcn.0054c800
cmp eax, 3
je 0x547f5b
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00551e44
add esp, 0x118
ret
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x548064
push ebp
push str.SearchList
push dword [esp + 0x1c]
call fcn.00547e70
lea eax, [esp + 0x1c]
push eax
push str.Domain
push dword [esp + 0x28]
call fcn.00547e70
add esp, 0x18
test eax, eax
je 0x54805e
mov ebx, dword [esp + 0x10]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x547fc0
mov edx, dword [ebp]
sub esi, ecx
test edx, edx
je 0x547fe3
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x547fd5
sub ecx, edi
add ecx, 2
jmp 0x547fe8
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x5f09c8]
mov edi, eax
add esp, 8
test edi, edi
je 0x548040
cmp dword [ebp], 0
jne 0x548005
mov byte [edi], 0
mov ecx, edi
mov dword [ebp], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x548010
sub ecx, edx
je 0x548033
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x548020
mov ax, word [0x5a8858]
mov word [edi], ax
push esi
push ebx
push dword [ebp]
call fcn.005746f0
add esp, 0xc
push ebx
call dword [0x5f09cc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x10], 0
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftWindows_NTDNSClient
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x548154
lea eax, [esp + 0x10]
push eax
push str.SearchList
push dword [esp + 0x1c]
call fcn.00547e70
add esp, 0xc
test eax, eax
je 0x54814e
mov ebx, dword [esp + 0x10]
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x5480b0
mov edx, dword [ebp]
sub esi, ecx
test edx, edx
je 0x5480d3
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5480c5
sub ecx, edi
add ecx, 2
jmp 0x5480d8
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x5f09c8]
mov edi, eax
add esp, 8
test edi, edi
je 0x548130
cmp dword [ebp], 0
jne 0x5480f5
mov byte [edi], 0
mov ecx, edi
mov dword [ebp], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x548100
sub ecx, edx
je 0x548123
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x548110
mov ax, word [0x5a8858]
mov word [edi], ax
push esi
push ebx
push dword [ebp]
call fcn.005746f0
add esp, 0xc
push ebx
call dword [0x5f09cc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x10], 0
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftSystemDNSClient
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x548244
lea eax, [esp + 0x10]
push eax
push str.PrimaryDNSSuffix
push dword [esp + 0x1c]
call fcn.00547e70
add esp, 0xc
test eax, eax
je 0x54823e
mov ebx, dword [esp + 0x10]
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x5481a0
mov edx, dword [ebp]
sub esi, ecx
test edx, edx
je 0x5481c3
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5481b5
sub ecx, edi
add ecx, 2
jmp 0x5481c8
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x5f09c8]
mov edi, eax
add esp, 8
test edi, edi
je 0x548220
cmp dword [ebp], 0
jne 0x5481e5
mov byte [edi], 0
mov ecx, edi
mov dword [ebp], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5481f0
sub ecx, edx
je 0x548213
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x548200
mov ax, word [0x5a8858]
mov word [edi], ax
push esi
push ebx
push dword [ebp]
call fcn.005746f0
add esp, 0xc
push ebx
call dword [0x5f09cc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x10], 0
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParametersInterfaces
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x54852b
push eax
push eax
push eax
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x548525
nop
inc dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push 1
push 0
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x24]
call esi
test eax, eax
jne 0x5484f4
lea eax, [esp + 0x10]
push eax
push str.SearchList
push dword [esp + 0x20]
call fcn.00547e70
add esp, 0xc
test eax, eax
je 0x548366
mov ebx, dword [esp + 0x10]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5482d7
mov edx, dword [ebp]
sub esi, ecx
test edx, edx
je 0x5482fe
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5482f0
sub ecx, edi
add ecx, 2
jmp 0x548303
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x5f09c8]
mov edi, eax
add esp, 8
test edi, edi
je 0x548354
cmp dword [ebp], 0
jne 0x548320
mov byte [edi], 0
mov ecx, edi
mov dword [ebp], edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x548328
sub ecx, edx
je 0x548347
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x548334
mov ax, word [0x5a8858]
mov word [edi], ax
push esi
push ebx
push dword [ebp]
call fcn.005746f0
add esp, 0xc
push ebx
call dword [0x5f09cc]
add esp, 4
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push str.Domain
push dword [esp + 0x20]
call fcn.00547e70
add esp, 0xc
test eax, eax
je 0x548422
mov ebx, dword [esp + 0x10]
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x548390
mov edx, dword [ebp]
sub esi, ecx
test edx, edx
je 0x5483b3
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5483a5
sub ecx, edi
add ecx, 2
jmp 0x5483b8
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x5f09c8]
mov edi, eax
add esp, 8
test edi, edi
je 0x548410
cmp dword [ebp], 0
jne 0x5483d5
mov byte [edi], 0
mov ecx, edi
mov dword [ebp], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5483e0
sub ecx, edx
je 0x548403
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x5483f0
mov ax, word [0x5a8858]
mov word [edi], ax
push esi
push ebx
push dword [ebp]
call fcn.005746f0
add esp, 0xc
push ebx
call dword [0x5f09cc]
add esp, 4
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push str.DhcpDomain
push dword [esp + 0x20]
call fcn.00547e70
add esp, 0xc
test eax, eax
je 0x5484e2
mov ebx, dword [esp + 0x10]
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x548450
mov edx, dword [ebp]
sub esi, ecx
test edx, edx
je 0x548473
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x548465
sub ecx, edi
add ecx, 2
jmp 0x548478
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x5f09c8]
mov edi, eax
add esp, 8
test edi, edi
je 0x5484d0
cmp dword [ebp], 0
jne 0x548495
mov byte [edi], 0
mov ecx, edi
mov dword [ebp], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5484a0
sub ecx, edx
je 0x5484c3
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x5484b0
mov ax, word [0x5a8858]
mov word [edi], ax
push esi
push ebx
push dword [ebp]
call fcn.005746f0
add esp, 0xc
push ebx
call dword [0x5f09cc]
add esp, 4
mov dword [esp + 0x10], 0
push dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x548290
push dword [esp + 0x14]
call ebx
mov ecx, dword [esp + 0x124]
xor eax, eax
cmp dword [ebp], eax
pop edi
pop esi
pop ebx
setne al
pop ebp
xor ecx, esp
call fcn.00551e44
add esp, 0x118
ret