Function at 0x478670
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541096
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1dc], esi
lea eax, [esi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov dword [esi], vtable.vncServer.0
movups xmmword [esi + 8], xmm0
push eax
mov word [esi + 0x18], 0
mov dword [ebp - 0x1d8], eax
call edi
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push eax
call edi
lea eax, [esi + 0x4c]
push eax
call edi
mov dword [esi + 0x94], vtable.vncServer::ServerUpdateTracker.0
mov dword [esi + 0x98], 0
mov byte [ebp - 4], 3
push 0xc
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
call fcn.0051134c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xb4], eax
mov byte [ebp - 4], 4
push 0xc
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
call fcn.0051134c
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xbc], eax
lea eax, [esi + 0x2c8]
push eax
call edi
mov byte [ebp - 4], 6
push 0xc
mov dword [esi + 0x2e4], 0
mov dword [esi + 0x2e8], 0
call fcn.0051134c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2e4], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x18]
mov eax, dword [0x5b6e6c]
xor ecx, ecx
mov dword [esi + 0x74], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0x64], 0x170c
mov dword [esi + 0x68], 0x16a8
mov dword [esi + 0xb0], 0
cmp dword [eax + 0x7a8], ecx
mov dword [0x5b4774], esi
setne cl
push ecx
mov ecx, 0x560f28
call fcn.00432940
mov eax, dword [0x5b6e6c]
lea edi, [esi + 0xc4]
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x734], ecx
mov dword [eax + 0x738], edx
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov word [esi + 0x2c4], ax
lea ecx, [esi + 0x94]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
cmp eax, method.vncServer::ServerUpdateTracker.virtual_16
jne 0x478847
mov dword [ecx + 4], esi
jmp 0x47884a
push esi
call eax
push 0x24
call fcn.0051134c
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x1d8]
mov dword [esi], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [ebp - 0x1d4]
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
push 0x2e0
mov dword [edi + 0x2e0], esi
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x1d8], eax
mov ecx, eax
call fcn.0041f410
push 0x560f28
mov dword [edi + 0x2ec], eax
lea eax, [edi + 0x300]
push 0xff
push eax
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov dword [edi + 0x2f8], 0
mov dword [edi + 0x2fc], 0
call fcn.0051736e
push 0x560f28
lea eax, [edi + 0x3ff]
push 0x104
push eax
call fcn.0051736e
add esp, 0x18
mov dword [edi + 4], 0
mov byte [edi + 0x88], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x58e45c
mov dword [edi + 0x508], eax
mov dword [edi + 0x50c], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x90], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x47896d
push str.RtlGetVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1d8], eax
test eax, eax
jne 0x478a0d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 0x8c], 0
push 0x12
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x514], 0
mov dword [ebp - 0x1d8], 0x288
call fcn.00517363
mov esi, eax
push 0x288
mov dword [ebp - 0x1d4], esi
call fcn.00517363
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4789fe
lea ecx, [ebp - 0x1d8]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x478ae0
push dword [ebp - 0x14]
call fcn.00515679
push dword [ebp - 0x1d8]
call fcn.00517363
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x478ae3
mov dword [ebp - 0x1d4], 0
jmp 0x478b88
push 0x118
lea eax, [ebp - 0x1cc]
push 0
push eax
call fcn.00513330
add esp, 0xc
mov dword [ebp - 0x1d0], 0x11c
lea eax, [ebp - 0x1d0]
push eax
call dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1c4]
lea edx, [ebp - 0x1bc]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xb0], eax
mov ax, word [ebp - 0x1bc]
test ax, ax
je 0x478a85
nop word [eax + eax]
mov byte [ecx], al
lea edx, [edx + 2]
movzx eax, word [edx]
inc ecx
mov byte [ebp - 0x12], al
test ax, ax
mov ax, word [ebp - 0x12]
jne 0x478a70
push esi
mov byte [ecx], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xb0], 0xa
jne 0x47896d
cmp dword [ebp - 0xa8], 0x47ba
jb 0x47896d
push 0x34
mov dword [edi + 0x8c], 1
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x1d8], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004307c0
mov byte [ebp - 4], 7
mov dword [edi + 0x90], eax
jmp 0x478977
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1d8]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x478b7f
mov esi, dword [ebp - 0x14]
nop dword [eax]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X
push 0x12
push dword [ebp - 0x1d4]
call fcn.00434e50
add esp, 0x20
cmp byte [esi + 0x194], 0
jne 0x478b79
cmp byte [esi + 0x198], 0
jne 0x478b79
cmp byte [esi + 0x197], 0
jne 0x478b79
cmp byte [esi + 0x196], 0
jne 0x478b79
cmp byte [esi + 0x199], 0
jne 0x478b79
mov esi, dword [esi]
test esi, esi
je 0x478b79
cmp byte [esi + 0x194], 0
je 0x478b00
mov esi, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d4], esi
mov esi, dword [ebp - 0x14]
push esi
call fcn.00515679
mov esi, dword [ebp - 0x1d4]
lea eax, [edi + 8]
push esi
push 0x12
push eax
call fcn.0051736e
push esi
call fcn.00515679
add esp, 0x14
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret