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

Disassembly:
push 0xffffffffffffffff
push 0x4e9f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
mov eax, dword [esp + 0x1e8]
push ebp
push esi
mov esi, eax
movzx eax, ax
push edi
sar esi, 0x10
xor edi, edi
and esi, 0xffdf
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x14], edi
mov ebp, dword [esp + 0x1f0]
cmp ebp, edi
mov dword [esp + 0x1e4], edi
jne 0x44ec11
push edi
mov eax, 0x100001
call fcn.00449190
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x44ec0f
mov byte [eax + 0x100000], 0
mov ebp, eax
mov eax, dword [0x4f94d8]
mov ecx, dword [0x4f94d0]
mov edx, dword [0x4f94d4]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [0x4f94dc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x28], edx
mov edx, dword [0x4f94e0]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
add eax, 4
mov ecx, 0x1b
jmp 0x44ec70
or edx, 0xffffffff
mov word [eax + 2], dx
mov word [eax], dx
mov word [eax - 4], dx
mov word [eax - 2], dx
mov word [eax + 4], di
add eax, 0xa
dec ecx
jne 0x44ec70
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x20], eax
xor eax, eax
cmp si, 0x41
mov dword [esp + 0x10], 0x19
jb 0x44ecb6
cmp si, 0x5a
ja 0x44ecb6
movzx eax, si
sub eax, 0x41
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
movsx ecx, ax
cmp ecx, edx
jg 0x44ee46
lea edi, [eax + 0x41]
mov dword [esp + 0xc], edi
push ebx
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
mov edx, 1
shl edx, cl
mov word [esp + 0x30], di
test eax, edx
je 0x44ee2c
mov edx, dword [esp + 0x1f0]
lea ecx, [ecx + ecx*4]
lea eax, [esp + 0x30]
lea ebx, [edx + ecx*2]
push eax
mov word [ebx + 8], di
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
mov dword [esp + 0x20], eax
je 0x44ee2c
cmp eax, 3
je 0x44ed1f
cmp eax, 2
je 0x44ed1f
xor al, al
jmp 0x44ed21
mov al, 1
cmp dword [esp + 0x1f8], 4
je 0x44ed33
test al, al
je 0x44ee2c
mov dword [esp + 0x1c], 0
push 0
push 0x20000000
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x204], 1
call fcn.00417e55
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x44ed78
mov byte [esp + 0x1e8], 0
jmp 0x44ee2c
xor eax, eax
push eax
lea edx, [esp + 0x54]
push edx
push 0x90
push ebp
push eax
push eax
mov dword [esp + 0x68], 0
mov ecx, 0x24
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0x70048
push esi
mov dword [ebp + 0x18], 0xffffffff
call edi
test eax, eax
je 0x44edb9
mov ax, word [ebp + 0x18]
mov word [ebx], ax
push 0
mov dword [esp + 0x54], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea ecx, [esp + 0x54]
push ecx
push 0xc
push ebp
push 0
push 0
push 0x2d1080
push esi
mov dword [ebp + 4], 0xffffffff
call edi
test eax, eax
je 0x44edf2
mov dx, word [ebp + 4]
mov word [ebx + 2], dx
cmp dword [esp + 0x1f8], 4
jne 0x44ee0b
push esi
push 0
call fcn.0044b680
add esp, 8
mov word [ebx + 6], ax
cmp esi, 0xffffffff
mov ax, word [esp + 0x20]
mov word [ebx + 4], ax
mov byte [esp + 0x1e8], 0
je 0x44ee28
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc edi
lea ecx, [edi - 0x41]
movsx ecx, cx
cmp ecx, eax
mov dword [esp + 0x10], edi
jle 0x44ecd0
xor edi, edi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x44ee67
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1dc
ret