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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
mov word [ebp - 0x220], 0
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x428], 0
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.00415680
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x478174
push 0x208
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.004157ac
add esp, 0x14
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea edx, [ebp - 0x220]
push edx
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x44fd97
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebp + eax*2 - 0x222]
cmp ecx, 0x5c
je 0x44fd70
lea edx, [ebp - 0x220]
push edx
push 0x47817c
push 0x208
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004157ac
add esp, 0x14
jmp 0x44fd95
lea ecx, [ebp - 0x220]
push ecx
push 0x478184
push 0x208
push 0x104
lea edx, [ebp - 0x428]
push edx
call fcn.004157ac
add esp, 0x14
jmp 0x44fd9f
or eax, 0xffffffff
jmp 0x4500fc
lea eax, [ebp - 0x428]
push eax
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jbe 0x44fe93
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x434], ecx
jmp 0x44fdde
mov edx, dword [ebp - 0x434]
add edx, 1
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
test edx, edx
je 0x44fe93
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2f
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3a
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2a
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3f
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x22
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3c
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3e
je 0x44fe83
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x7c
jne 0x44fe8e
mov eax, dword [ebp - 0x434]
jmp 0x4500fc
jmp 0x44fdcf
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x42c], 0
cmp dword [ebp - 0x430], 0
jbe 0x44ff6d
mov eax, dword [ebp - 0x430]
sub eax, 1
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x430]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x44fed7
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
test edx, edx
je 0x44ff34
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x5c
jne 0x44ff05
cmp dword [ebp - 0xc], 0
je 0x44fefc
jmp 0x44fece
mov dword [ebp - 0xc], 1
jmp 0x44ff0c
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov dx, word [esi + edx*2]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x42c]
add eax, 1
mov dword [ebp - 0x42c], eax
jmp 0x44fece
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x438], ecx
jmp 0x44ff51
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
mov eax, dword [ebp - 0x438]
cmp eax, dword [ebp - 4]
jge 0x44ff6d
mov ecx, dword [ebp - 0x438]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], 0
jmp 0x44ff42
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x450083
mov dword [0x489b5c], 1
mov word [ebp - 0x648], 0
push 0x206
push 0
lea ecx, [ebp - 0x646]
push ecx
call fcn.00415680
add esp, 0xc
push 0x104
lea edx, [ebp - 0x648]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x648]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov cx, word [ebp - 0x648]
mov word [ebp - 0x43c], cx
movzx edx, word [ebp - 0x43c]
cmp edx, 0x5a
jg 0x450006
movzx eax, word [ebp - 0x43c]
cmp eax, 0x41
jl 0x450006
movzx ecx, word [ebp - 0x43c]
add ecx, 0x20
mov word [ebp - 0x43c], cx
mov dx, word [ebp - 0x43c]
mov word [ebp - 0x648], dx
mov ax, word [ebp - 0x220]
mov word [ebp - 0x43c], ax
movzx ecx, word [ebp - 0x43c]
cmp ecx, 0x5a
jg 0x45004b
movzx edx, word [ebp - 0x43c]
cmp edx, 0x41
jl 0x45004b
movzx eax, word [ebp - 0x43c]
add eax, 0x20
mov word [ebp - 0x43c], ax
mov cx, word [ebp - 0x43c]
mov word [ebp - 0x220], cx
movzx edx, word [ebp - 0x648]
movzx eax, word [ebp - 0x220]
cmp edx, eax
jne 0x450077
mov dword [0x489b5c], 1
jmp 0x450081
mov dword [0x489b5c], 2
jmp 0x4500a5
cmp dword [ebp - 0x14], 2
jne 0x450095
mov dword [0x489b5c], 5
jmp 0x4500a5
cmp dword [ebp - 0x14], 4
jne 0x4500a5
mov dword [0x489b5c], 4
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x4500d1
mov dword [0x487464], 1
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4500fa
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x4500fa
or eax, 0xffffffff
jmp 0x4500fc
xor eax, eax
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret