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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e168
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
or edi, 0xffffffff
push edi
push 0x587f88
lea ecx, [ebp - 0x10]
call fcn.00567811
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], ebx
call sub.IPHLPAPI.DLL_GetNetworkParams
cmp eax, ebx
je 0x404228
cmp eax, 0x6f
je 0x404228
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
call fcn.005685da
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 4
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ecx
push 0x40
call esi
cmp eax, ebx
je 0x404207
lea edx, [ebp - 0x1c]
push edx
push ebx
mov dword [ebp - 0x1c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
je 0x404250
cmp eax, 0x6f
jne 0x404207
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call esi
mov edi, eax
cmp edi, ebx
jne 0x404283
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005685da
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 4
lea ecx, [ebp - 0x1c]
push ecx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
jne 0x40425e
mov bl, 2
jmp 0x4042a0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
lea esi, [edi + 8]
push esi
call fcn.00401440
test eax, eax
jne 0x4042cc
mov ecx, dword [ebp - 0x24]
push esi
call fcn.00401580
test eax, eax
je 0x40437b
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x404362
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], bl
mov edx, dword [edi + 0x190]
dec edx
cmp esi, edx
jne 0x404303
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea ecx, [ebp - 0x14]
push ecx
jmp 0x404315
movzx edx, byte [edi + esi + 0x194]
push edx
push str._.2X_
lea eax, [ebp - 0x14]
push eax
call fcn.00567fb2
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00401250
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call fcn.005682a1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.005685da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.005685da
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4042da
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0056834a
push 0x588188
lea ecx, [ebp - 0x10]
call fcn.00568305
mov edi, dword [edi]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.005685da
test edi, edi
jne 0x4042a0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40439d
mov eax, dword [eax + 4]
jmp 0x40439f
xor eax, eax
dec eax
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x10]
call fcn.00568476
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.005682a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.005685da
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xc]
test eax, eax
jne 0x4043d5
mov edx, 0x587f88
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043e0
mov ecx, dword [ebp + 8]
sub eax, esi
push eax
push edx
call fcn.004039c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005685da
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 4