Function at 0x425d00
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54466c
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x178
mov dword [ebp - 0x150], 0
push 0
mov dword [ebp - 0x148], 0x178
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x154], ebx
test ebx, ebx
jne 0x425d80
push str.GetAdapterInfoEx
push str._E__s__:_Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.00427e30
add esp, 8
mov eax, 1
jmp 0x426493
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [ebp - 0x148]
push eax
push ebx
push 0
push 0x10
push 0
call edi
cmp eax, 0x6f
jne 0x425dc6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x148]
push 0
call ebx
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x154], eax
test ebx, ebx
je 0x425d64
lea ecx, [ebp - 0x140]
call fcn.00407c50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x148]
push eax
push ebx
push 0
push 0x10
push 0
call edi
test eax, eax
jne 0x426458
mov dword [ebp - 0x144], ebx
cmp dword [ebp - 0x154], eax
je 0x42647f
mov ecx, 0x55faaf
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x168]
push 0
push 0
sub esp, 8
call fcn.004131b0
or esi, 1
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x150], esi
mov edx, dword [ebx + 0x24]
call fcn.00420e60
mov byte [ebp - 4], 2
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x14c], esp
xorps xmm0, xmm0
mov ecx, eax
mov byte [edi], 0
movq qword [edi + 8], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
push eax
call fcn.0040b230
movzx ecx, byte [edi]
add esp, 4
mov esi, eax
push ecx
lea ecx, [edi + 8]
call fcn.00407fc0
push esi
mov byte [edi], 3
call fcn.0040b230
add esp, 4
push eax
call fcn.0040b230
add esp, 4
mov ecx, eax
call fcn.0040ed90
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
push str.AdapterDesc
call fcn.0040ac00
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004077a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a8]
call fcn.00407b50
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x1c0]
mov edx, dword [edx + 0x28]
call fcn.00420e60
mov byte [ebp - 4], 4
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x14c], esp
xorps xmm0, xmm0
mov ecx, eax
mov byte [edi], 0
movq qword [edi + 8], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
push eax
call fcn.0040b230
movzx ecx, byte [edi]
add esp, 4
mov esi, eax
push ecx
lea ecx, [edi + 8]
call fcn.00407fc0
push esi
mov byte [edi], 3
call fcn.0040b230
add esp, 4
push eax
call fcn.0040b230
add esp, 4
mov ecx, eax
call fcn.0040ed90
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
push str.Type
call fcn.0040ac00
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.004077a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
call fcn.00407b50
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x426080
nop word [eax + eax]
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x140]
call fcn.00425c00
sub eax, 0
je 0x42601e
sub eax, 1
jne 0x426075
sub esp, 0x10
lea ecx, [ebp - 0x140]
mov esi, esp
mov dword [ebp - 0x14c], esp
xorps xmm0, xmm0
mov byte [esi], al
movq qword [esi + 8], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov edx, eax
mov ecx, esi
call fcn.0040ebe0
mov byte [ebp - 4], 7
push str.IPV6Address
jmp 0x42605f
sub esp, 0x10
lea ecx, [ebp - 0x140]
mov esi, esp
mov dword [ebp - 0x14c], esp
xorps xmm0, xmm0
mov byte [esi], 0
movq qword [esi + 8], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov edx, eax
mov ecx, esi
call fcn.0040ebe0
mov byte [ebp - 4], 6
push str.IPAddress
lea ecx, [ebp - 0x168]
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
mov edi, dword [edi + 8]
test edi, edi
jne 0x425fc0
push str.DNSServer
lea ecx, [ebp - 0x168]
call fcn.0040ac00
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x42619d
nop dword [eax + eax]
lea ecx, [esi + 0xc]
lea edx, [ebp - 0x140]
call fcn.00425c00
sub eax, 0
je 0x426125
sub eax, 1
jne 0x426192
xorps xmm0, xmm0
mov byte [ebp - 0x180], al
lea ecx, [ebp - 0x140]
movq qword [ebp - 0x178], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov edx, eax
lea ecx, [ebp - 0x180]
call fcn.0040ebe0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x180]
push eax
push ecx
push str.DNSServer
lea ecx, [ebp - 0x168]
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.004264b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
jmp 0x42618d
xorps xmm0, xmm0
mov byte [ebp - 0x190], 0
lea ecx, [ebp - 0x140]
movq qword [ebp - 0x188], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov edx, eax
lea ecx, [ebp - 0x190]
call fcn.0040ebe0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x190]
push eax
push ecx
push str.DNSServer
lea ecx, [ebp - 0x168]
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.004264b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x190]
call fcn.00407760
mov esi, dword [esi + 8]
test esi, esi
jne 0x4260a0
sub esp, 0x10
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0x14c], esp
mov byte [esi], 0
lea ecx, [esi + 8]
movq qword [esi + 8], xmm0
movzx eax, byte [esi]
push eax
call fcn.00407fc0
mov ecx, dword [ebp - 0x16c]
mov byte [esi], 3
call fcn.0040b350
mov dword [esi + 8], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x168]
push str.Gateway
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
mov edi, dword [ebx + 0xa4]
test edi, edi
je 0x4262d2
nop dword [eax]
push str.GetAdapterInfoEx
push str._I__s__:_GetAdapterInfoEx_Gateway
call fcn.00427e30
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x140]
call fcn.00425c00
sub eax, 0
je 0x426270
sub eax, 1
jne 0x4262c7
sub esp, 0x10
lea ecx, [ebp - 0x140]
mov esi, esp
mov dword [ebp - 0x14c], esp
xorps xmm0, xmm0
mov byte [esi], al
movq qword [esi + 8], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov edx, eax
mov ecx, esi
call fcn.0040ebe0
mov byte [ebp - 4], 0xc
push str.GatewayIPV6
jmp 0x4262b1
sub esp, 0x10
lea ecx, [ebp - 0x140]
mov esi, esp
mov dword [ebp - 0x14c], esp
xorps xmm0, xmm0
mov byte [esi], 0
movq qword [esi + 8], xmm0
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov ecx, eax
call fcn.00408f80
mov edx, eax
mov ecx, esi
call fcn.0040ebe0
mov byte [ebp - 4], 0xb
push str.Gateway
lea ecx, [ebp - 0x168]
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
mov edi, dword [edi + 8]
test edi, edi
jne 0x426200
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00516f30
mov eax, dword [ebx + 0x34]
add esp, 0xc
test eax, eax
je 0x4263e0
xor esi, esi
test eax, eax
je 0x426334
nop dword [eax]
dec eax
cmp esi, eax
movzx eax, byte [esi + ebx + 0x2c]
push eax
lea eax, [ebp - 0x118]
push eax
jne 0x426319
push str._s_.2X
jmp 0x42631e
push str._s_.2X_
push 0x104
push eax
call fcn.0040f000
mov eax, dword [ebx + 0x34]
inc esi
add esp, 0x14
cmp esi, eax
jb 0x426300
sub esp, 0x10
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0x14c], esp
lea edi, [esi + 8]
mov ecx, edi
mov byte [esi], 0
movq qword [edi], xmm0
movzx eax, byte [esi]
push eax
call fcn.00407fc0
xorps xmm0, xmm0
mov byte [esi], 3
push 0x18
movlpd qword [ebp - 0x128], xmm0
call fcn.004c63be
add esp, 4
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x119]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x128], eax
call fcn.00408f80
mov esi, dword [eax]
mov dword [ebp - 0x124], esi
mov byte [ebp - 4], 0xd
push esi
push 0x18
call fcn.00404230
add esp, 8
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.00407c10
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 1
mov dword [edi], esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x168]
push 0x568cc8
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
lea eax, [ebp - 0x118]
push eax
push str.GetAdapterInfoEx
push str._I__s__:_GetAdapterInfoEx:__s_n
call fcn.00427e30
lea ecx, [ebp - 0x118]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426402
sub ecx, edx
cmp ecx, 0xa
jbe 0x426421
lea eax, [ebp - 0x168]
mov ecx, 0x5a60a8
push eax
call fcn.00407510
mov esi, dword [ebp - 0x150]
mov ebx, dword [ebx + 8]
and esi, 0xfffffffe
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00407760
test ebx, ebx
jne 0x425e30
mov ebx, dword [ebp - 0x154]
jmp 0x42646b
push eax
push str.GetAdapterInfoEx
push str._E__s__:_GetAdaptersAddresses_failed_with_error:__d_n
call fcn.00427e30
add esp, 0xc
test ebx, ebx
je 0x42647f
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00407b50
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 - 0x10]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret