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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa88
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0xa70], rax
xor r13d, r13d
mov rdi, rdx
mov rbx, rcx
mov dword [r8], r13d
lea edx, [r13 + 0x2f]
mov rcx, rdi
mov rbp, r9
mov rsi, r8
mov dword [r9], r13d
call fcn.00445930
cmp rax, r13
je 0x452e31
mov eax, dword [rbx + 0x1544]
mov dword [rsi], eax
mov dword [rbp], 0x10
mov eax, 1
jmp 0x4530a4
mov r14d, 0x208
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8, r14
mov word [rsp + 0x20], r13w
call fcn.00449860
lea rcx, [rsp + 0x442]
mov r8, r14
xor edx, edx
mov word [rsp + 0x440], r13w
call fcn.00449860
lea rcx, [rsp + 0x440]
mov rdx, rdi
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
lea rcx, [rsp + 0x440]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea rcx, [rsp + 0x862]
mov r8, r14
xor edx, edx
mov word [rsp + 0x860], r13w
call fcn.00449860
mov r12d, 0x104
lea rdx, [rsp + 0x860]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r15d, [r12 + 1]
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x20]
cmp eax, r13d
je 0x452edf
lea rdx, [rsp + 0x860]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x452eea
mov r9, r12
mov rdx, r15
call fcn.004461fc
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea rcx, [rsp + 0x652]
mov r8, r14
xor edx, edx
mov word [rsp + 0x650], r13w
call fcn.00449860
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x650]
mov r9, r12
mov rdx, r15
call fcn.004461fc
lea rcx, [rsp + 0x650]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x650]
call fcn.00446160
cmp eax, r13d
je 0x452f63
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
cmp eax, r13d
je 0x452f98
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x452f98
cmp dword [rsp + 0xaf0], r13d
jne 0x452f98
mov eax, dword [rbx + 0x1550]
jmp 0x452e1e
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], r13w
call fcn.00449860
mov edi, 0x103
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x230]
mov r9, rdi
mov rdx, r12
call fcn.004461fc
lea rcx, [rsp + 0x230]
mov r14d, 0x5c
cmp word [rsp + 0x230], r13w
je 0x453003
lea eax, [r14 - 0x2d]
cmp word [rcx], ax
jne 0x452ff9
mov word [rcx], r14w
add rcx, 2
cmp word [rcx], r13w
jne 0x452ff0
lea r8, [rsp + 0x230]
lea rcx, [rsp + 0x20]
mov r9, rdi
mov rdx, r15
call fcn.004461fc
lea rcx, [rsp + 0x20]
call fcn.00452668
cmp eax, r13d
jne 0x452e18
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x230]
call fcn.00452a08
cmp eax, r13d
jne 0x45306a
lea rdx, [0x00491d08]
lea rcx, [rsp + 0x20]
call fcn.00445330
cmp rax, r13
je 0x452e18
mov eax, dword [rbx + 0x1554]
jmp 0x452e1e
lea r12, [rbx + 0x1540]
mov edi, r13d
cmp dword [r12], r13d
jle 0x4530a2
mov r8, qword [rbx + 0x210]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.00444868
cmp eax, r13d
je 0x4530c8
inc edi
add rbx, 0x220
cmp edi, dword [r12]
jl 0x45307a
xor eax, eax
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.00443d60
add rsp, 0xa88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdx, qword [rbx + 0x210]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, rdx
je 0x4530f0
cmp word [rsp + rdx*2 + 0x20], r14w
jne 0x4530a4
mov eax, dword [rbx + 0x218]
mov dword [rsi], eax
mov eax, dword [rbx + 0x21c]
mov dword [rbp], eax
jmp 0x452e27