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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 0x444], ecx
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesVxDMSTCP
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x458590
mov dword [ebp - 0x224], 0x100
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x444]
add edx, 8
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0x46bd30
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], 0x100
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x444]
add eax, 0x28
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0x46bd40
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], 0x100
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x444]
add ecx, 0x4c
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push str.EnableDNS
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], 0x100
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0x46bd68
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x444]
add eax, 0x3c90
push eax
mov ecx, dword [ebp - 0x444]
call fcn.00458300
mov ecx, dword [ebp - 0x444]
mov dword [ecx + 4], eax
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
push str.SystemCurrentControlSetServicesClassNet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x458605
cmp dword [ebp - 8], 0
je 0x4585fe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x458a8f
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0x100
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x458a79
mov eax, dword [ebp - 4]
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 - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x230], 0
jmp 0x45869c
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x230]
cmp eax, dword [edx + 4]
jge 0x458a79
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x43c], 0x100
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x22c], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x45895a
lea eax, [ebp - 0x238]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x458772
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x444]
lea eax, [edx + ecx + 0x50]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0
push str.DriverDesc
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x228]
push ecx
push str.SystemCurrentControlSetServicesClassNetTrans_s
lea edx, [ebp - 0x438]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x438]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x45894d
mov dword [ebp - 0x43c], 0x100
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x230]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x444]
lea edx, [ecx + eax + 0x256]
push edx
lea eax, [ebp - 0x234]
push eax
push 0
push 0x46be58
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x230]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x444]
lea edx, [ecx + eax + 0x256]
push edx
mov ecx, dword [ebp - 0x444]
call fcn.00458210
mov dword [ebp - 0x43c], 0x100
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x444]
lea eax, [edx + ecx + 0x356]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0
push 0x46be78
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x444]
lea eax, [edx + ecx + 0x356]
push eax
mov ecx, dword [ebp - 0x444]
call fcn.00458210
mov dword [ebp - 0x43c], 0x100
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x230]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x444]
lea ecx, [eax + edx + 0x456]
push ecx
lea edx, [ebp - 0x234]
push edx
push 0
push str.IPMask
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x230]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x444]
lea ecx, [eax + edx + 0x456]
push ecx
mov ecx, dword [ebp - 0x444]
call fcn.00458210
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x230]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x444]
lea edx, [ecx + eax + 0x556]
push edx
call fcn.0042d275
add esp, 8
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x230]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x444]
mov cl, byte [esi + ecx + 0x3c90]
mov byte [eax + edx + 0x250], cl
mov edx, dword [ebp - 0x230]
imul edx, edx, 6
mov eax, dword [ebp - 0x230]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x444]
mov dl, byte [esi + edx + 0x3c91]
mov byte [ecx + eax + 0x251], dl
mov eax, dword [ebp - 0x230]
imul eax, eax, 6
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x444]
mov al, byte [esi + eax + 0x3c92]
mov byte [edx + ecx + 0x252], al
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x230]
imul edx, edx, 0x606
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x444]
mov cl, byte [esi + ecx + 0x3c93]
mov byte [eax + edx + 0x253], cl
mov edx, dword [ebp - 0x230]
imul edx, edx, 6
mov eax, dword [ebp - 0x230]
imul eax, eax, 0x606
mov ecx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x444]
mov dl, byte [esi + edx + 0x3c94]
mov byte [ecx + eax + 0x254], dl
mov eax, dword [ebp - 0x230]
imul eax, eax, 6
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x606
mov edx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x444]
mov al, byte [esi + eax + 0x3c95]
mov byte [edx + ecx + 0x255], al
jmp 0x45868d
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x21c], 0
sete al
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret