Function at 0x64fff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x64fff8
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x650715
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x57b914]
call fcn.0057c614
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 4]
call fcn.00471c9c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, 0x650734
call fcn.004072b0
mov eax, ebx
call fcn.004047c4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00470130
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004707ac
mov ebx, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.00479f18
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00470130
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.004078a0
test eax, eax
jle 0x6500aa
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 0x28]
mov eax, esi
call fcn.00657a20
jmp 0x650594
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004707ac
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00471d98
mov eax, dword [ebp - 0x2c]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
je 0x650130
lea edx, [ebp - 0x40]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004707ac
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x650754
call fcn.004072b0
mov eax, dword [ebp - 0x38]
mov edx, 0x650784
call fcn.0057db20
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 0x44]
mov eax, esi
call fcn.00657a20
jmp 0x650594
lea edx, [ebp - 0x4c]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004707ac
mov eax, dword [ebp - 0x48]
call fcn.00406f68
push eax
call sub.shlwapi.dll_PathIsNetworkPathW
test eax, eax
je 0x6501aa
lea edx, [ebp - 0x58]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004707ac
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x6507c8
call fcn.004072b0
mov eax, dword [ebp - 0x50]
mov edx, 0x650784
call fcn.0057db20
lea edx, [ebp - 0x5c]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 0x5c]
mov eax, esi
call fcn.00657a20
jmp 0x650594
lea edx, [ebp - 0x64]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.004707ac
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x6501d5
sub eax, 4
mov eax, dword [eax]
cmp eax, 4
jl 0x65024c
lea edx, [ebp - 0x6c]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.004707ac
mov eax, dword [ebp - 0x68]
cmp word [eax + 4], 0x5c
je 0x65024c
lea edx, [ebp - 0x78]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.004707ac
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x6507f8
call fcn.004072b0
mov eax, dword [ebp - 0x70]
mov edx, 0x650784
call fcn.0057db20
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 0x7c]
mov eax, esi
call fcn.00657a20
jmp 0x650594
lea edx, [ebp - 0x84]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.004707ac
mov eax, dword [ebp - 0x80]
call fcn.00471800
test al, al
je 0x650541
lea edx, [ebp - 0x8c]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004707ac
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x6502b2
sub eax, 4
mov eax, dword [eax]
cmp eax, 4
jge 0x650374
push 0
lea edx, [ebp - 0x90]
mov eax, dword [esi + 0x460]
call fcn.004f8a4c
mov eax, dword [ebp - 0x90]
call fcn.00406f68
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, 0x650828
mov edx, 0x6508b8
mov eax, esi
call fcn.006532c0
mov eax, dword [ebp - 0x94]
call fcn.00406f68
push eax
mov eax, esi
call fcn.00501360
push eax
call sub.user32.dll_MessageBoxW
lea edx, [ebp - 0x98]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 0x98]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a84
mov eax, dword [esi + 0x3a0]
call fcn.004bdf68
mov eax, dword [esi + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xd8]
lea edx, [ebp - 0xa0]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.004707ac
mov eax, dword [ebp - 0x9c]
call fcn.00472130
jmp 0x650594
lea edx, [ebp - 0xa8]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.004707ac
mov eax, dword [ebp - 0xa4]
call fcn.004717dc
test al, al
je 0x6504ec
push 0
push 0x7800000
lea edx, [ebp - 0xb4]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.004707ac
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.00471d98
mov edx, dword [ebp - 0xac]
mov eax, esi
call fcn.0064fea4
test al, al
je 0x650484
push 0
lea edx, [ebp - 0xb8]
mov eax, dword [esi + 0x460]
call fcn.004f8a4c
mov eax, dword [ebp - 0xb8]
call fcn.00406f68
push eax
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0x6508dc
mov edx, 0x6509d4
mov eax, esi
call fcn.006532c0
mov eax, dword [ebp - 0xbc]
call fcn.00406f68
push eax
mov eax, esi
call fcn.00501360
push eax
call sub.user32.dll_MessageBoxW
lea edx, [ebp - 0xc0]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 0xc0]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a84
mov eax, dword [esi + 0x3a0]
call fcn.004bdf68
mov eax, dword [esi + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x650594
lea edx, [ebp - 0xc8]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.004707ac
mov edx, dword [ebp - 0xc4]
lea eax, [esi + 0x610]
call fcn.00406edc
lea edx, [ebp - 0xcc]
mov eax, dword [esi + 0x610]
call fcn.00479f18
mov edx, dword [ebp - 0xcc]
lea eax, [esi + 0x610]
call fcn.00406edc
mov eax, esi
call fcn.0065bd90
mov eax, esi
call fcn.0065dd20
jmp 0x650594
lea edx, [ebp - 0xd4]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x650a04
call fcn.004072b0
mov eax, dword [ebp - 0xd0]
mov edx, 0x650784
call fcn.0057db20
lea edx, [ebp - 4]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00657a20
mov eax, dword [ebp - 4]
call fcn.00472130
jmp 0x650594
lea edx, [ebp - 0xdc]
mov eax, dword [esi + 0x3a0]
call fcn.004f8a4c
mov ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0xd8]
mov edx, 0x650a34
call fcn.004072b0
mov eax, dword [ebp - 0xd8]
mov edx, 0x650784
call fcn.0057db20
lea edx, [ebp - 4]
mov eax, esi
call fcn.006518fc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00657a20
mov eax, dword [ebp - 4]
call fcn.00472130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65071f
lea eax, [ebp - 0xdc]
call fcn.00406ecc
lea eax, [ebp - 0xd8]
call fcn.00406ecc
lea eax, [ebp - 0xd4]
call fcn.00406ecc
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0xc8]
call fcn.00406ecc
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00406ed4
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0xa8]
call fcn.00406ecc
lea eax, [ebp - 0xa4]
call fcn.00406ecc
lea eax, [ebp - 0xa0]
call fcn.00406ecc
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00406ed4
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x88]
call fcn.00406ecc
lea eax, [ebp - 0x84]
call fcn.00406ecc
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x78]
call fcn.00406ecc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x6c]
call fcn.00406ecc
lea eax, [ebp - 0x68]
call fcn.00406ecc
lea eax, [ebp - 0x64]
call fcn.00406ecc
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x58]
call fcn.00406ecc
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x4c]
call fcn.00406ecc
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x40]
call fcn.00406ecc
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x34]
call fcn.00406ecc
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00406ed4
lea eax, [ebp - 0x1c]
call fcn.00406ecc
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00406ed4
ret