Function at 0x458be0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 0x64c], ecx
push str.SYSTEMControlSet001ServicesTcpipParameters
lea eax, [ebp - 0x218]
push eax
call fcn.0042d275
add esp, 8
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x218]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x458cd1
mov dword [ebp - 0x220], 0x100
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x64c]
add ecx, 8
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push str.Domain
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x220], 0x100
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x64c]
add edx, 0x28
push edx
lea eax, [ebp - 0x21c]
push eax
push 0
push str.Hostname
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x220], 0x100
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x64c]
add eax, 0x48
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push str.IPEnableRouter
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x64c]
add ecx, 0x3c90
push ecx
mov ecx, dword [ebp - 0x64c]
call fcn.00458300
mov edx, dword [ebp - 0x64c]
mov dword [edx + 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x458d3e
cmp dword [ebp - 0xc], 0
je 0x458d37
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x459226
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x100
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x459213
mov edx, dword [ebp - 0x64c]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c18f
add esp, 4
mov dword [ebp - 0x644], eax
mov eax, dword [ebp - 0x644]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], 0
jmp 0x458dd5
mov ecx, dword [ebp - 0x22c]
add ecx, 1
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x22c]
cmp edx, dword [ebp - 0x10]
jge 0x4591f8
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x43c], 0x100
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x228], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4590cc
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x22c]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x64c]
lea edx, [ecx + eax + 0x50]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
push str.Description
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x43c], 0x100
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0
push str.ServiceName
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4590cc
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str._sInterfaces_s
lea edx, [ebp - 0x640]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x440]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x640]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4590bf
mov dword [ebp - 0x43c], 0x100
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x22c]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x64c]
lea edx, [ecx + eax + 0x256]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
push str.DefaultGateway
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x22c]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x64c]
lea edx, [ecx + eax + 0x256]
push edx
mov ecx, dword [ebp - 0x64c]
call fcn.00458210
mov dword [ebp - 0x43c], 0x100
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x22c]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x64c]
lea eax, [edx + ecx + 0x356]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0
push str.IPAddress
mov edx, dword [ebp - 0x440]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x22c]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x64c]
lea eax, [edx + ecx + 0x356]
push eax
mov ecx, dword [ebp - 0x64c]
call fcn.00458210
mov dword [ebp - 0x43c], 0x100
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x22c]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x64c]
lea ecx, [eax + edx + 0x456]
push ecx
lea edx, [ebp - 0x230]
push edx
push 0
push str.SubnetMask
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x22c]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x64c]
lea ecx, [eax + edx + 0x456]
push ecx
mov ecx, dword [ebp - 0x64c]
call fcn.00458210
mov dword [ebp - 0x43c], 0x100
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x22c]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x64c]
lea edx, [ecx + eax + 0x556]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
push str.NameServer
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x440]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x22c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x22c]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x64c]
mov cl, byte [esi + ecx + 0x3c90]
mov byte [eax + edx + 0x250], cl
mov edx, dword [ebp - 0x22c]
imul edx, edx, 6
mov eax, dword [ebp - 0x22c]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x64c]
mov dl, byte [esi + edx + 0x3c91]
mov byte [ecx + eax + 0x251], dl
mov eax, dword [ebp - 0x22c]
imul eax, eax, 6
mov ecx, dword [ebp - 0x22c]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x64c]
mov al, byte [esi + eax + 0x3c92]
mov byte [edx + ecx + 0x252], al
mov ecx, dword [ebp - 0x22c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x22c]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x64c]
mov cl, byte [esi + ecx + 0x3c93]
mov byte [eax + edx + 0x253], cl
mov edx, dword [ebp - 0x22c]
imul edx, edx, 6
mov eax, dword [ebp - 0x22c]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x64c]
mov dl, byte [esi + edx + 0x3c94]
mov byte [ecx + eax + 0x254], dl
mov eax, dword [ebp - 0x22c]
imul eax, eax, 6
mov ecx, dword [ebp - 0x22c]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x64c]
mov al, byte [esi + eax + 0x3c95]
mov byte [edx + ecx + 0x255], al
jmp 0x458dc6
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x648], ecx
mov edx, dword [ebp - 0x648]
push edx
call fcn.0040c184
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret