Function at 0x5c9130
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x10]
push esi
push edi
push 0x8001
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push edi
mov esi, eax
call ebx
test esi, esi
jne 0x5c91d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004f1a60
add esp, 4
mov edi, eax
test byte [0x9538a8], 8
je 0x5c9344
push edi
call fcn.004f1b00
push eax
push edi
push edi
push esi
push dword [ebp + 0xc]
push str.Failed_to_get_the_information_about_volume__s._GetLastError__d:_err__d__0x_x_:__s_n
push 0x229
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_add_mount_points_in_list
push dword [0x9052f0]
push 8
call fcn.004f21c0
add esp, 0x30
jmp 0x5c9344
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x5c92f6
mov dword [ebp - 8], 1
nop dword [eax]
push 0x47435351
push 0xc
call fcn.004f3590
mov esi, eax
add esp, 8
test esi, esi
je 0x5c92ef
push 0xc
push esi
call fcn.004f3630
push 0x48435351
push edi
mov dword [esi + 4], 0
call fcn.004f3d00
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x5c9342
push dword [ebp + 0x14]
lea ecx, [esi + 8]
mov dword [ecx], 0
mov eax, dword [ebp - 0xc]
push edi
push dword [ebp - 4]
mov dword [eax], esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
test eax, eax
jne 0x5c9200
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004f1a60
add esp, 4
mov edi, eax
cmp esi, 0x12
jne 0x5c92c4
push 0x27b
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push 1
xor edi, edi
call fcn.004f19f0
mov esi, dword [ebp - 0x10]
add esp, 0xc
test esi, esi
je 0x5c9344
nop dword [eax + eax]
push dword [esi]
push ebx
push dword [ebp + 8]
call fcn.005c8f70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5c9344
mov esi, dword [esi + 8]
test esi, esi
jne 0x5c92a0
jmp 0x5c9344
cmp edi, 0x3f1
je 0x5c9344
test byte [0x9538a8], 8
je 0x5c9344
push edi
call fcn.004f1b00
push eax
push edi
push edi
push esi
push ebx
push str.FindNextVolumeMountPoint_failed_on___s_._GetLastError__d:_err__d:_0x_x:__s_n
push 0x275
jmp 0x5c91ba
mov edi, 0xc
jmp 0x5c9344
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004f1a60
add esp, 4
mov edi, eax
cmp esi, 0x12
je 0x5c9342
cmp esi, 0x16
je 0x5c9342
test edi, edi
je 0x5c9344
cmp edi, 0x3f1
je 0x5c9344
test byte [0x9538a8], 8
je 0x5c9344
push edi
call fcn.004f1b00
push eax
push edi
push edi
push esi
push ebx
push str.FindFirstVolumeMountPoint_failed_on___s_._GetLastError__d:_err__d__0x_x_:__s_n
push 0x242
jmp 0x5c91ba
xor edi, edi
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x5c93ab
nop dword [eax + eax]
mov edx, dword [ebp - 0x10]
mov ebx, dword [esi + 8]
cmp edx, esi
jne 0x5c936c
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x5c9395
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x5c9395
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
cmp eax, esi
je 0x5c937f
mov edx, eax
mov eax, dword [edx + 8]
cmp eax, esi
jne 0x5c9376
mov eax, dword [edx + 8]
add edx, 8
mov eax, dword [eax + 8]
test eax, eax
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
cmove ecx, edx
mov dword [ebp - 0xc], ecx
push dword [esi]
call fcn.004f3570
push esi
call fcn.004f3570
add esp, 8
mov esi, ebx
test ebx, ebx
jne 0x5c9350
cmp dword [ebp - 8], 0
je 0x5c93ba
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret