Function at 0x5c85b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
jne 0x5c85fc
pop esi
lea eax, [ebx + 0x16]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x210]
push 0x41435351
push eax
push ebx
call fcn.00550770
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x5c8838
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x5c86a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 8
mov esi, eax
je 0x5c8692
push esi
push dword [ebp - 0x210]
push str.Failed_to_get_the_information_about_volume___s_._GetLastError__d._n
push 0xdd
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_get_vol_attributes
push dword [0x9052f0]
push 8
call fcn.004f21c0
add esp, 0x20
push esi
call fcn.004f1a60
add esp, 4
mov ebx, eax
jmp 0x5c881b
test esi, esi
je 0x5c881b
lea eax, [ebp - 0x20c]
mov dword [esi + 0x208], 0
push eax
push 0x208
push esi
mov dword [esi + 0x20c], 0
call fcn.004f3880
add esp, 0xc
test dword [ebp - 0x214], 0x80000
je 0x5c86e6
or dword [esi + 0x208], 1
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [eax - 2]
cmp ecx, 3
ja case.default.0x5c86fe
jmp dword [ecx*4 + 0x5c88a4]
push dword [ebp - 0x210]
call fcn.005c8c60
mov edx, dword [esi + 0x208]
xor ecx, ecx
add esp, 4
test eax, eax
setne cl
lea ecx, [ecx*2 + 2]
or edx, ecx
mov dword [esi + 0x208], edx
jmp 0x5c8750
or dword [esi + 0x208], 4
jmp 0x5c874a
or dword [esi + 0x208], 0x10
jmp 0x5c874a
or dword [esi + 0x208], 8
mov edx, dword [esi + 0x208]
test byte [0x9538a8], 8
je 0x5c877e
push edx
push str.vol_attrib___d_n
push 0x10a
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_get_vol_attributes
push dword [0x9052f0]
push 8
call fcn.004f21c0
add esp, 0x1c
mov eax, dword [str.NTFS]
xor edi, edi
test eax, eax
je 0x5c87ae
nop dword [eax]
push esi
push eax
call fcn.004f3800
add esp, 8
test eax, eax
je 0x5c8849
mov eax, dword [edi*4 + 0x9052f8]
inc edi
test eax, eax
jne 0x5c8790
test byte [0x9538a8], 8
je 0x5c87d9
push esi
push str.Found_unsupported_fs_type___s_n
push 0x30
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_is_supported_fs_type
push dword [0x9052f0]
push 8
call fcn.004f21c0
add esp, 0x1c
cmp dword [esi + 0x20c], 0
jne 0x5c8815
test byte [0x9538a8], 8
je 0x5c8815
push dword [ebp - 0x218]
push str.__s__is_not__or_not_in__a_supported_volume._n
push 0x115
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_get_vol_attributes
push dword [0x9052f0]
push 8
call fcn.004f21c0
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x5c882e
push eax
call fcn.004f3570
add esp, 4
push dword [ebp - 0x21c]
call edi
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x208]
test al, 1
jne 0x5c87d9
test al, 2
je 0x5c87d9
mov dword [esi + 0x20c], 1
jmp 0x5c87d9
test byte [0x9538a8], 1
je 0x5c889a
push dword [ebp - 0x210]
push eax
push str.Unsupported_drive_type__d_for__s_n
push 0x105
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_get_vol_attributes
push dword [0x9052f0]
push 1
call fcn.004f21c0
add esp, 0x20
mov ebx, 0x442
jmp 0x5c881b