Function at 0x4797c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505b1d
mov eax, dword fs:[0]
push eax
mov eax, 0x28b8
call fcn.00502720
mov eax, dword [0x546190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28bc]
push eax
lea ecx, [ebp - 0x2890]
xor edi, edi
mov dword [ebp - 0x28c0], edi
push ecx
mov dword [ebp - 0x28c4], esi
mov dword [ebp - 0x28bc], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x28c0], 1
cmp eax, edi
jne 0x4799ff
lea edi, [ebp - 0x2890]
mov dword [ebp - 0x28b4], edi
jmp 0x479850
mov eax, dword [edi + 0x190]
lea edx, [edi + 0x194]
push edx
push eax
lea ecx, [ebp - 0x28a8]
push ecx
call fcn.004795f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x28b0], edx
mov dword [ebp - 4], 1
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28ac], 0xffffffff
cmp eax, 0xffffffff
jae 0x47989c
mov dword [ebp - 0x28ac], eax
test eax, eax
je 0x479944
mov edi, dword [esi + 0x10]
add edi, dword [ebp - 0x28ac]
mov ecx, dword [esi + 0x14]
mov ebx, edi
cmp edi, ecx
jle 0x47990d
mov eax, ecx
sar eax, 1
add eax, ecx
cmp edi, eax
jge 0x4798ba
mov ebx, eax
lea edx, [ebx + 1]
push edx
call fcn.004ffd11
mov edx, eax
mov eax, dword [esi + 0x10]
add esp, 4
mov dword [ebp - 0x28b8], edx
test eax, eax
jle 0x4798ea
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jl 0x4798df
mov ecx, dword [esi]
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jl 0x4798fc
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x28b8]
mov edx, dword [ebp - 0x28b0]
mov dword [esi + 0x14], ebx
mov dword [esi], eax
cmp dword [esi + 0x14], 0x10
mov ebx, esi
jl 0x479917
mov ebx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov eax, edx
jl 0x479921
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28ac]
mov edx, dword [esi + 0x10]
push ecx
push eax
add edx, ebx
push edx
call sub.MSVCR100.dll_memcpy
mov dword [esi + 0x10], edi
mov byte [ebx + edi], 0
mov edi, dword [ebp - 0x28b4]
add esp, 0xc
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2894], 0x10
jl 0x479961
mov eax, dword [ebp - 0x28a8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov edi, dword [edi]
mov dword [ebp - 0x28b4], edi
test edi, edi
je 0x4799ff
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
inc edi
mov ebx, edi
cmp edi, ecx
jle 0x4799d7
mov eax, ecx
sar eax, 1
add eax, ecx
cmp edi, eax
jge 0x47998a
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call fcn.004ffd11
mov edx, eax
mov eax, dword [esi + 0x10]
add esp, 4
mov dword [ebp - 0x28b0], edx
test eax, eax
jle 0x4799ba
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jl 0x4799af
mov ecx, dword [esi]
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jl 0x4799cc
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov edx, dword [ebp - 0x28b0]
mov dword [esi + 0x14], ebx
mov dword [esi], edx
cmp dword [esi + 0x14], 0x10
mov eax, esi
jl 0x4799e1
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dl, byte [0x51c974]
mov byte [ecx + eax], dl
mov dword [esi + 0x10], edi
mov byte [eax + edi], 0
mov edi, dword [ebp - 0x28b4]
jmp 0x479850
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffd1c
mov esp, ebp
pop ebp
ret