Function at 0x48d72c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x248
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 0xc]
lea esi, [esp + 8]
xor eax, ebp
mov dword [esp + 0x240], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], 0
push edi
call fcn.004dc2cd
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004017ac
push esi
call fcn.0048d0c0
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00401930
test bl, bl
mov bl, 1
jne 0x48d968
mov eax, dword [ebp + 8]
lea esi, [esp + 0x228]
mov ebx, 7
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], 0
push esi
push eax
call fcn.0048d206
add esp, 8
test al, al
je 0x48d91d
mov eax, edi
lea edi, [esp + 0x210]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
mov word [edi], 0
push eax
mov ebx, eax
call fcn.004dc2cd
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.004017ac
mov edx, dword [edi + 0x14]
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov ebx, edi
cmp edx, 7
cmova ebx, ecx
movzx ebx, word [ebx + eax*2 - 2]
cmp ebx, 0x5c
jne 0x48d87a
lea ebx, [esp + 8]
mov ecx, 7
xor edx, edx
dec eax
mov dword [ebx + 0x14], ecx
mov ecx, ebx
mov dword [ebx + 0x10], edx
mov word [ebx], dx
push eax
push edx
push edi
call fcn.004654ea
mov ecx, edi
call fcn.00401930
movsd xmm0, qword [ebx + 0x10]
movsd xmm2, qword [ebx]
movsd xmm1, qword [ebx + 8]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
movsd qword [esp + 0x220], xmm0
movsd qword [esp + 0x218], xmm1
movsd qword [esp + 0x210], xmm2
call fcn.00401930
mov ecx, dword [esp + 0x210]
mov edx, dword [esp + 0x224]
mov eax, 7
cmp edx, eax
cmova edi, ecx
cmp dword [esp + 0x23c], eax
jbe 0x48d894
mov esi, dword [esp + 0x228]
push edi
push esi
call fcn.004ea6a5
add esp, 8
test eax, eax
je 0x48d921
lea edi, [esp + 0x210]
mov ecx, edi
mov edx, edi
call fcn.0048d54d
mov ecx, edi
mov ebx, eax
call fcn.0048d620
test al, al
jne 0x48d925
test bl, bl
je 0x48d925
lea esi, [esp + 8]
mov eax, 7
lea ecx, [esp + 0x228]
mov edx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov word [esi], 0
call fcn.0048d659
test al, al
je 0x48d945
mov eax, 7
cmp dword [esp + 0x224], eax
jbe 0x48d902
mov edi, dword [esp + 0x210]
cmp dword [esp + 0x1c], eax
jbe 0x48d90c
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004ea6a5
add esp, 8
test eax, eax
sete bl
jmp 0x48d947
xor ebx, ebx
jmp 0x48d95c
mov bl, 1
jmp 0x48d950
xor ebx, ebx
test al, al
je 0x48d950
cmp dword [esp + 0x224], 7
mov dword [esp + 4], ebx
mov dword [esp], ebx
jbe 0x48d980
mov eax, dword [esp + 0x210]
jmp 0x48d987
xor ebx, ebx
lea ecx, [esp + 8]
call fcn.00401930
lea ecx, [esp + 0x210]
call fcn.00401930
lea ecx, [esp + 0x228]
call fcn.00401930
mov ecx, dword [esp + 0x240]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x210]
mov eax, dword [eax]
lea esi, [esp + 8]
mov ecx, esp
mov dword [ecx], eax
push 0x104
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x48d950
cmp eax, 0x104
je 0x48d950
push esi
call fcn.004dc2cd
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x220]
lea eax, [edi + eax - 2]
cmp eax, dword [esp + 0x238]
jne 0x48d9f6
cmp dword [esp + 0x23c], 7
jbe 0x48d9dc
mov eax, dword [esp + 0x228]
jmp 0x48d9e3
lea eax, [esp + 0x228]
push edi
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004ea4ea
add esp, 0xc
test eax, eax
je 0x48d9fd
xor ebx, ebx
jmp 0x48d950
mov ecx, 7
cmp dword [esp + 0x224], ecx
jbe 0x48da14
mov eax, dword [esp + 0x210]
jmp 0x48da1b
lea eax, [esp + 0x210]
add eax, 4
cmp dword [esp + 0x23c], ecx
jbe 0x48da30
mov ecx, dword [esp + 0x228]
jmp 0x48da37
lea ecx, [esp + 0x228]
lea ecx, [ecx + edi*2]
push eax
push ecx
call fcn.004ea6a5
add esp, 8
test eax, eax
sete bl
jmp 0x48d950