Function at 0x449900
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4816d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4ac084]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x44994d
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x449985
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00403880
mov esi, dword [ebp - 0x14]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4499db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x4499d1
cmp eax, dword [esi - 8]
jg 0x4499d1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
jle 0x449b90
movzx ebx, bx
or ebx, 0x80070000
jmp 0x449b90
push 0x80070057
call fcn.004039a0
cmp eax, 0xffffffff
jne 0x4499ec
push dword [esi - 8]
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x4499d1
cmp eax, dword [esi - 8]
jg 0x4499d1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x449a1a
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x449a4f
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00403880
mov edi, dword [ebp - 0x18]
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x449a93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi - 8]
mov ebx, eax
push edi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x4499d1
cmp eax, dword [edi - 8]
jg 0x4499d1
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
jmp 0x449b2d
push dword [edi - 8]
push edi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x4499d1
cmp eax, dword [edi - 8]
jg 0x4499d1
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x449adb
push 0x104
mov ecx, ebx
call fcn.00403880
push 0x104
push dword [ebx]
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x449b3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x449b17
push dword [ecx - 8]
push ecx
call fcn.0045ed24
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4499d1
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
cmp ecx, dword [edx - 8]
jg 0x4499d1
mov dword [edx - 0xc], ecx
xor edx, edx
mov eax, dword [eax]
mov word [eax + ecx*2], dx
test ebx, ebx
jle 0x449b74
movzx ebx, bx
or ebx, 0x80070000
jmp 0x449b74
mov eax, dword [ebx]
test eax, eax
jne 0x449b46
xor ecx, ecx
jmp 0x449b5c
push dword [eax - 8]
push eax
call fcn.0045ed24
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4499d1
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x4499d1
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
xor ebx, ebx
mov word [eax + ecx*2], dx
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x449b90
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x449baf
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00458d41
mov esp, ebp
pop ebp
ret 4