Function at 0x5c9550
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x21c], ecx
push edi
test eax, eax
jne 0x5c957e
mov eax, dword [ecx + 4]
jmp 0x5c9581
mov eax, dword [eax + 8]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x5c9855
mov ebx, dword [eax]
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
test ebx, ebx
je 0x5c97df
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x210]
push 0x41435351
push eax
push ebx
call fcn.00550770
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x214], edi
test edi, edi
jne 0x5c97d9
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push edi
push edi
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x5c9656
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 8
mov edi, eax
je 0x5c9646
push edi
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 edi
call fcn.004f1a60
add esp, 4
mov edi, eax
jmp 0x5c97b6
test esi, esi
je 0x5c97b6
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 - 0x218], 0x80000
je 0x5c969a
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.0x5c96b2
jmp dword [ecx*4 + 0x5c986c]
push dword [ebp - 0x210]
call fcn.005c8c60
add esp, 4
test eax, eax
je 0x5c96d4
or dword [esi + 0x208], 4
jmp 0x5c96ed
or dword [esi + 0x208], 2
jmp 0x5c96ed
or dword [esi + 0x208], 0x10
jmp 0x5c96ed
or dword [esi + 0x208], 8
test byte [0x9538a8], 8
mov eax, dword [esi + 0x208]
je 0x5c9721
push eax
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 0x5c974e
nop dword [eax]
push esi
push eax
call fcn.004f3800
add esp, 8
test eax, eax
je 0x5c97e7
mov eax, dword [edi*4 + 0x9052f8]
inc edi
test eax, eax
jne 0x5c9730
test byte [0x9538a8], 8
je 0x5c9779
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 0x5c97b0
test byte [0x9538a8], 8
je 0x5c97b0
push ebx
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 [ebp - 0x214]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x5c97c9
push eax
call fcn.004f3570
add esp, 4
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x5c9842
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ecx + 0xc]
jmp 0x5c957e
mov eax, dword [esi + 0x208]
test al, 1
jne 0x5c9779
test al, 2
je 0x5c9779
mov dword [esi + 0x20c], 1
jmp 0x5c9779
test byte [0x9538a8], 1
je 0x5c9838
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 edi, 0x442
jmp 0x5c97b6
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x3f0
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret