Function at 0x401960
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x40], 0
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
mov dword [ebp - 8], 0
push 0x288
call fcn.00411236
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0x288
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4019ff
mov ecx, dword [ebp - 4]
push ecx
call fcn.004113ab
add esp, 4
mov edx, dword [ebp - 0x34]
push edx
call fcn.00411236
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x401b3a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x401b3a
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp + 8], 0
je 0x401a50
mov ecx, dword [ebp - 0x3c]
add ecx, 0x194
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov cx, word [ecx + 4]
mov word [edx + 4], cx
mov edx, dword [ebp - 0x3c]
add edx, 0x1ac
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x401b25
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x4c]
mov al, byte [edx]
mov byte [ebp - 0x51], al
add dword [ebp - 0x4c], 1
cmp byte [ebp - 0x51], 0
jne 0x401a78
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x10
jle 0x401aa6
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x48], 0
jmp 0x401ab8
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x44]
jg 0x401ae7
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
jne 0x401ad2
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ebp + ecx*2 - 0x2c], ax
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x48]
movsx ax, byte [edx + 4]
mov ecx, dword [ebp - 0x48]
mov word [ebp + ecx*2 - 0x2c], ax
jmp 0x401aaf
lea edx, [ebp - 0x2c]
push edx
call fcn.004011d0
add esp, 4
test eax, eax
je 0x401b0f
lea eax, [ebp - 0x2c]
push eax
push 0x10
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00410a30
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x401a5c
cmp dword [ebp - 8], 0
jle 0x401b2d
jmp 0x401b3a
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
jmp 0x401a1f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x401b54
mov edx, dword [ebp - 4]
push edx
call fcn.004113ab
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004109f5
mov esp, ebp
pop ebp
ret