Function at 0x635f60
Capabilities:
Get disk information
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x70f9c5
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x334], eax
push ebx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x358]
mov esi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
dec eax
cmp eax, 4
ja case.default.0x635fb3
jmp dword [eax*4 + 0x6362a8]
mov edi, esi
jmp 0x635fe2
mov esi, 3
xor edi, edi
jmp 0x635fe2
mov esi, 7
lea edi, [esi - 5]
jmp 0x635fe2
mov esi, 9
lea edi, [esi - 5]
jmp 0x635fe2
xor esi, esi
mov edi, 5
push 0x800
push 0x2b4
lea eax, [esp + 0x98]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x636173
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x63618e
call fcn.005c92f0
mov dword [esp + 0x10], eax
mov dword [esp + 0x350], 0
call fcn.005c92f0
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
mov byte [esp + 0x354], 1
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
push 0
mov dword [esp + 0x360], 2
mov dword [esp + 0x38], 6
mov dword [esp + 0x40], str....._srcmsw_volume.cpp
mov dword [esp + 0x48], str.GetBasicFlags
mov dword [esp + 0x44], 0xa4
mov dword [esp + 0x4c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
mov dword [esp + 0x78], eax
mov byte [esp + 0x360], 3
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push str.SHGetFileInfo
push 0xa4
push str....._srcmsw_volume.cpp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.00479740
push dword [esp + 0x68]
mov byte [esp + 0x354], 2
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x63613d
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00439c40
lea ecx, [esp + 0x10]
mov dword [esp + 0x350], 0xffffffff
call fcn.00420020
jmp 0x63618e
mov eax, dword [esp + 0x98]
test eax, 0x40000
je 0x636184
or esi, 4
test eax, 0x2000000
je 0x63618e
or esi, 2
test ebx, ebx
mov dword [esp + 0x84], 7
mov edx, 0x7bf4e8
mov dword [esp + 0x80], 0
cmovne edx, ebx
xor eax, eax
mov word [esp + 0x70], ax
cmp word [edx], ax
jne 0x6361be
xor ecx, ecx
jmp 0x6361d2
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6361c3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.00419290
mov dword [esp + 0x88], 0
mov eax, dword [0x87f4e4]
mov dword [esp + 0x350], 4
test al, 1
jne 0x636245
or eax, 1
mov dword [0x87f4e4], eax
push 0x19
mov byte [esp + 0x354], 5
call fcn.005f08d0
push 4
push eax
mov dword [0x87f4d8], eax
mov dword [0x87f4dc], 0
call dword [sym.imp.MSVCR120.dll_calloc]
push 0x71df40
mov dword [0x87f4d4], eax
call fcn.006d1d68
add esp, 0x10
mov byte [esp + 0x350], 4
lea eax, [esp + 0x70]
mov ecx, 0x87f4d4
push eax
call fcn.00634de0
mov dword [eax], esi
mov dword [eax + 4], edi
push dword [esp + 0x88]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x63627f
push dword [esp + 0x70]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x344
ret