Function at 0x409b04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
mov eax, 0x48e7cc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004696b8
mov word [ebp - 0x60], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0x14
mov bl, 3
mov eax, ebx
call fcn.0045fb58
mov edi, eax
mov word [ebp - 0x60], 0x14
mov eax, ebx
call fcn.0045fb8c
mov dword [ebp - 0x74], eax
mov eax, ebx
call fcn.0045fb8c
mov dword [ebp - 0x78], eax
mov eax, ebx
lea edx, [ebp - 8]
add al, 0x40
mov word [ebp - 0x60], 0x2c
mov ecx, edx
mov edx, eax
mov eax, ecx
call fcn.00474bbc
inc dword [ebp - 0x54]
mov edx, 0x48bcf6
mov word [ebp - 0x60], 0x20
mov word [ebp - 0x60], 0x38
lea eax, [ebp - 0xc]
call fcn.00474b48
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
inc dword [ebp - 0x54]
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00474d9c
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00474d74
dec dword [ebp - 0x54]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00474d44
mov ecx, dword [ebp - 0x78]
inc ecx
je 0x409ef9
mov eax, dword [ebp - 8]
test eax, eax
je 0x409be4
mov edx, dword [ebp - 8]
jmp 0x409be9
mov edx, 0x48bcf8
push edx
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 6
ja case.0x409bf8.0
jmp dword [eax*4 + 0x409bff]
mov word [ebp - 0x60], 0x44
mov edx, 0x48bcf9
lea eax, [ebp - 0x14]
call fcn.00474b48
inc dword [ebp - 0x54]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00474d74
dec dword [ebp - 0x54]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00474d44
jmp case.0x409bf8.0
mov word [ebp - 0x60], 0x50
mov edx, 0x48bd06
lea eax, [ebp - 0x18]
call fcn.00474b48
inc dword [ebp - 0x54]
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00474d74
dec dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00474d44
jmp case.0x409bf8.0
mov word [ebp - 0x60], 0x5c
mov edx, 0x48bd11
lea eax, [ebp - 0x1c]
call fcn.00474b48
inc dword [ebp - 0x54]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00474d74
dec dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00474d44
jmp case.0x409bf8.0
mov word [ebp - 0x60], 0x68
mov edx, 0x48bd1c
lea eax, [ebp - 0x20]
call fcn.00474b48
inc dword [ebp - 0x54]
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00474d74
dec dword [ebp - 0x54]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00474d44
jmp case.0x409bf8.0
mov word [ebp - 0x60], 0x74
mov edx, 0x48bd27
lea eax, [ebp - 0x24]
call fcn.00474b48
inc dword [ebp - 0x54]
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00474d74
dec dword [ebp - 0x54]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00474d44
mov dword [ebp - 0x88], edi
xor ecx, ecx
mov dword [ebp - 0x84], ecx
fild qword [ebp - 0x88]
fld xword [0x409f3c]
fmulp st(1)
xor edx, edx
fstp dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
fild qword [ebp - 0x88]
fld xword [0x409f3c]
fmulp st(1)
mov eax, esi
fstp dword [ebp - 0x80]
mov edx, dword [ebp - 8]
call fcn.004578d8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004578d8
mov word [ebp - 0x60], 0x80
add esp, 0xfffffff8
lea eax, [ebp - 0x2c]
fld dword [ebp - 0x80]
fstp qword [esp]
call fcn.00474cd8
inc dword [ebp - 0x54]
lea edx, [ebp - 0x2c]
push edx
mov edx, 0x48bd31
lea eax, [ebp - 0x28]
call fcn.00474b48
inc dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
inc dword [ebp - 0x54]
pop edx
call fcn.00474d9c
lea eax, [ebp - 0x30]
push eax
mov edx, 0x48bd43
lea eax, [ebp - 0x34]
call fcn.00474b48
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x34]
inc dword [ebp - 0x54]
lea ecx, [ebp - 0x38]
pop eax
call fcn.00474d9c
lea edx, [ebp - 0x38]
mov eax, esi
mov edx, dword [edx]
call fcn.004578d8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00474d44
mov word [ebp - 0x60], 0x8c
add esp, 0xfffffff8
lea eax, [ebp - 0x40]
fld dword [ebp - 0x7c]
fstp qword [esp]
call fcn.00474cd8
inc dword [ebp - 0x54]
lea edx, [ebp - 0x40]
push edx
mov edx, 0x48bd45
lea eax, [ebp - 0x3c]
call fcn.00474b48
inc dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
inc dword [ebp - 0x54]
pop edx
call fcn.00474d9c
lea eax, [ebp - 0x44]
push eax
mov edx, 0x48bd57
lea eax, [ebp - 0x48]
call fcn.00474b48
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x48]
inc dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
pop eax
call fcn.00474d9c
lea edx, [ebp - 0x4c]
mov eax, esi
mov edx, dword [edx]
call fcn.004578d8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00474d44
dec dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00474d44
mov word [ebp - 0x60], 0x14
inc ebx
cmp bl, 0x1a
jbe 0x409b33
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00474d44
mov ecx, dword [ebp - 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret