Function at 0x5bf2b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x5bf2b8
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x5bf78d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040d6ac
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040eb80
mov eax, dword [ebp - 4]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
je 0x5bf356
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040d6ac
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x5bf7a8
call fcn.00407078
mov eax, dword [ebp - 0x10]
mov edx, 0x5bf7d8
call fcn.0059ba90
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.005bfc94
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.005c2818
jmp 0x5bf679
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040d6ac
mov eax, dword [ebp - 0x20]
call fcn.00406cf0
push eax
call sub.shlwapi.dll_PathIsNetworkPathW
test eax, eax
je 0x5bf3d0
lea edx, [ebp - 0x30]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040d6ac
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x5bf804
call fcn.00407078
mov eax, dword [ebp - 0x28]
mov edx, 0x5bf7d8
call fcn.0059ba90
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.005bfc94
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.005c2818
jmp 0x5bf679
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040d6ac
mov eax, dword [ebp - 0x38]
call fcn.0040e6bc
test al, al
je 0x5bf628
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0040d6ac
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x5bf424
sub eax, 4
mov eax, dword [eax]
cmp eax, 4
jge 0x5bf4a3
push 0
lea edx, [ebp - 0x4c]
mov eax, dword [esi + 0x4e0]
call fcn.004d9970
mov eax, dword [ebp - 0x4c]
call fcn.00406cf0
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x5bf834
mov edx, 0x5bf8c4
mov eax, esi
call fcn.005c1094
mov eax, dword [ebp - 0x50]
call fcn.00406cf0
push eax
mov eax, esi
call fcn.004e2270
push eax
call sub.user32.dll_MessageBoxW
lea edx, [ebp - 0x54]
mov eax, esi
call fcn.005bfc94
mov edx, dword [ebp - 0x54]
mov eax, dword [esi + 0x3a8]
call fcn.004d99a8
mov eax, dword [esi + 0x3a8]
call fcn.004a3b38
mov eax, dword [esi + 0x3a8]
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x5bf679
lea edx, [ebp - 0x5c]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0040d6ac
mov eax, dword [ebp - 0x58]
call fcn.0040e698
test al, al
je 0x5bf5d5
push 0
push 0x6400000
lea edx, [ebp - 0x68]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040d6ac
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040eb80
mov edx, dword [ebp - 0x60]
mov eax, esi
call fcn.005bf164
test al, al
je 0x5bf57f
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [esi + 0x4e0]
call fcn.004d9970
mov eax, dword [ebp - 0x6c]
call fcn.00406cf0
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x5bf8e8
mov edx, 0x5bf9e0
mov eax, esi
call fcn.005c1094
mov eax, dword [ebp - 0x70]
call fcn.00406cf0
push eax
mov eax, esi
call fcn.004e2270
push eax
call sub.user32.dll_MessageBoxW
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.005bfc94
mov edx, dword [ebp - 0x74]
mov eax, dword [esi + 0x3a8]
call fcn.004d99a8
mov eax, dword [esi + 0x3a8]
call fcn.004a3b38
mov eax, dword [esi + 0x3a8]
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x5bf679
lea edx, [ebp - 0x7c]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0040d6ac
mov edx, dword [ebp - 0x78]
lea eax, [esi + 0x540]
call fcn.00406c64
lea edx, [ebp - 0x80]
mov eax, dword [esi + 0x540]
call fcn.004165f4
mov edx, dword [ebp - 0x80]
lea eax, [esi + 0x540]
call fcn.00406c64
mov eax, esi
call fcn.005c5000
mov eax, esi
call fcn.005c6840
jmp 0x5bf679
lea edx, [ebp - 0x88]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x5bfa10
call fcn.00407078
mov eax, dword [ebp - 0x84]
mov edx, 0x5bf7d8
call fcn.0059ba90
lea edx, [ebp - 0x8c]
mov eax, esi
call fcn.005bfc94
mov edx, dword [ebp - 0x8c]
mov eax, esi
call fcn.005c2818
jmp 0x5bf679
lea edx, [ebp - 0x94]
mov eax, dword [esi + 0x3a8]
call fcn.004d9970
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x5bfa40
call fcn.00407078
mov eax, dword [ebp - 0x90]
mov edx, 0x5bf7d8
call fcn.0059ba90
lea edx, [ebp - 0x98]
mov eax, esi
call fcn.005bfc94
mov edx, dword [ebp - 0x98]
mov eax, esi
call fcn.005c2818
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf797
lea eax, [ebp - 0x98]
call fcn.00406c54
lea eax, [ebp - 0x94]
call fcn.00406c54
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x88]
call fcn.00406c54
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x7c]
call fcn.00406c54
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00406c5c
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x5c]
call fcn.00406c54
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00406c5c
lea eax, [ebp - 0x4c]
call fcn.00406c54
lea eax, [ebp - 0x44]
call fcn.00406c54
lea eax, [ebp - 0x40]
call fcn.00406c54
lea eax, [ebp - 0x3c]
call fcn.00406c54
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x30]
call fcn.00406c54
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x24]
call fcn.00406c54
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0x18]
call fcn.00406c54
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 0xc]
call fcn.00406c54
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406c5c
ret