Function at 0x4038e0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x98
mov eax, dword [0x4cbba0]
xor eax, esp
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xc]
xor esi, esi
push eax
push esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov byte [ebp], 0
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, esi
je 0x40395b
cmp eax, 0xe8
je 0x403a99
cmp eax, 0x32
je 0x403a99
cmp eax, 0x6f
jne 0x403a99
mov ecx, dword [esp + 0xc]
push ecx
call sub.MFC71.DLL_operator_new
add esp, 4
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x10], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x403b08
push ebx
mov ebx, dword [esp + 0xc]
cmp ebx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
je 0x403a98
push edi
mov eax, dword [ebx + 0x1a0]
cmp eax, 6
jne 0x403ab0
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
movzx edx, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push ecx
movzx ecx, byte [ebx + 0x195]
push edx
movzx edx, byte [ebx + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push str._02x_02x_02x_02x_02x_02x
push eax
mov dword [esp + 0x3c], 1
call dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, dword [esp + 0x38]
add esp, 0x20
cmp eax, esi
jne 0x403a19
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039d8
sub eax, edx
mov dword [esp + 0x20], eax
je 0x4039fb
mov edi, str.005345000000
lea esi, [esp + 0x24]
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x403a3f
lea eax, [esp + 0x24]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403a05
mov dword [esp + 0x18], 1
jmp 0x403a3f
mov edi, str.005345000000
mov esi, ebp
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x403a3f
lea eax, [esp + 0x24]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403a35
lea eax, [ebx + 0x1d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403a48
sub eax, edx
mov dword [esp + 0x20], eax
je 0x403afa
mov edi, str.005345000000
lea esi, [esp + 0x24]
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x403afa
lea eax, [esp + 0x24]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403a80
mov edx, dword [esp + 0x10]
push edx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a17d1
add esp, 0x98
ret
cmp eax, 0x17
jne 0x403afa
cmp dword [esp + 0x1c], esi
jne 0x403afa
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
movzx edx, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push ecx
movzx ecx, byte [ebx + 0x195]
push edx
movzx edx, byte [ebx + 0x194]
push eax
push ecx
push edx
push str._02x_02x_02x_02x_02x_02x
push ebp
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x20
mov ebx, dword [ebx]
xor esi, esi
cmp ebx, esi
jne 0x403971
jmp 0x403a8a
mov eax, dword [esp + 8]
cmp eax, esi
je 0x403a99
push eax
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0xa0]
add esp, 4
pop esi
pop ebp
xor ecx, esp
call fcn.004a17d1
add esp, 0x98
ret