Function at 0x449150
Capabilities:
Get common file path
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db928
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
call fcn.00447cf0
mov edi, eax
test edi, edi
jne 0x449193
push 0x80004005
call fcn.004479e0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
call fcn.00447cf0
mov edi, eax
test edi, edi
jne 0x4491c6
push 0x80004005
call fcn.004479e0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 3
call fcn.00447cf0
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4491f7
push 0x80004005
call fcn.004479e0
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e3310]
mov ecx, dword [ebp - 0x14]
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov ecx, 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x105
or eax, ecx
jge 0x44924d
push 0x105
lea ecx, [ebp - 0x18]
call fcn.0044b4b0
mov ebx, dword [ebp - 0x18]
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x449268
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
jmp 0x44926f
mov dword [ebp - 0x30], 0
push dword [ebx - 8]
push ebx
call fcn.004bffdb
add esp, 8
test eax, eax
js 0x449497
cmp eax, dword [ebx - 8]
jg 0x449497
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
cmp dword [ebp - 0x30], ecx
jne 0x4493a8
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x105
or eax, ecx
jge 0x4492c2
push 0x105
lea ecx, [ebp - 0x1c]
call fcn.0044b4b0
mov edi, dword [ebp - 0x1c]
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x4492dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
push dword [edi - 8]
push edi
call fcn.004bffdb
add esp, 8
test eax, eax
js 0x449497
cmp eax, dword [edi - 8]
jg 0x449497
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x30], ecx
jne 0x4493a8
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x44932f
push 0x105
lea ecx, [ebp - 0x14]
call fcn.0044b4b0
mov esi, dword [ebp - 0x14]
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x449349
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
push dword [esi - 8]
push esi
call fcn.004bffdb
add esp, 8
test eax, eax
js 0x449497
cmp eax, dword [esi - 8]
jg 0x449497
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x30], ecx
jne 0x4493a8
push ecx
lea ecx, [ebp - 0x14]
call fcn.0044af20
mov esi, dword [ebp - 0x14]
push 0
push 0
push 3
push 0
push 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
jne 0x44944a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
or ecx, 0xffffffff
add esi, 0xfffffff0
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4493d9
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
push esi
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e3310]
mov ecx, dword [ebp - 0x34]
call esi
or ecx, 0xffffffff
mov byte [ebp - 4], 1
lea edx, [edi - 0x10]
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449403
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44942b
mov edi, dword [ebx]
push ebx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0xc
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0x2d1080
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x449481
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4493a8
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x34]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4493a8
push 0x80070057
call fcn.004479e0
int3