Function at 0x409a80
Capabilities:
Get mac address on windows
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575000
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
or edi, 0xffffffff
push edi
push 0x58e1fe
lea ecx, [ebp - 0x10]
call fcn.00567cd2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], ebx
call sub.IPHLPAPI.DLL_GetNetworkParams
cmp eax, ebx
je 0x409b07
cmp eax, 0x6f
je 0x409b07
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00567cb8
mov dword [ebp - 4], edi
lea ecx, [ebp + 0xc]
call fcn.00567cb8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ecx
push 0x40
call esi
cmp eax, ebx
je 0x409adb
lea edx, [ebp - 0x1c]
push edx
push ebx
mov dword [ebp - 0x1c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
je 0x409b2f
cmp eax, 0x6f
jne 0x409adb
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call esi
mov edi, eax
cmp edi, ebx
jne 0x409b6d
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00567cb8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00567cb8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1c]
push ecx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
jne 0x409b3d
jmp 0x409b80
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
lea esi, [edi + 8]
push esi
call fcn.00407900
cmp eax, ebx
jne 0x409ba8
mov ecx, dword [ebp - 0x24]
push esi
call fcn.00407a40
cmp eax, ebx
je 0x409c5e
xor esi, esi
cmp dword [edi + 0x190], ebx
jbe 0x409c46
jmp 0x409bc0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x190]
dec edx
cmp esi, edx
jne 0x409be6
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea ecx, [ebp - 0x14]
push ecx
jmp 0x409bf8
movzx edx, byte [edi + esi + 0x194]
push edx
push str._.2X_
lea eax, [ebp - 0x14]
push eax
call fcn.00568568
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004072b0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00568858
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00567cb8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00567cb8
inc esi
cmp esi, dword [edi + 0x190]
jb 0x409bc0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00568901
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00568901
mov edi, dword [edi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00567cb8
cmp edi, ebx
jne 0x409b80
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x409c80
mov eax, dword [eax + 4]
jmp 0x409c82
xor eax, eax
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.00568a2d
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.00568858
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00567cb8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xc]
cmp eax, ebx
jne 0x409cb8
mov edx, 0x58e1fe
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x409cc0
mov ecx, dword [ebp + 8]
sub eax, esi
push eax
push edx
call fcn.004035a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00567cb8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00567cb8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8