Function at 0x42f097
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564a1a
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc8
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
and dword [ebp - 0x84], 0
lea eax, [ebp - 0x8d]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.00406430
mov dword [ebp - 4], 2
mov dword [ebp - 0x24], 0x288
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.0043015e
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xa0]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x42f13d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.004301cb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xa4]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42f331
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x42f1d0
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x42f186
push str.GetAdaptersInfo_result_is_NULL_
push 4
call fcn.0041b5a4
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404b80
mov eax, dword [ebp - 0x84]
or eax, 1
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.0042dc8b
mov byte [ebp - 4], 2
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00406430
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
jmp 0x42f376
lea eax, [ebp - 0xb9]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00406430
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov byte [ebp - 0x65], 1
and dword [ebp - 0x6c], 0
jmp 0x42f20e
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax + 0x190]
jae 0x42f280
mov byte [ebp - 0x78], 0
xor eax, eax
lea edi, [ebp - 0x77]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 0x194]
push eax
push 0x5713cc
lea eax, [ebp - 0x78]
push eax
call fcn.00430d16
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
call sub.MSVCR100.dll_strlen
pop ecx
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404be0
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 0x194]
test eax, eax
je 0x42f27e
mov byte [ebp - 0x65], 0
jmp 0x42f207
movzx eax, byte [ebp - 0x65]
test eax, eax
jne 0x42f2dd
push dword [0x5c0400]
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406230
cmp dword [ebp + 0xc], 0
je 0x42f2dd
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x30], 0x10
jb 0x42f2b7
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xd8], eax
jmp 0x42f2c0
lea eax, [ebp - 0x44]
mov dword [ebp - 0xd8], eax
push 0x10
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0xd8]
call dword [sym.imp.MSVCR100.dll__strtoui64]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x42f316
mov dword [ebp - 4], 7
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00406430
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404b80
mov eax, dword [ebp - 0x84]
or eax, 1
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20]
call fcn.0042dc8b
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00406430
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004610a0
leave
ret