Function at 0x44c650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x501230]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], eax
mov dword [edi], eax
call fcn.00451220
cmp eax, 3
je 0x44c698
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.WSOCK32.dll_bind
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44c7c5
push edi
push str.SearchList
push dword [ebp - 0x110]
call fcn.0044c5b0
lea eax, [ebp - 0x108]
push eax
push str.Domain
push dword [ebp - 0x110]
call fcn.0044c5b0
add esp, 0x18
test eax, eax
je 0x44c7bd
mov ebx, dword [ebp - 0x108]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44c706
mov edx, dword [edi]
sub esi, ecx
test edx, edx
je 0x44c72e
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c720
sub ecx, edi
add ecx, 2
jmp 0x44c733
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x501138]
mov edi, eax
add esp, 8
test edi, edi
je 0x44c797
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x44c755
mov byte [edi], 0
mov ecx, edi
mov dword [eax], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c760
sub ecx, edx
je 0x44c78b
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44c770
mov ecx, dword [ebp - 0x10c]
mov ax, word [0x4e7a74]
mov word [edi], ax
mov edi, dword [ecx]
push esi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push ebx
call dword [0x50113c]
mov edi, dword [ebp - 0x10c]
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x108], 0
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftWindows_NTDNSClient
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x44c8bf
lea eax, [ebp - 0x108]
push eax
push str.SearchList
push dword [ebp - 0x110]
call fcn.0044c5b0
add esp, 0xc
test eax, eax
je 0x44c8b7
mov ebx, dword [ebp - 0x108]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44c814
mov edx, dword [edi]
sub esi, ecx
test edx, edx
je 0x44c836
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c828
sub ecx, edi
add ecx, 2
jmp 0x44c83b
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x501138]
mov edi, eax
add esp, 8
test edi, edi
je 0x44c897
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x44c85d
mov byte [edi], 0
mov ecx, edi
mov dword [eax], edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c864
sub ecx, edx
je 0x44c88b
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44c870
mov ax, word [0x4e7a74]
mov word [edi], ax
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax]
push esi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push ebx
call dword [0x50113c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x108], 0
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SoftwarePoliciesMicrosoftSystemDNSClient
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x44c9cf
lea eax, [ebp - 0x108]
push eax
push str.PrimaryDNSSuffix
push dword [ebp - 0x110]
call fcn.0044c5b0
add esp, 0xc
test eax, eax
je 0x44c9c7
mov ebx, dword [ebp - 0x108]
mov esi, ebx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x44c910
mov eax, dword [ebp - 0x10c]
sub esi, ecx
mov edx, dword [eax]
test edx, edx
je 0x44c93e
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c930
sub ecx, edi
add ecx, 2
jmp 0x44c943
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x501138]
mov edi, eax
add esp, 8
test edi, edi
je 0x44c9a7
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x44c965
mov byte [edi], 0
mov ecx, edi
mov dword [eax], edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c970
sub ecx, edx
je 0x44c99b
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44c980
mov ax, word [0x4e7a74]
mov word [edi], ax
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax]
push esi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push ebx
call dword [0x50113c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x108], 0
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParametersInterfaces
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x44cd12
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44cd0a
inc dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push eax
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x110]
call esi
test eax, eax
jne 0x44cccf
lea eax, [ebp - 0x108]
push eax
push str.SearchList
push dword [ebp - 0x114]
call fcn.0044c5b0
add esp, 0xc
test eax, eax
je 0x44cb1b
mov ebx, dword [ebp - 0x108]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44ca78
mov eax, dword [ebp - 0x10c]
sub esi, ecx
mov edx, dword [eax]
test edx, edx
je 0x44caa0
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ca92
sub ecx, edi
add ecx, 2
jmp 0x44caa5
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x501138]
mov edi, eax
add esp, 8
test edi, edi
je 0x44cb07
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x44cac7
mov byte [edi], 0
mov ecx, edi
mov dword [eax], edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cad0
sub ecx, edx
je 0x44cafb
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44cae0
mov ax, word [0x4e7a74]
mov word [edi], ax
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax]
push esi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push ebx
call dword [0x50113c]
add esp, 4
mov dword [ebp - 0x108], 0
lea eax, [ebp - 0x108]
push eax
push str.Domain
push dword [ebp - 0x114]
call fcn.0044c5b0
add esp, 0xc
test eax, eax
je 0x44cbeb
mov ebx, dword [ebp - 0x108]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44cb48
mov eax, dword [ebp - 0x10c]
sub esi, ecx
mov edx, dword [eax]
test edx, edx
je 0x44cb70
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cb62
sub ecx, edi
add ecx, 2
jmp 0x44cb75
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x501138]
mov edi, eax
add esp, 8
test edi, edi
je 0x44cbd7
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x44cb97
mov byte [edi], 0
mov ecx, edi
mov dword [eax], edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cba0
sub ecx, edx
je 0x44cbcb
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44cbb0
mov ax, word [0x4e7a74]
mov word [edi], ax
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax]
push esi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push ebx
call dword [0x50113c]
add esp, 4
mov dword [ebp - 0x108], 0
lea eax, [ebp - 0x108]
push eax
push str.DhcpDomain
push dword [ebp - 0x114]
call fcn.0044c5b0
add esp, 0xc
test eax, eax
je 0x44ccbb
mov ebx, dword [ebp - 0x108]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44cc18
mov eax, dword [ebp - 0x10c]
sub esi, ecx
mov edx, dword [eax]
test edx, edx
je 0x44cc40
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cc32
sub ecx, edi
add ecx, 2
jmp 0x44cc45
mov ecx, 1
lea eax, [ecx + esi]
push eax
push edx
call dword [0x501138]
mov edi, eax
add esp, 8
test edi, edi
je 0x44cca7
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x44cc67
mov byte [edi], 0
mov ecx, edi
mov dword [eax], edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cc70
sub ecx, edx
je 0x44cc9b
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44cc80
mov ax, word [0x4e7a74]
mov word [edi], ax
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax]
push esi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push ebx
call dword [0x50113c]
add esp, 4
mov dword [ebp - 0x108], 0
push dword [ebp - 0x114]
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, [ebp - 0x118]
mov dword [ebp - 0x118], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x11c]
push eax
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x44ca23
push dword [ebp - 0x110]
call ebx
mov ecx, dword [ebp - 0x10c]
xor eax, eax
pop esi
pop ebx
pop edi
cmp dword [ecx], eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret