Function at 0x407bd0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cd18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x478584]
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, ecx
xor edi, edi
push 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], edi
call fcn.0043e28a
mov ebx, eax
add esp, 4
mov dword [ebp - 0x34], ebx
cmp ebx, edi
je 0x407e44
mov dword [ebx], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebx + 4], ebx
mov dword [ebp - 4], 2
push 0x288
call fcn.0043fa92
mov edi, eax
add esp, 4
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x407c6d
push edi
call fcn.0043e47a
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0043fa92
add esp, 8
mov dword [ebp - 0x28], eax
mov edi, eax
lea edx, [ebp - 0x30]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x407dbb
test edi, edi
je 0x407df9
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x407d09
lea ebx, [ebx]
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [ebp - 0x20]
push 0x45eb88
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x407cde
push 1
push 0x45eb84
lea ecx, [ebp - 0x24]
call fcn.004018e0
lea eax, [ebp - 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407ce4
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x24]
call fcn.004018e0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x407cb0
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x407d88
lea ebx, [edi + 8]
mov dword [ebp - 0x2c], 1
call fcn.00406de0
test eax, eax
je 0x407d56
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebx]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x24]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.00404f00
mov ecx, dword [ebx + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x407e3a
inc ecx
mov dword [ebx + 4], ecx
mov ebx, dword [ebp - 0x34]
jmp 0x407d80
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
push eax
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00404f00
mov edx, 0x3ffffffe
sub edx, dword [ebp - 0x40]
cmp edx, 1
jb 0x407e3a
inc dword [ebp - 0x40]
mov ebx, esi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edi, dword [edi]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x407c87
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x38]
test edi, edi
je 0x407dc8
push edi
call fcn.0043e47a
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x407df9
cmp dword [esi + 4], 0
jne 0x407df9
lea ecx, [ebp - 0x44]
cmp esi, ecx
je 0x407df9
mov edi, dword [ebp - 0x38]
mov esi, dword [ebx]
mov ecx, edi
call fcn.00405460
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi]
mov eax, dword [eax]
push edx
push ebx
push esi
push eax
mov ecx, edi
call fcn.00407b20
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00405460
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
push eax
call fcn.0043d995
mov eax, dword [ebp - 0x2c]
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.0043dfbe
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0043cea5
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], edi
call fcn.0043ea8a
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
mov dword [ebp - 4], 0xffffffff
push 0x46ba34
lea edx, [ebp - 0x1c]
push edx
call fcn.0043d9a0
int3