Function at 0x58bbd0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62003e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1cc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x288
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005df5a2
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6f
jne 0x58bc5a
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005e06d6
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005df5a2
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
jmp 0x58bd0f
cmp dword [ebp - 0x14], 0
je 0x58bd0f
lea edx, [ebp - 0x125]
mov dword [ebp - 0x124], edx
push 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.004028c0
mov dword [ebp - 0x1b0], str.cannot_get_network_adapter_list
mov eax, dword [ebp - 0x1b0]
add eax, 1
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b0]
mov dl, byte [ecx]
mov byte [ebp - 0x1b5], dl
add dword [ebp - 0x1b0], 1
cmp byte [ebp - 0x1b5], 0
jne 0x58bc95
mov eax, dword [ebp - 0x1b0]
sub eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
push str.cannot_get_network_adapter_list
lea ecx, [ebp - 0x7c]
call fcn.00402910
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x60]
call fcn.00564200
push 0x6a3798
lea eax, [ebp - 0x60]
push eax
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004028c0
mov dword [ebp - 4], 1
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x58bd89
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x58bd84
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
jne 0x58bd84
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x1a0], 6
jne 0x58bd7a
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x190], 6
jne 0x58bd7a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x194
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005e3990
add esp, 0xc
mov byte [ebp - 0x21], 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x58bd31
jmp 0x58be40
lea ecx, [ebp - 0x155]
mov dword [ebp - 0x154], ecx
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.004028c0
mov dword [ebp - 0x1c0], str.cannot_get_network_adapter_list
mov edx, dword [ebp - 0x1c0]
add edx, 1
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c0]
mov cl, byte [eax]
mov byte [ebp - 0x1c5], cl
add dword [ebp - 0x1c0], 1
cmp byte [ebp - 0x1c5], 0
jne 0x58bdbd
mov edx, dword [ebp - 0x1c0]
sub edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x1cc]
push eax
push str.cannot_get_network_adapter_list
lea ecx, [ebp - 0xc8]
call fcn.00402910
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00564200
push 0x6a3798
lea edx, [ebp - 0xac]
push edx
call fcn.005ecf53
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.004028c0
movzx eax, byte [ebp - 0x21]
test eax, eax
jne 0x58bf03
lea ecx, [ebp - 0x185]
mov dword [ebp - 0x184], ecx
push 0
push 0
lea ecx, [ebp - 0x114]
call fcn.004028c0
mov dword [ebp - 0x1d0], str.no_Ethernet_adapter_found
mov edx, dword [ebp - 0x1d0]
add edx, 1
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1d0]
mov cl, byte [eax]
mov byte [ebp - 0x1d5], cl
add dword [ebp - 0x1d0], 1
cmp byte [ebp - 0x1d5], 0
jne 0x58be80
mov edx, dword [ebp - 0x1d0]
sub edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], edx
mov eax, dword [ebp - 0x1dc]
push eax
push str.no_Ethernet_adapter_found
lea ecx, [ebp - 0x114]
call fcn.00402910
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00564200
push 0x6a3798
lea edx, [ebp - 0xf8]
push edx
call fcn.005ecf53
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x114]
call fcn.004028c0
jmp 0x58bf33
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
push eax
call fcn.005e06d6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret