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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
call fcn.004db37d
add esp, 4
push eax
call fcn.004dc686
add esp, 8
mov dword [0x567d1c], 0
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x486ca3
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004cd350
add esp, 8
mov byte [eax], 0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x218]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x111], al
test al, al
jne 0x486ca5
lea edi, [ebp - 0x110]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x486cc1
mov ax, word [0x53e1f8]
mov word [edi], ax
lea eax, [ebp - 0x110]
dec eax
nop dword [eax + eax]
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x486ce0
mov ecx, dword [str.vnclang_server.dll]
mov dword [eax], ecx
mov ecx, dword [0x54caac]
mov dword [eax + 4], ecx
mov ecx, dword [0x54cab0]
mov dword [eax + 8], ecx
mov ecx, dword [0x54cab4]
mov dword [eax + 0xc], ecx
mov cx, word [0x54cab8]
mov word [eax + 0x10], cx
mov cl, byte [0x54caba]
mov byte [eax + 0x12], cl
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
cmove eax, esi
mov dword [0x567d1c], eax
call fcn.004868c0
call fcn.004710d0
mov dword [0x568a68], 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 0x486f6d
mov ax, word [ebp - 0x3b8]
mov word [0x58a320], 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 0x54caa4
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
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 0x54caa4
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
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 [0x558aa0], 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 [0x558aa1], cl
mov ecx, dword [ebp - 0x3c8]
mov byte [0x558aa2], cl
mov ecx, dword [ebp - 0x3cc]
movzx eax, dx
shr eax, 8
mov byte [0x558aa3], cl
mov ecx, dword [ebp - 0x3c0]
mov byte [str.NX_a], cl
mov byte [0x558aa5], al
mov word [0x558aa6], 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.004cbf27
mov esp, ebp
pop ebp
ret
push 0
push 0x542d04
mov edx, 0x568620
call fcn.00425e00
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret