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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3f4
mov eax, dword [0x5a6008]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
call fcn.00523ead
add esp, 4
push eax
call fcn.00525026
add esp, 8
mov dword [0x5b4878], 0
lea eax, [esp + 0x2f0]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47defc
lea eax, [esp + 0x2f0]
push 0x5c
push eax
call fcn.005128c0
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x2f0]
push eax
lea eax, [esp + 0x1ec]
push 0x104
push eax
call fcn.0051736e
push 0x58e428
lea eax, [esp + 0x1f8]
push 0x104
push eax
call fcn.005173c8
push str.vnclang_server.dll
lea eax, [esp + 0x204]
push 0x104
push eax
call fcn.005173c8
add esp, 0x24
lea eax, [esp + 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
cmove eax, esi
mov dword [0x5b4878], eax
call fcn.0047db10
mov dword [0x5b487c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [esp + 0x48]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x47e174
mov ax, word [esp + 0x48]
mov word [0x5d73b4], ax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov al, byte [esp + 0x24]
add al, byte [esp + 0x38]
add al, byte [esp + 0x3c]
push 0
push 0
push 0
push 0
mov byte [esp + 0x23], al
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x599c5c
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x1d8]
mov ecx, eax
xorps xmm0, xmm0
shr ecx, 0x10
add cl, al
xor eax, eax
mov dword [esp + 0x18], ecx
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
movups xmmword [esp + 0x1dc], 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 [esp + 0x1e0]
mov eax, ebx
mov edi, dword [esp + 0x1e4]
mov edx, dword [esp + 0x1d8]
sar eax, 0x10
sar edi, 0x10
add edi, eax
sar edx, 0x10
mov eax, dword [esp + 0x1dc]
sar eax, 0x10
add eax, dword [esp + 0x1e4]
add eax, edi
mov dword [esp + 0x14], 0
add edx, eax
add edx, ebx
add edx, dword [esp + 0x1dc]
add edx, dword [esp + 0x1d8]
movzx eax, dx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x24]
push 0
push 0
push 0
shr eax, 8
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x599c5c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x1d8]
shr ecx, 0x10
xorps xmm0, xmm0
add ecx, dword [esp + 0x14]
shr ecx, 8
mov dword [esp + 0x14], ecx
movups xmmword [esp + 0x1d8], 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 [esp + 0x13]
mov dword [edi + 0xc], edx
mov edi, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1d8]
sar eax, 0x10
sar edi, 0x10
add edi, eax
sar edx, 0x10
mov eax, dword [esp + 0x1dc]
sar eax, 0x10
add eax, dword [esp + 0x1e4]
add eax, edi
mov byte [0x5a6ab0], cl
mov ecx, dword [esp + 0x18]
add edx, eax
add edx, dword [esp + 0x1e0]
add edx, dword [esp + 0x1dc]
add edx, dword [esp + 0x1d8]
mov byte [0x5a6ab1], cl
mov ecx, dword [esp + 0x1c]
mov byte [0x5a6ab2], cl
mov ecx, dword [esp + 0x20]
movzx eax, dx
shr eax, 8
mov byte [0x5a6ab3], cl
mov ecx, dword [esp + 0x14]
mov byte [str.NX_a], cl
mov byte [0x5a6ab5], al
mov word [0x5a6ab6], 0x758
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push 0
push 0x593d78
mov edx, 0x5b5c20
call fcn.004257b0
mov ecx, dword [esp + 0x404]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret