Function at 0x4c7af0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x54e548]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
call fcn.004c4480
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004c8530
add esp, 4
test eax, eax
je 0x4c7f19
push 0x288
push 0
mov dword [ebp - 0x1c], 0x288
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x4c7f19
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4c7bbc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x1c]
push 0
call edi
push eax
call esi
mov edi, eax
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x4c7f19
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4c7ef9
mov dword [ebp - 0x14], edi
mov eax, edi
test edi, edi
je 0x4c7f0d
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x24], edi
cmp edi, dword [ebp - 0x3c]
je 0x4c7ee6
nop dword [eax]
nop dword [eax + eax]
cmp dword [eax + 0x190], 6
jne 0x4c7cdc
lea ebx, [eax + 8]
call fcn.004077b8
test eax, eax
je 0x4c7f9e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4c7ca6
test ebx, 0xffff0000
jne 0x4c7c48
movzx eax, bx
lea ecx, [ebp - 0x10]
push eax
call fcn.004c3680
jmp 0x4c7cae
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x4c7ca6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4c7c7d
push ebx
lea ecx, [ebp - 0x10]
call fcn.004c3890
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push ebx
push esi
push 0xffffffffffffffff
add eax, 8
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp ebx, dword [esi - 8]
jg 0x4c7f94
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
jmp 0x4c7cb1
lea ecx, [ebp - 0x10]
call fcn.004c44e0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
or eax, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
test esi, esi
je 0x4c7f9e
push esi
push dword [edi]
call fcn.004f6369
add esp, 8
test eax, eax
jne 0x4c7cdc
mov bl, 1
jmp 0x4c7cde
xor bl, bl
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test al, 1
je 0x4c7d0a
and eax, 0xfffffffe
lea edx, [esi - 0x10]
mov dword [ebp - 0x18], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7d0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4c7ecf
mov edi, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x1a0]
cmp eax, 0x47
jne 0x4c7d2f
mov ebx, 1
mov dword [ebp - 0x10], ebx
jmp 0x4c7d69
cmp eax, 6
jne 0x4c7ecf
push str.wifi
add edi, 0x10c
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x4c7d5e
push str.wireless
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4c7d66
mov ebx, 1
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp - 0x14]
cmp dword [ebp - 0x20], 0
jne 0x4c7d77
test ebx, ebx
jne 0x4c7ecf
call fcn.004077b8
mov ecx, eax
test ecx, ecx
je 0x4c7f9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004c4540
mov edx, dword [ebp + 8]
add esp, 0x20
mov edi, dword [ebp - 0x28]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x4c7e0b
cmp dword [ebp - 0x20], 1
jne 0x4c7dee
test ebx, ebx
je 0x4c7e0b
test eax, eax
je 0x4c7f9e
push eax
push edi
call fcn.00500f71
add esp, 8
test eax, eax
jns 0x4c7ead
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ebx, [edi - 0x10]
sub eax, 0x10
mov dword [ebp - 0x34], eax
cmp ebx, eax
je 0x4c7ead
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x30], ecx
jl 0x4c7ea2
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x4c7ea2
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
mov ecx, eax
lea eax, [ebx + 0xc]
jl 0x4c7e49
cmp ecx, dword [ebx]
jne 0x4c7e49
lock inc dword [eax]
jmp 0x4c7e7e
mov eax, dword [ecx]
push 1
push dword [ebx + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4c7fa8
mov ecx, dword [ebx + 4]
lea eax, [ebx + 0x10]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 4]
inc ecx
push ecx
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.004332a0
mov ebx, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c7e98
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
jmp 0x4c7ead
push dword [edi - 0xc]
mov ecx, edx
push edi
call fcn.004c8ca0
mov ebx, dword [ebp - 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x20], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4c7ecf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 4
cmp eax, dword [ebp - 0x3c]
mov edi, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
jne 0x4c7c00
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4c7be5
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4c7f0d
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
setne bl
jmp 0x4c7f1b
xor ebx, ebx
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4c7f80
mov edi, dword [ebp - 0x3c]
cmp esi, edi
je 0x4c7f51
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7f4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4c7f30
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
sub ecx, esi
and ecx, 0xfffffffc
mov eax, esi
cmp ecx, 0x1000
jb 0x4c7f76
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c7fad
push ecx
push esi
call fcn.004abe1a
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00407412
push 0x80004005
call fcn.00407412
call fcn.00407eb0
call fcn.004f0310
int3