Function at 0x140128fc0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rsi, r8
mov r14d, edx
mov rdi, rcx
lea rdx, str.CBaseInfoCustomDrv::GetBackUpFolderPath
lea rcx, [rsp + 0x30]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea rbp, [0x1402bbdb0]
mov rbx, qword [0x1402a8360]
cmp rbx, r15
je 0x14012904f
test byte [rbx + 0x1c], 1
je 0x14012904f
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x3b
lea r8, [0x140261908]
mov rcx, qword [rbx + 0x10]
call fcn.140001ad0
mov rbx, qword [0x1402a8360]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x290]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.1401e7e40
test rsi, rsi
jne 0x140129092
mov edi, 0x80010001
mov dword [0x1402bbd98], 1
jmp 0x14012913d
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x1400136d6.0]
lea r9, [rsp + 0x80]
mov edx, 1
call fcn.14013ebf0
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov rax, qword [rdi]
lea r8, [rsp + 0x290]
mov edx, 0x104
mov rcx, rdi
mov rax, qword [rax + 0xe0]
call qword [case.0x1400136d6.0]
mov edi, eax
test eax, eax
jne 0x140129136
mov rdx, r14
lea rax, [rsp + 0x290]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1402528f8]
mov r8, 0xffffffffffffffff
mov rcx, rsi
call fcn.140051530
test eax, eax
jns 0x14012921b
mov edi, 0x80010041
mov dword [0x1402bbd98], 0x41
mov rbx, qword [0x1402a8360]
mov al, 1
mov byte [rsp + 0x38], al
cmp rbx, r15
je 0x140129185
test byte [rbx + 0x1c], al
je 0x140129185
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x3e
mov dword [rsp + 0x20], edi
lea r8, [0x140261908]
mov rcx, qword [rbx + 0x10]
call fcn.140001b40
movzx eax, byte [rsp + 0x38]
mov rbx, qword [0x1402a8360]
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x30], rcx
test al, al
jne 0x1401291de
cmp rbx, r15
je 0x1401291de
test byte [rbx + 0x1c], 1
je 0x1401291de
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
cmovae rbp, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rbp
lea r8, [0x140252818]
mov rcx, qword [rbx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140129136
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140129269
test byte [rcx + 0x1c], 4
je 0x140129269
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x3c]
mov qword [rsp + 0x20], rsi
lea r8, [0x140261908]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140129136
mov rbx, qword [0x1402a8360]
cmp rbx, r15
je 0x1401292d6
test byte [rbx + 0x1c], 2
je 0x1401292d6
mov rbx, rbp
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x30]
call fcn.14001b0b0
mov edx, 0x3d
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140261908]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rbx, qword [0x1402a8360]
mov edi, 0x80010009
mov dword [0x1402bbd98], 9
jmp 0x14012913d