Function at 0x44c263
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
movzx eax, word [ebp + 0x10]
and dword [ebp - 0x24], 0
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov cl, al
sar ebx, 0x10
push esi
and ebx, 0xffdf
push edi
mov dword [ebp + 0x10], eax
and ecx, 0x20
test al, 1
mov dword [ebp - 0x30], ecx
je 0x44c2a5
test al, 8
je 0x44c2a5
and eax, 0xfffffff7
mov dword [ebp - 0x24], 8
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0xa00
push eax
lea ecx, [ebp - 0x18]
call fcn.0043fc43
cmp dword [ebp + 0xc], 0
jne 0x44c2d0
mov eax, dword [ebp - 0x18]
add eax, 0x800
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
push 5
pop ecx
mov esi, 0x4b6d78
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4b6d68
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1b
pop edx
movsd dword es:[edi], dword [esi]
xor edi, edi
push 0xffffffffffffffb3
mov dword [ebp - 0x20], edi
add eax, 0xc
pop ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov dword [eax - 4], ecx
mov dword [eax - 0xc], ecx
mov dword [eax - 8], ecx
mov dword [eax + 4], edi
mov word [eax + 0xc], di
add eax, 0x220
dec edx
jne 0x44c2fa
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
cmp bx, 0x61
mov dword [ebp - 0x2c], eax
jb 0x44c332
cmp bx, 0x7a
ja 0x44c332
add ebx, 0xffe0
xor eax, eax
cmp bx, 0x41
mov dword [ebp - 0x1c], 0x19
jb 0x44c350
cmp bx, 0x5a
ja 0x44c350
movzx eax, bx
sub eax, 0x41
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
movsx eax, ax
cmp eax, dword [ebp - 0x1c]
jg 0x44c5d6
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x44c5c3
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov eax, ecx
imul eax, eax, 0x220
lea esi, [eax + edx]
lea eax, [ebp - 0x3c]
add ecx, 0x41
add ebx, 0x41
push eax
mov word [ebp - 0x3c], bx
mov dword [esi + 0x10], ecx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
mov dword [ebp - 0x14], eax
je 0x44c3cc
cmp eax, 2
je 0x44c3cc
xor cl, cl
or byte [esi + 0x11], 0xc0
mov dword [esi], edi
cmp eax, 1
je 0x44c5c3
cmp dword [ebp + 0x10], 8
je 0x44c3e3
cmp dword [ebp + 0x10], 0x10
jne 0x44c3d0
cmp eax, 2
jmp 0x44c3e6
mov cl, 1
jmp 0x44c3b2
cmp dword [ebp + 0x10], 4
je 0x44c3ec
test cl, cl
jne 0x44c3ec
cmp dword [ebp - 0x24], edi
je 0x44c5c3
cmp eax, 5
jne 0x44c5c3
cmp word [ebp - 0x30], di
je 0x44c41d
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x54]
push edi
push eax
mov word [ebp - 0x4c], bx
call fcn.004132e4
add esp, 0x10
push 0x104
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov eax, dword [ebp - 0x14]
or dword [ebp - 8], 0xffffffff
cmp eax, 2
jne 0x44c466
cmp word [ebp - 0x10], 1
jg 0x44c466
mov eax, dword [ebp - 0xc]
lea eax, [eax*4 + 0x4c937c]
cmp dword [eax], edi
je 0x44c466
cmp dword [ebp + 0x10], 0x10
movsx eax, word [eax]
mov dword [ebp - 8], eax
jne 0x44c450
cmp eax, 0xb
je 0x44c5c3
cmp dword [ebp + 0x10], 4
je 0x44c466
cmp dword [ebp + 0x10], 0x10
je 0x44c466
cmp dword [ebp - 8], 0xb
jne 0x44c5c3
push edi
push 0x20000000
push 3
push edi
push 3
push 0x80000000
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.004054c4
cmp dword [ebp - 4], edi
je 0x44c5bb
cmp dword [ebp - 8], edi
jge 0x44c4a7
push dword [ebp - 0xc]
push 1
push edi
push dword [ebp - 4]
call fcn.00444888
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 2
jne 0x44c4ce
cmp dword [ebp + 0x10], 0x10
jne 0x44c4be
cmp dword [ebp - 8], 0xb
jne 0x44c4ce
jmp 0x44c5bb
cmp dword [ebp + 0x10], 4
je 0x44c4ce
cmp dword [ebp - 8], 0xb
jne 0x44c5bb
mov ebx, dword [ebp + 0xc]
push 0x90
push edi
push ebx
mov dword [ebp - 0x1e4], edi
call fcn.0049a7e0
or dword [ebx + 0x18], 0xffffffff
add esp, 0xc
push edi
lea eax, [ebp - 0x1e4]
push eax
push 0x90
push ebx
push edi
push edi
push 0x70048
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
cmp eax, edi
mov cx, word [esi]
mov word [ebp - 0xc], cx
je 0x44c51b
mov ax, word [ebx + 0x18]
mov word [ebp - 0xc], ax
push edi
mov dword [ebp - 0x1e4], edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
or dword [ebx + 4], 0xffffffff
push edi
lea eax, [ebp - 0x1e4]
push eax
push 0xc
push ebx
push edi
push edi
push 0x2d1080
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0x24], edi
je 0x44c589
cmp dword [ebp - 0x14], 5
jne 0x44c589
cmp dword [ebp - 0x28], edi
je 0x44c5bb
mov eax, dword [ebp - 0x18]
push 0x4afdac
push edi
push eax
mov word [eax], di
movzx eax, word [ebx + 4]
push eax
call fcn.00444214
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp word [eax], di
je 0x44c5bb
movzx eax, word [ebp - 0x3c]
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x28], edi
movsx eax, word [ebp - 0xc]
mov dword [esi], eax
je 0x44c59b
movsx eax, word [ebx + 4]
mov dword [esi + 4], eax
cmp dword [ebp + 0x10], 4
jne 0x44c5af
push dword [ebp - 4]
push edi
call fcn.00441ac6
pop ecx
pop ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
lea ecx, [ebp - 4]
call fcn.00402c5b
inc dword [ebp - 0x10]
movsx eax, word [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jle 0x44c362
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 0x20]
call fcn.00439cfd
lea ecx, [ebp - 0x18]
call fcn.00439cfd
pop edi
pop esi
pop ebx
leave
ret