Function at 0x180151bf0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c8]
sub rsp, 0x6c8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x70], rbx
mov rdx, r8
lea rcx, str.LoadCopy_DictName___s
call fcn.18001a790
test r14, r14
je 0x180151e7d
test rdi, rdi
je 0x180151e7d
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180151e7d
xor esi, esi
mov word [rbp + 0x190], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.1800be330
lea rdx, [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [rbp - 0x80], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1800be330
mov edx, 0x3e8
lea ecx, [rsi + 0x64]
call fcn.18000dc90
mov r13d, eax
mov qword [rsp + 0x20], r14
mov r9d, eax
lea r8, [rbp + 0x190]
lea rdx, str._s_d__s
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180151cf4
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x180151d15
mov rcx, rbx
call fcn.1800055d0
jmp 0x180151e9d
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.180005100
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.180157e60
test eax, eax
je 0x180151d08
cmp word [r14], si
jne 0x180151d5c
mov r8, rsi
jmp 0x180151d6a
mov r8, rdi
nop
inc r8
cmp word [r14 + r8*2], si
jne 0x180151d60
lea rcx, [r15 + 0x40]
mov rdx, r14
call fcn.180005450
cmp word [rbp - 0x80], si
jne 0x180151d81
mov r8, rsi
jmp 0x180151d9a
lea rax, [rbp - 0x80]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x180151d90
lea r12, [r15 + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.180005450
mov dword [rsp + 0x28], 0x4e20
mov dword [rsp + 0x20], r13d
lea r9, str.__GS_SYS_PY_CELL_DICT_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sCopy__s__d__d
lea rcx, [rbp + 0x3a0]
call fcn.1800b5a54
cmp word [rbp + 0x3a0], si
jne 0x180151de6
mov rdi, rsi
jmp 0x180151df9
lea rax, [rbp + 0x3a0]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], si
jne 0x180151df0
lea r14, [r15 + 0x80]
mov r8, rdi
lea rdx, [rbp + 0x3a0]
mov rcx, r14
call fcn.180005450
mov dword [rsp + 0x40], esi
cmp qword [r14 + 0x18], 8
jb 0x180151e20
mov r14, qword [r14]
cmp qword [r12 + 0x18], 8
jb 0x180151e2c
mov r12, qword [r12]
lea rax, [r15 + 0x28]
lea rcx, [r15 + 8]
lea r8, [r15 + 0x10]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov rdx, r12
mov rcx, r15
call fcn.180158690
mov qword [r15 + 0x18], rax
cmp dword [rsp + 0x40], esi
jne 0x180151d08
mov rcx, rbx
test rax, rax
je 0x180151d0b
call fcn.1800055d0
mov eax, 1
jmp 0x180151e9f
cmp qword [rbx + 0x18], 8
jb 0x180151e8c
mov rcx, qword [rbx]
call fcn.1800b5354
xor esi, esi
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
xor eax, eax
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x6c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret