Function at 0x41c920
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4933c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4ae23c]
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
mov esi, dword [ebp + 8]
xor edi, edi
push 0xc
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], edi
call fcn.00461610
mov ebx, eax
add esp, 4
mov dword [ebp - 0x34], ebx
cmp ebx, edi
je 0x41cb8d
mov dword [ebx], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebx + 4], ebx
push 0x288
mov dword [ebp - 4], edi
call fcn.00463d76
mov edi, eax
add esp, 4
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41c9ba
push edi
call fcn.0046247d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00463d76
add esp, 8
mov dword [ebp - 0x38], eax
mov edi, eax
lea edx, [ebp - 0x2c]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x41cb0b
test edi, edi
je 0x41cb49
mov eax, dword [0x4ae00c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ae00c
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [edi + 0x190], esi
jbe 0x41ca59
jmp 0x41ca00
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [ebp - 0x20]
push 0x4986d8
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x41ca2e
push 1
push 0x4986d4
lea ecx, [ebp - 0x24]
call fcn.004016f0
lea eax, [ebp - 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ca34
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x24]
call fcn.004016f0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x41ca00
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x41cad8
lea ebx, [edi + 8]
mov dword [ebp - 0x30], 1
call fcn.0041c030
test eax, eax
je 0x41caa6
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebx]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x24]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.0041bed0
mov ecx, dword [ebx + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x41cb83
inc ecx
mov dword [ebx + 4], ecx
mov ebx, dword [ebp - 0x34]
jmp 0x41cad0
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
push eax
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0041bed0
mov edx, 0x3ffffffe
sub edx, dword [ebp - 0x44]
cmp edx, 1
jb 0x41cb83
inc dword [ebp - 0x44]
mov ebx, esi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov edi, dword [edi]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cafd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x41c9d4
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x41cb18
push edi
call fcn.0046247d
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x41cb49
cmp dword [esi + 4], 0
jne 0x41cb49
lea ecx, [ebp - 0x48]
cmp esi, ecx
je 0x41cb49
mov edi, dword [ebp - 0x28]
mov esi, dword [ebx]
mov ecx, edi
call fcn.0041c680
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi]
mov eax, dword [eax]
push edx
push ebx
push esi
push eax
mov ecx, edi
call fcn.0041c6e0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.0041c680
mov eax, dword [ebp - 0x48]
push eax
call fcn.00460f43
mov eax, dword [ebp - 0x30]
add esp, 4
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.004615db
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0045f536
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], edi
call fcn.00461729
push 0x4a47f8
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], vtable.std::bad_alloc.0
call fcn.00460f4e
int3