Function at 0x485580
Capabilities:
Get disk information
Get system information on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
call fcn.0052d12a
add esp, 4
push eax
call fcn.0052e69b
add esp, 8
mov dword [0x5bb944], 0
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4855e3
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0051a9e0
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0051f3ce
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x597578
push 0x104
push eax
call fcn.0051f428
add esp, 0xc
lea eax, [ebp - 0x110]
push str.vnclang_server.dll
push 0x104
push eax
call fcn.0051f428
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
cmove eax, esi
mov dword [0x5bb944], eax
call fcn.00485200
call fcn.00474850
mov dword [0x5bbad0], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [ebp - 0x3b8]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48587e
mov ax, word [ebp - 0x3b8]
mov word [0x5de5d0], ax
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov al, byte [ebp - 0x3f0]
add al, byte [ebp - 0x3dc]
add al, byte [ebp - 0x3d8]
push 0
push 0
push 0
push 0
mov byte [ebp - 0x3b9], al
lea eax, [ebp - 0x3c0]
push eax
push 0
push 0
push 0x5a3ed0
mov dword [ebp - 0x3c0], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x3c0]
lea edi, [ebp - 0x228]
mov ecx, eax
xorps xmm0, xmm0
shr ecx, 0x10
add cl, al
xor eax, eax
mov dword [ebp - 0x3c4], ecx
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x228], xmm0
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ebx, dword [ebp - 0x220]
mov eax, ebx
mov edi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x228]
sar eax, 0x10
sar edi, 0x10
add edi, eax
sar edx, 0x10
mov eax, dword [ebp - 0x224]
sar eax, 0x10
add eax, dword [ebp - 0x21c]
add eax, edi
mov dword [ebp - 0x3c0], 0
add edx, eax
add edx, ebx
add edx, dword [ebp - 0x224]
add edx, dword [ebp - 0x228]
movzx eax, dx
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x3d8]
add eax, dword [ebp - 0x3dc]
add eax, dword [ebp - 0x3f0]
push 0
push 0
push 0
shr eax, 8
push 0
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3c0]
push eax
push 0
push 0
push 0x5a3ed0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x3c0]
lea edi, [ebp - 0x228]
shr ecx, 0x10
xorps xmm0, xmm0
add ecx, dword [ebp - 0x3c0]
shr ecx, 8
mov dword [ebp - 0x3c0], ecx
movups xmmword [ebp - 0x228], xmm0
xor eax, eax
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov bl, 1
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov cl, byte [ebp - 0x3b9]
mov dword [edi + 0xc], edx
mov edi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x228]
sar eax, 0x10
sar edi, 0x10
add edi, eax
sar edx, 0x10
mov eax, dword [ebp - 0x224]
sar eax, 0x10
add eax, dword [ebp - 0x21c]
add eax, edi
mov byte [0x5b0bb0], cl
mov ecx, dword [ebp - 0x3c4]
add edx, eax
add edx, dword [ebp - 0x220]
add edx, dword [ebp - 0x224]
add edx, dword [ebp - 0x228]
mov byte [0x5b0bb1], cl
mov ecx, dword [ebp - 0x3c8]
mov byte [0x5b0bb2], cl
mov ecx, dword [ebp - 0x3cc]
movzx eax, dx
shr eax, 8
mov byte [0x5b0bb3], cl
mov ecx, dword [ebp - 0x3c0]
mov byte [str.NX_a], cl
mov byte [0x5b0bb5], al
mov word [0x5b0bb6], 0x758
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
push 0
push 0x59d508
mov edx, 0x5bcdf8
call fcn.00425040
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.00519459
mov esp, ebp
pop ebp
ret