Function at 0x444489
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x244]
push edi
mov edi, dword [ebp + 8]
push esi
call fcn.004029b0
lea eax, [ebp - 0x244]
push eax
call fcn.00444095
pop ecx
mov bl, al
lea ecx, [ebp - 0x244]
xor eax, eax
push eax
push 1
call fcn.00404170
test bl, bl
je 0x4444db
mov al, 1
jmp 0x444735
xor eax, eax
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
xor ebx, ebx
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x24c], ebx
push eax
push edi
call fcn.00443eee
pop ecx
pop ecx
test al, al
je 0x444723
push esi
lea ecx, [ebp - 0x22c]
call fcn.004029b0
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x22c]
push 8
pop edi
cmp dword [ebp - 0x218], edi
cmovae eax, dword [ebp - 0x22c]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x44458d
xor eax, eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
lea eax, [ecx - 1]
push eax
push ebx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], ebx
push eax
lea ecx, [ebp - 0x244]
call fcn.004043a0
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004097b0
push ebx
push 1
lea ecx, [ebp - 0x244]
call fcn.00404170
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00443ea3
pop ecx
pop ecx
test al, al
jne 0x444711
lea eax, [ebp - 0x22c]
push eax
push eax
call fcn.0044400a
mov bl, al
lea eax, [ebp - 0x22c]
push eax
call fcn.00444746
add esp, 0xc
test al, al
jne 0x444636
test bl, bl
je 0x44462f
xor eax, eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
xor ebx, ebx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x234], ebx
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00443f74
pop ecx
pop ecx
test al, al
je 0x44461b
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.00443ea3
pop ecx
pop ecx
mov bl, al
push 0
push 1
lea ecx, [ebp - 0x244]
call fcn.00404170
jmp 0x444713
xor bl, bl
jmp 0x444713
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x218], edi
mov esi, 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
mov dword [ebp - 0xa], ebx
mov word [ebp - 6], bx
push esi
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x444713
cmp eax, esi
je 0x444713
lea esi, [ebp - 0x214]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x44468e
mov eax, dword [ebp - 0x21c]
sub esi, ecx
sar esi, 1
add eax, 0xfffffffe
add eax, esi
cmp eax, dword [ebp - 0x24c]
jne 0x444713
cmp dword [ebp - 0x248], edi
lea ecx, [ebp - 0x214]
push esi
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push ecx
push eax
call fcn.00460b63
add esp, 0xc
test eax, eax
jne 0x444713
cmp dword [ebp - 0x218], edi
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x248], edi
cmovae ecx, dword [ebp - 0x25c]
add eax, 4
push eax
lea eax, [ecx + esi*2]
push eax
call fcn.004609ee
pop ecx
pop ecx
test eax, eax
jne 0x444713
mov bl, 1
xor eax, eax
lea ecx, [ebp - 0x22c]
push eax
push 1
call fcn.00404170
xor eax, eax
lea ecx, [ebp - 0x25c]
push eax
push 1
call fcn.00404170
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret