Function at 0x4f19c0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x250
mov esi, esp
mov dword [esi + 0x238], ebp
mov edi, dword [ebp + 8]
lea eax, [esi + 0x240]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4fb150
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, edi
call fcn.004aef30
cmp eax, 2
jg 0x4f1ad0
movups xmm0, xmmword [0x7a9568]
movaps xmmword [esi + 0x160], xmm0
movaps xmmword [esi + 0x150], xmm0
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
mov ecx, edi
call fcn.004af144
mov byte [esi + 0x50], 3
mov dword [esi + 0x58], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x160]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x150]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x140]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x130]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x120]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x50]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.GetDiskSize_failed__invalid_disk_path___s
mov dword [esp + 0x10], str.XPluginUtils
mov dword [esp + 0xc], str.GetDiskSize
mov dword [esp + 8], 0x1f1
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_PluginUtils.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
xor ebx, ebx
jmp 0x4f1d0e
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x10]
movdqa xmmword [eax], xmm0
mov dword [eax + 0x10], 0xffffffff
mov ecx, edi
xor edi, edi
push 3
push edi
push eax
call fcn.004af4b4
lea ebx, [esi + 0x170]
push 0xc8
push edi
push ebx
call fcn.006ccfc0
add esp, 0xc
push ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [esi + 0x60]
mov dword [eax + 0x10], edi
pxor xmm0, xmm0
movdqa xmmword [eax], xmm0
cmp word [ebx], 0
mov dword [esi + 0x248], 0
je 0x4f1b62
push 0xa
mov dword [esi + 0xc], ebx
push ebx
lea edi, [esi + 0x60]
push edi
call fcn.006e721d
add esp, 0xc
lea ecx, [esi + 0x10]
push edi
call fcn.004af1e0
test eax, eax
je 0x4f1c27
mov ebx, dword [esi + 0xc]
push ebx
call fcn.006e6814
add esp, 4
lea ebx, [ebx + eax*2]
add ebx, 2
jmp 0x4f1b1b
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov ecx, dword [ebp + 8]
call fcn.004af144
mov byte [esi + 0x30], 3
mov dword [esi + 0x38], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0xc0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0xb0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0xa0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x90]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x80]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.GetDiskSize_failed__not_found_disk_path___s
mov dword [esp + 0x10], str.XPluginUtils
mov dword [esp + 0xc], str.GetDiskSize
mov dword [esp + 8], 0x20b
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_PluginUtils.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
jmp 0x4f1d04
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov bl, 1
test eax, eax
jne 0x4f1d06
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
movdqa xmmword [esi + 0xe0], xmm0
movdqa xmmword [esi + 0xd0], xmm0
mov ecx, dword [ebp + 8]
call fcn.004af144
mov byte [esi + 0x40], 3
mov dword [esi + 0x48], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x110]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x100]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0xf0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0xe0]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0xd0]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x40]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.GetDiskSize_failed__GetDiskFreeSpaceEx_error__disk_path___s
mov dword [esp + 0x10], str.XPluginUtils
mov dword [esp + 0xc], str.GetDiskSize
mov dword [esp + 8], 0x206
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_PluginUtils.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
xor ebx, ebx
lea ecx, [esi + 0x10]
call fcn.004aeec0
mov eax, dword [esi + 0x240]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret