Function at 0x4ba1d4
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4ba1dc
push ecx
push ebx
push esi
push edi
lea esi, [ebp - 0xc]
xor eax, eax
push ebp
push 0x4ba548
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4ba523
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4ba512
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x1400
mov eax, dword [ebp - 0x10]
call fcn.00402b40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x4ba259
push eax
call sub.kernel32.dll_SetLastError
call fcn.0040f1bc
call fcn.0040468c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba52d
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edi, 1
mov dl, 1
mov eax, dword [0x417ef8]
call fcn.00403d4c
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x4b9fbc]
call fcn.00403d4c
mov ebx, eax
mov dword [ebx + 4], edi
lea eax, [ebx + 0xc]
mov edx, dword [esi]
add edx, 0x10c
mov ecx, 0x84
call fcn.00404f0c
lea eax, [ebx + 8]
mov edx, dword [esi]
add edx, 8
mov ecx, 0x104
call fcn.00404f0c
lea eax, [ebx + 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov edx, dword [ebp - 0x18]
mov eax, 0x4ba564
call fcn.004052a0
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov edx, dword [ebp - 0x1c]
mov eax, 0x4ba574
call fcn.004052a0
pop edx
sub edx, eax
sub edx, 3
push edx
lea edx, [ebp - 0x20]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov edx, dword [ebp - 0x20]
mov eax, 0x4ba574
call fcn.004052a0
add eax, 3
push eax
lea edx, [ebp - 0x24]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov eax, dword [ebp - 0x24]
pop edx
pop ecx
call fcn.004051bc
lea eax, [ebx + 0x14]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov eax, dword [ebp - 0x28]
call fcn.00404f5c
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov edx, dword [ebp - 0x2c]
mov eax, 0x4ba564
call fcn.004052a0
add eax, 4
push eax
lea edx, [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x1ac
call fcn.004ba104
mov eax, dword [ebp - 0x30]
pop edx
pop ecx
call fcn.004051bc
lea eax, [ebx + 0x18]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [esi]
add eax, 0x1d4
call fcn.004ba104
mov edx, dword [ebp - 0x34]
mov eax, 0x4ba564
call fcn.004052a0
push eax
lea edx, [ebp - 0x38]
mov eax, dword [esi]
add eax, 0x1d4
call fcn.004ba104
mov edx, dword [ebp - 0x38]
mov eax, 0x4ba574
call fcn.004052a0
pop edx
sub edx, eax
sub edx, 3
push edx
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
add eax, 0x1d4
call fcn.004ba104
mov edx, dword [ebp - 0x3c]
mov eax, 0x4ba574
call fcn.004052a0
add eax, 3
push eax
lea edx, [ebp - 0x40]
mov eax, dword [esi]
add eax, 0x1d4
call fcn.004ba104
mov eax, dword [ebp - 0x40]
pop edx
pop ecx
call fcn.004051bc
lea ecx, [ebp - 0x44]
mov eax, dword [esi]
mov edx, dword [eax + 0x190]
mov eax, dword [esi]
add eax, 0x194
call fcn.004ba060
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x1c]
call fcn.00404ce0
mov eax, dword [esi]
cmp dword [eax + 0x1a4], 0
setg al
mov byte [ebx + 0x20], al
lea eax, [ebx + 0x24]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [esi]
add eax, 0x1fc
call fcn.004ba104
mov edx, dword [ebp - 0x48]
mov eax, 0x4ba564
call fcn.004052a0
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [esi]
add eax, 0x1fc
call fcn.004ba104
mov edx, dword [ebp - 0x4c]
mov eax, 0x4ba574
call fcn.004052a0
pop edx
sub edx, eax
sub edx, 3
push edx
lea edx, [ebp - 0x50]
mov eax, dword [esi]
add eax, 0x1fc
call fcn.004ba104
mov edx, dword [ebp - 0x50]
mov eax, 0x4ba574
call fcn.004052a0
add eax, 3
push eax
lea edx, [ebp - 0x54]
mov eax, dword [esi]
add eax, 0x1fc
call fcn.004ba104
mov eax, dword [ebp - 0x54]
pop edx
pop ecx
call fcn.004051bc
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0041a760
inc edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4ba272
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba519
mov eax, dword [ebp - 8]
call fcn.00402b70
cmp dword [ebp - 4], 0
jne 0x4ba511
cmp dword [ebp - 0x14], 0
je 0x4ba511
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ba509
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.0041a90c
call fcn.00403d7c
dec edi
cmp edi, 0xffffffff
jne 0x4ba4f4
lea eax, [ebp - 0x14]
call fcn.0040f700
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba54f
lea eax, [ebp - 0x54]
mov edx, 0x10
call fcn.00404cb0
ret