Function at 0x4179d0
Capabilities:
Get mac address on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501be9
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5470bc]
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
mov dword [ebp - 0x120], esi
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.GetMac____r_n
mov dword [ebp - 0x124], 0
call ebx
xor eax, eax
mov dword [ebp - 0x54], 7
push eax
push 0x532808
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.004020c0
mov dword [ebp - 4], 0
push 0x288
mov dword [ebp - 0x11c], 0x288
call fcn.004e0498
mov edi, eax
add esp, 4
test edi, edi
jne 0x417a93
push str.malloc___failed__r_n
call ebx
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.00406900
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x417ca0
inc ecx
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x68]
call fcn.004024e0
jmp 0x417ca0
lea eax, [ebp - 0x11c]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x417ae2
push edi
call fcn.004de588
add esp, 4
push dword [ebp - 0x11c]
call fcn.004e0498
mov edi, eax
add esp, 4
test edi, edi
jne 0x417ae2
push str.malloc___failed__r_n
call ebx
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.00406900
lea ecx, [ebp - 0x68]
call fcn.00401ef0
jmp 0x417ca0
lea eax, [ebp - 0x11c]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x417bb1
mov ecx, edi
test edi, edi
je 0x417c51
nop dword [eax + eax]
cmp dword [ecx + 0x1a0], 6
jne 0x417b22
cmp dword [ecx + 0x190], 6
je 0x417b2d
mov ecx, dword [ecx]
test ecx, ecx
jne 0x417b10
jmp 0x417c51
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
lea eax, [ebp - 0x50]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.004154d0
add esp, 0x20
cmp word [ebp - 0x50], 0
jne 0x417b89
xor ecx, ecx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.004080f0
jmp 0x417c51
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417b90
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.004080f0
jmp 0x417c51
push 0xb0
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004d8530
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.0040fee0
push dword [ebp - 0x120]
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push ecx
push str.GetAdaptersInfo___failed__Error
push eax
call fcn.0041a8c0
add esp, 0xc
mov ecx, eax
call fcn.00419380
push eax
call fcn.00412e10
add esp, 4
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x118]
push eax
call fcn.0040fdd0
cmp dword [eax + 0x14], 0x10
jb 0x417c1b
mov eax, dword [eax]
push eax
call ebx
lea ecx, [ebp - 0x13c]
call fcn.004031b0
lea ecx, [ebp - 0xb0]
call fcn.0040fdf0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0xb0], vtable.std::ios_base.0
call fcn.0041ba11
add esp, 4
push edi
call fcn.004de588
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 4
mov word [esi], ax
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jae 0x417c92
mov eax, dword [ebp - 0x58]
add eax, 1
je 0x417c97
add eax, eax
push eax
lea eax, [ebp - 0x68]
push eax
push esi
call fcn.004d6680
mov ecx, dword [ebp - 0x54]
add esp, 0xc
jmp 0x417c97
mov eax, dword [ebp - 0x68]
mov dword [esi], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, esi
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.004264c2
mov esp, ebp
pop ebp
ret