Function at 0x417d80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x59bad0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x25], 0
call fcn.0041da9f
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x417dec
push 0x80004005
call fcn.004046e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], ebx
push ebx
push 0x572c7a
mov ecx, esi
call fcn.00404640
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x417e43
mov eax, dword [ebp - 0x48]
push eax
push str._s
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00407560
add esp, 0xc
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
lea ecx, [ebp - 0x64]
call fcn.0041ce9a
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0x288
push 0x288
call fcn.0041c2b5
add esp, 4
mov edi, eax
mov dword [ebp - 0x44], edi
cmp edi, ebx
jne 0x417eb2
mov eax, dword [0x5a3b14]
cmp eax, ebx
je 0x417e93
push str.WIF_:
push str._s_Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.0041ceb2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004043f0
xor al, al
jmp 0x4182f0
lea eax, [ebp - 0x40]
push eax
push edi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
call esi
cmp eax, 0x6f
jne 0x417f1f
push edi
call fcn.0041c2c0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0041c2b5
add esp, 8
mov dword [ebp - 0x44], eax
cmp eax, ebx
jne 0x417f1c
mov eax, dword [0x5a3b14]
cmp eax, ebx
je 0x417efd
push str.WIF_:
push str._s_Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.0041ceb2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004043f0
xor al, al
jmp 0x4182f0
mov edi, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
push edx
push edi
call esi
cmp eax, ebx
jne 0x41823d
mov eax, dword [0x5a3b14]
cmp eax, ebx
je 0x417f4e
push str.WIF_:
push str._s________________________________n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov ebx, edi
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x418261
lea esi, [ebx + 8]
push esi
lea ecx, [ebp - 0x38]
call fcn.00407920
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405180
test eax, eax
jne 0x418227
mov eax, dword [0x5a3b14]
test eax, eax
je 0x417ff0
mov ecx, dword [ebx + 4]
push ecx
push str.WIF_:
push str._s_ComboIndex:__t_d_n
push 0x100000
call fcn.00402f40
add esp, 0x10
mov eax, dword [0x5a3b14]
test eax, eax
je 0x417ff0
push esi
push str.WIF_:
push str._s_Adapter_Name:__t_s_n
push 0x100000
call fcn.00402f40
add esp, 0x10
mov eax, dword [0x5a3b14]
test eax, eax
je 0x417ff0
lea edx, [ebx + 0x10c]
push edx
push str.WIF_:
push str._s_Adapter_Desc:__t_s_n
push 0x40000
call fcn.00402f40
add esp, 0x10
mov eax, dword [0x5a3b14]
cmp dword [ebx + 0x1a4], 0
je 0x41820c
test eax, eax
je 0x418018
push str.WIF_:
push str._s__DHCP_Enabled:_Yes_n
push 0x40000
call fcn.00402f40
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00404380
mov byte [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x54], esi
cmp esi, dword [ebx + 0x190]
jae 0x418095
lea ecx, [ebp - 0x30]
call fcn.00404380
mov byte [ebp - 4], 6
mov eax, dword [ebx + 0x190]
dec eax
cmp esi, eax
jne 0x41805c
movzx ecx, byte [esi + ebx + 0x194]
push ecx
push str._02X
lea edx, [ebp - 0x30]
push edx
jmp 0x41806e
movzx eax, byte [esi + ebx + 0x194]
push eax
push str._02X_
lea ecx, [ebp - 0x30]
push ecx
call fcn.00407560
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.004064d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004043f0
inc esi
jmp 0x418026
mov eax, dword [0x5a3b14]
test eax, eax
je 0x4180e5
mov edx, dword [ebp - 0x34]
push edx
push str.WIF_:
push str._s_Adapter_Addr:__t_s_n
push 0x80000
call fcn.00402f40
add esp, 0x10
mov eax, dword [0x5a3b14]
test eax, eax
je 0x4180e5
mov ecx, dword [ebx + 0x19c]
push ecx
push str.WIF_:
push str._s_Index:__t_d_n
push 0x100000
call fcn.00402f40
add esp, 0x10
mov eax, dword [0x5a3b14]
lea edi, [ebx + 0x1ac]
mov dword [ebp - 0x58], edi
mov edi, edi
test edi, edi
je 0x4181ac
test eax, eax
je 0x41813b
lea edx, [edi + 4]
push edx
push str.WIF_:
push str._s_IP_Address:_t_s_n
push 0x40000
call fcn.00402f40
add esp, 0x10
mov eax, dword [0x5a3b14]
test eax, eax
je 0x41813b
lea ecx, [edi + 0x14]
push ecx
push str.WIF_:
push str._s_IP_Mask:____t_s_n
push 0x40000
call fcn.00402f40
add esp, 0x10
lea esi, [edi + 4]
push esi
lea ecx, [ebp - 0x4c]
call fcn.00407920
mov byte [ebp - 4], 7
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [ebp - 0x4c]
cmp dword [edx - 0xc], 0
je 0x4181d1
and eax, 0xffff0000
cmp eax, 0xa9fe0000
jne 0x4181d1
push esi
mov esi, dword [ebp - 0x50]
mov ecx, esi
call fcn.004078e0
mov byte [ebp - 0x25], 1
mov eax, dword [0x5a3b14]
test eax, eax
je 0x4181a0
mov ecx, dword [esi]
push ecx
push str.WIF_:
push str._s___APIPA_Address:__s_n
push 0x40000
call fcn.00402f40
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004043f0
mov ebx, dword [ebx]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004043f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004043f0
mov edi, dword [ebp - 0x44]
jmp 0x417f53
mov eax, dword [0x5a3b14]
test eax, eax
je 0x4181f1
push str.WIF_:
push str._s____Not_APIPA_Address_n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov edi, dword [edi]
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004043f0
mov eax, dword [0x5a3b14]
jmp 0x4180f0
test eax, eax
je 0x418227
push str.WIF_:
push str._s__DHCP_Enabled:_No_n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov ebx, dword [ebx]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004043f0
jmp 0x417f53
mov ecx, dword [0x5a3b14]
cmp ecx, ebx
je 0x418261
push eax
push str.WIF_:
push str._s__GetAdaptersInfo_failed_with_error:__d_n
push 0x40000
mov eax, ecx
call fcn.00402f40
add esp, 0x10
test edi, edi
je 0x41826e
push edi
call fcn.0041c2c0
add esp, 4
mov dword [ebp - 4], 1
call fcn.0041ceb2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4182ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4182ed
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051c462
mov esp, ebp
pop ebp
ret 0x14