Function at 0x4ab330
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x3ac
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x3a8], eax
mov eax, dword [esp + 0x3b4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c0]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
push ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, 0x6f
jne 0x4ab4b2
mov edx, dword [esp + 0x10]
push edx
call fcn.004b958c
mov esi, eax
add esp, 4
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x24], esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4ab49d
test esi, esi
je 0x4ab49d
lea esp, [esp]
push 6
lea edi, [esi + 0x10c]
push edi
push 0x523148
call fcn.00404690
add esp, 4
push eax
call fcn.004b9748
add esp, 0xc
test eax, eax
je 0x4ab48f
push 0xa
push edi
push 0x523138
call fcn.00404690
add esp, 4
push eax
call fcn.004b9748
add esp, 0xc
test eax, eax
je 0x4ab48f
test ebx, ebx
jne 0x4ab441
movzx ecx, byte [esi + 0x199]
movzx edx, byte [esi + 0x198]
movzx eax, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x196]
push edx
movzx edx, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push ecx
push edx
push eax
push 0x523114
call fcn.00404690
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
push ecx
jmp 0x4ab489
cmp ebx, 1
jne 0x4ab48e
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push 0x523114
call fcn.00404690
mov edx, dword [esp + 0x34]
add esp, 4
push eax
push edx
call ebp
add esp, 0x20
inc ebx
mov esi, dword [esi]
test esi, esi
jne 0x4ab3b0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b8a69
add esp, 4
test ebx, ebx
jne 0x4ab60e
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.004b6dc0
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2b8]
mov eax, 0x100
push ecx
mov byte [esp + 0x24], 0x37
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], ax
call sub.NETAPI32.dll_Netbios
xor esi, esi
cmp byte [esp + 0x2b8], 0
jbe 0x4ab60e
mov bl, 0x33
lea esp, [esp]
push 0x40
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004b6dc0
movzx eax, byte [esp + esi + 0x2c5]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x24], 0x32
mov byte [esp + 0x54], al
call sub.NETAPI32.dll_Netbios
push 0x40
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004b6dc0
movzx eax, byte [esp + esi + 0x2c5]
mov dl, byte [0x523112]
mov cx, word [0x523110]
mov byte [esp + 0x38], dl
add esp, 0xc
mov byte [esp + 0x50], al
mov word [esp + 0x2a], cx
lea edx, [esp + 0x20]
lea eax, [esp + 0x60]
mov ecx, 0x258
push edx
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
call sub.NETAPI32.dll_Netbios
test al, al
jne 0x4ab5fd
test esi, esi
jne 0x4ab5bc
movzx eax, byte [esp + 0x65]
movzx ecx, byte [esp + 0x64]
movzx edx, byte [esp + 0x63]
push eax
movzx eax, byte [esp + 0x66]
push ecx
movzx ecx, byte [esp + 0x69]
push edx
movzx edx, byte [esp + 0x6c]
push eax
push ecx
push edx
push 0x523114
call fcn.00404690
add esp, 4
push eax
push edi
jmp 0x4ab5f8
cmp esi, 1
jne 0x4ab5fd
movzx eax, byte [esp + 0x65]
movzx ecx, byte [esp + 0x64]
movzx edx, byte [esp + 0x63]
push eax
movzx eax, byte [esp + 0x66]
push ecx
movzx ecx, byte [esp + 0x69]
push edx
movzx edx, byte [esp + 0x6c]
push eax
push ecx
push edx
push 0x523114
call fcn.00404690
add esp, 4
push eax
mov eax, dword [esp + 0x34]
push eax
call ebp
add esp, 0x20
movzx ecx, byte [esp + 0x2b8]
inc esi
cmp esi, ecx
jl 0x4ab500
cmp byte [edi + 2], 0x2d
je 0x4ab62d
push 0x5101c0
call fcn.00404690
add esp, 4
mov edx, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4ab623
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x3ac
ret