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

Disassembly:
push 0xffffffffffffffff
push 0x555c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x2ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x304]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x44b67b
mov dword [esp + 0x14], str.pagefile.sys
jmp 0x44b734
push 0x104
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44b692
mov ecx, dword [0x56b9a8]
lea eax, [esp + 0x24]
mov dword [edi], ecx
mov dword [esp + 0x14], str.win386.swp
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x44b6b5
mov edx, dword [str.win386.swp]
mov ecx, dword [0x574550]
mov dword [eax], edx
mov edx, dword [0x574554]
mov dword [eax + 4], ecx
mov ecx, dword [0x574558]
mov dword [eax + 8], edx
mov edx, dword [0x57455c]
mov dword [eax + 0xc], ecx
mov cx, word [0x574560]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x24]
push 0
push edx
mov word [eax + 0x14], cx
call fcn.004ba160
add esp, 8
test eax, eax
jne 0x44b734
lea eax, [esp + 0x24]
push 2
push eax
call fcn.004ba160
add esp, 8
test eax, eax
jne 0x44b734
mov edx, dword [esi]
mov edx, dword [edx]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
cmp eax, 0xffffffff
je 0x44b8af
lea eax, [esp + 0x22c]
push eax
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x44b8af
push 1
mov byte [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x1c], eax
cmp word [esp + 0x22c], 0
mov dword [esp + 0x30c], 0
lea ebx, [esp + 0x22c]
je 0x44b86f
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
call ebp
cmp eax, 3
jne 0x44b84c
lea edx, [esp + 0x24]
mov eax, ebx
sub edx, ebx
jmp 0x44b7a0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44b7a0
mov eax, dword [esp + 0x14]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b7b5
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44b7d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.004ba160
add esp, 8
test eax, eax
je 0x44b809
call fcn.0051d008
cmp dword [eax], 0xd
jne 0x44b84c
call fcn.0051d008
lea edx, [esp + 0x24]
push 2
push edx
mov dword [eax], 0
call fcn.004ba160
add esp, 8
cmp eax, 0xffffffff
jne 0x44b834
call fcn.0051d008
cmp dword [eax], 0xd
je 0x44b838
jmp 0x44b84c
test eax, eax
jne 0x44b84c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
call eax
cmp eax, 0xffffffff
je 0x44b8a4
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b851
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 + 2], cx
lea ebx, [ebx + eax*2 + 2]
jne 0x44b784
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov ecx, dword [esp + 0x304]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ec]
xor ecx, esp
call fcn.0051916c
add esp, 0x2fc
ret
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
or eax, 0xffffffff
jmp 0x44b87c