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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x608]
sub rsp, 0x700
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14003a200]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.140010590
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call fcn.140010590
xor edi, edi
mov rax, qword [0x14003b780]
test rax, rax
jne 0x14000b79f
mov ecx, 0x1b0
call fcn.14000cffc
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000b795
mov rcx, rax
call fcn.14000b120
jmp 0x14000b798
mov rax, rdi
mov qword [0x14003b780], rax
mov rcx, rax
call fcn.140001df0
lea rdx, [rbp + 0x3e0]
sub rdx, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14000b7c0
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
mov r8d, 0xc
lea rdx, str.PDMenu64.dll
lea rcx, [rbp - 0x60]
call fcn.1400051d0
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
mov r8d, 0xc
lea rdx, str.PDMenu32.dll
lea rcx, [rbp - 0x80]
call fcn.1400051d0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.140010590
mov edx, 0x104
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000b850
mov eax, dword [0x14002572c]
mov dword [rcx], eax
lea rcx, [rsp + 0x30]
call fcn.14000ac50
nop
lea rcx, [rsp + 0x30]
call fcn.14000acd0
mov rcx, rdi
test eax, eax
je 0x14000b980
movzx eax, word [rbp + rcx + 0x3e0]
mov word [rbp + rcx - 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000b882
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x40]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000b8b0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000b8c0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x3e0]
mov word [rbp + rcx - 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000b8e0
lea r8, [rbp - 0x60]
mov r9, qword [rbp - 0x60]
mov r10, qword [rbp - 0x48]
cmp r10, 8
cmovae r8, r9
lea rcx, [rbp - 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000b912
xor edx, edx
nop
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000b920
lea r8, [rbp - 0x60]
cmp r10, 8
cmovae r8, r9
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000b950
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000b960
jmp 0x14000ba72
movzx eax, word [rbp + rcx + 0x3e0]
mov word [rbp + rcx - 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000b980
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000b9b0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000b9c0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x3e0]
mov word [rbp + rcx - 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000b9e0
lea r8, [rbp - 0x80]
mov r9, qword [rbp - 0x80]
mov r10, qword [rbp - 0x68]
cmp r10, 8
cmovae r8, r9
lea rcx, [rbp - 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000ba12
xor edx, edx
nop
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000ba20
lea r8, [rbp - 0x80]
cmp r10, 8
cmovae r8, r9
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000ba50
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000ba60
mov ebx, edi
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000bb3e
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000bb3e
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x40]
call fcn.140006b10
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes1:_d
call fcn.14000ae70
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call fcn.140010590
mov r9d, ebx
lea r8, [rbp + 0x1d0]
lea rdx, str._s.bak_d
lea rcx, [rbp + 0x3e0]
call fcn.140005490
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp + 0x1d0]
call fcn.140013f68
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jge 0x14000bbae
inc ebx
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000ba90
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
nop dword [rax + rax]
movzx eax, word [rbp + rcx + 0x1d0]
mov word [rbp + rcx - 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000bb50
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000bbae
lea rdx, str.DllRegisterServer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000bb9e
call rax
test eax, eax
jns 0x14000bb9e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000bbae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, 1
jmp 0x14000bbb0
mov ebx, edi
lea rcx, [rsp + 0x30]
call fcn.14000ac90
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14000bbd5
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140005320
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x14000bbff
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140005320
mov eax, ebx
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.14000d1c0
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret