Function at 0x4667d0
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Query or enumerate registry value
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642050
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x288
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3a0], 0x288
call fcn.005f12b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x39c], edi
test edi, edi
jne 0x466832
or eax, 0xffffffff
jmp 0x466c78
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x3a0]
push ecx
push edi
call esi
test eax, eax
je 0x46686a
push edi
call fcn.005f1260
mov edx, dword [ebp - 0x3a0]
add esp, 4
push edx
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x39c], eax
test eax, eax
je 0x46682a
mov edi, eax
lea eax, [ebp - 0x3a0]
push eax
push edi
call esi
mov esi, eax
test esi, esi
je 0x46688e
test edi, edi
je 0x466887
push edi
call fcn.005f1260
add esp, 4
mov eax, esi
jmp 0x466c78
mov esi, edi
mov dword [ebp - 0x398], esi
test edi, edi
je 0x466c76
jmp 0x4668a6
mov esi, dword [ebp - 0x398]
push 0x35c
lea ecx, [ebp - 0x394]
push 0
push ecx
call fcn.005ff630
mov edx, dword [esi + 0x19c]
add esp, 0xc
lea eax, [ebp - 0x394]
push eax
mov dword [ebp - 0x194], edx
call dword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
cmp dword [esi + 0x10c], 0x61774d56
lea eax, [esi + 0x10c]
mov dword [ebp - 0x3b0], eax
jne 0x466906
cmp byte [eax + 4], 0x72
jne 0x466906
cmp byte [eax + 5], 0x65
jne 0x466906
mov ecx, dword [esi]
mov dword [ebp - 0x398], ecx
jmp 0x466c60
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x466923
cmp eax, 0x47
je 0x466923
mov edx, dword [esi]
mov dword [ebp - 0x398], edx
jmp 0x466c60
push 0x338
call fcn.005f0fe0
add esp, 4
push 0x338
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x3a8], ebx
call fcn.005ff630
mov eax, dword [esi + 0x1a4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebx], ecx
lea edi, [ebx + 0x4c]
add esi, 8
mov dword [ebp - 0x3c0], edi
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3b0]
lea edi, [ebx + 0x254]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x398]
add esp, 0xc
push 0x40
add ebx, 0xc
lea ecx, [esi + 0x194]
call fcn.00466380
mov edx, dword [esi + 0x1b0]
mov edi, dword [ebp - 0x3a8]
mov dword [edi + 0x2d8], edx
mov eax, dword [esi + 0x1b4]
mov dword [edi + 0x2dc], eax
mov ecx, dword [esi + 0x1b8]
mov dword [edi + 0x2e0], ecx
mov edx, dword [esi + 0x1bc]
mov dword [edi + 0x2e4], edx
mov eax, dword [esi + 0x1d8]
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetPerAdapterInfo]
mov dword [edi + 0x2f0], eax
mov ecx, dword [esi + 0x1dc]
mov dword [edi + 0x2f4], ecx
mov edx, dword [esi + 0x1e0]
mov dword [edi + 0x2f8], edx
mov eax, dword [esi + 0x1e4]
mov dword [edi + 0x2fc], eax
mov ecx, dword [esi + 0x1a0]
add esp, 4
xor eax, eax
lea edx, [ebp - 0x3a4]
push edx
mov dword [edi + 8], ecx
push eax
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x3a4], eax
mov eax, dword [esi + 0x19c]
push eax
call ebx
cmp eax, 0x6f
jne 0x466a5e
mov ecx, dword [ebp - 0x3a4]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea edx, [ebp - 0x3a4]
push edx
push eax
mov dword [ebp - 0x398], eax
mov eax, dword [esi + 0x19c]
push eax
call ebx
test eax, eax
jne 0x466afe
mov ebx, dword [ebp - 0x398]
add ebx, 0xc
je 0x466afe
mov ecx, 0x6745b6
lea eax, [ebx + 4]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x466aa0
test dl, dl
je 0x466a9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x466aa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x466a80
xor eax, eax
jmp 0x466aa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x466afe
mov ecx, dword [ebx + 4]
mov dword [edi + 0x308], ecx
mov edx, dword [ebx + 8]
mov dword [edi + 0x30c], edx
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x310], eax
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x398]
mov dword [edi + 0x314], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x466afe
mov edx, dword [eax + 4]
mov dword [edi + 0x320], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x324], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x328], edx
mov eax, dword [eax + 0x10]
mov dword [edi + 0x32c], eax
mov eax, dword [ebp - 0x398]
test eax, eax
je 0x466b18
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x3c0]
push ecx
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea ecx, [ebp - 0x34]
call fcn.004d2ae0
add esp, 8
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x466b40
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x3bc]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x466bc6
push 0x104
call fcn.00563e10
mov edx, dword [ebp - 0x3bc]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x3ac]
push eax
push ebx
lea ecx, [ebp - 0x3c4]
push ecx
push 0
push 0x67a608
push edx
mov dword [ebp - 0x3ac], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x466bb7
mov eax, dword [ebp - 0x3ac]
push eax
push ebx
add edi, 0x150
push edi
call fcn.00602090
add esp, 0xc
test ebx, ebx
je 0x466bc4
push ebx
call fcn.005f0cb0
add esp, 4
xor ebx, ebx
lea ecx, [ebp - 0x3a8]
push ecx
mov ecx, dword [ebp - 0x3b8]
call fcn.004af650
cmp dword [ebp - 0x1c], 0x10
mov edx, dword [esi]
mov dword [ebp - 0x398], edx
jb 0x466bf2
mov eax, dword [ebp - 0x30]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
je 0x466c44
push 3
lea ecx, [ebp - 0x3b4]
call fcn.00564140
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], ebx
je 0x466c33
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x466c21
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x3b4]
mov dword [edx + 4], ebx
call fcn.00564180
mov eax, dword [ebp - 0x34]
push eax
call fcn.005f0cb0
mov edi, dword [ebp - 0x39c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ecx]
cmp dword [ebp - 0x398], 0
jne 0x4668a0
push edi
call fcn.005f1260
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret