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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57adf0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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 0x5951e6
lea ecx, [ebp - 0x10]
call fcn.0056bf21
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 0x40c837
cmp eax, 0x6f
je 0x40c837
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0056bf07
mov dword [ebp - 4], edi
lea ecx, [ebp + 0xc]
call fcn.0056bf07
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 0x40c80b
lea edx, [ebp - 0x1c]
push edx
push ebx
mov dword [ebp - 0x1c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
je 0x40c85f
cmp eax, 0x6f
jne 0x40c80b
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call esi
mov edi, eax
cmp edi, ebx
jne 0x40c89d
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0056bf07
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 0x40c86d
jmp 0x40c8b0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
lea esi, [edi + 8]
push esi
call fcn.0040a190
cmp eax, ebx
jne 0x40c8d8
mov ecx, dword [ebp - 0x24]
push esi
call fcn.0040a2d0
cmp eax, ebx
je 0x40c98e
xor esi, esi
cmp dword [edi + 0x190], ebx
jbe 0x40c976
jmp 0x40c8f0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x190]
dec edx
cmp esi, edx
jne 0x40c916
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea ecx, [ebp - 0x14]
push ecx
jmp 0x40c928
movzx edx, byte [edi + esi + 0x194]
push edx
push str._.2X_
lea eax, [ebp - 0x14]
push eax
call fcn.0056c780
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00409cd0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0056ca70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0056bf07
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0056bf07
inc esi
cmp esi, dword [edi + 0x190]
jb 0x40c8f0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0056cb19
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.0056cb19
mov edi, dword [edi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0056bf07
cmp edi, ebx
jne 0x40c8b0
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40c9b0
mov eax, dword [eax + 4]
jmp 0x40c9b2
xor eax, eax
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0056cc45
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.0056ca70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0056bf07
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xc]
cmp eax, ebx
jne 0x40c9e8
mov edx, 0x5951e6
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c9f0
mov ecx, dword [ebp + 8]
sub eax, esi
push eax
push edx
call fcn.00405c50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0056bf07
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