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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1820]
mov eax, 0x1920
call fcn.140012e50
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1978], rbx
mov rax, qword [0x1400441a0]
xor rax, rsp
mov qword [rbp + 0x1810], rax
mov r15d, r9d
mov r13, r8
mov r12, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x370]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x790]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xdc0]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x13f0]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x580]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9a0]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x11e0]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1600]
call fcn.140014200
mov rcx, r13
lea rdx, [rbp + 0x9a0]
sub rdx, r13
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000f580
mov rcx, r12
lea rdx, [rbp + 0x370]
sub rdx, r12
nop dword [rax]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000f5a0
lea rcx, [rbp + 0x370]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f5c0
lea r8, [rbp + 0x9a0]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000f5e0
lea rcx, [rbp + 0x370]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f600
movsd xmm0, qword [str.32.ime]
movsd qword [rcx], xmm0
mov eax, dword [0x140031088]
mov dword [rcx + 8], eax
movzx eax, word [0x14003108c]
mov word [rcx + 0xc], ax
mov rcx, r12
lea rdx, [rbp + 0x790]
sub rdx, r12
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000f640
lea rcx, [rbp + 0x790]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f660
lea r8, [rbp + 0x9a0]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000f680
lea rcx, [rbp + 0x790]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f6a0
movsd xmm0, qword [str.64.ime]
movsd qword [rcx], xmm0
mov eax, dword [0x140031098]
mov dword [rcx + 8], eax
movzx eax, word [0x14003109c]
mov word [rcx + 0xc], ax
mov rcx, r13
lea rdx, [rbp + 0xdc0]
sub rdx, r13
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000f6e0
lea rcx, [rbp + 0xdc0]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f700
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x1400310a8]
mov word [rcx + 8], ax
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000f757
cmp dword [rsi + 0x50], eax
je 0x14000f750
xor r9d, r9d
lea r8, [0x1400310b0]
lea rdx, str.gb0Ri
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14001001e
mov edx, 0x104
lea rcx, [rbp + 0x13f0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x160]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f774
lea r8, [rbp + 0x13f0]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000f790
lea rcx, [rbp + 0x160]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f7b0
mov eax, dword [0x14002e8a4]
mov dword [rcx], eax
xor edi, edi
mov ecx, edi
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x160]
mov word [rbp + rcx + 0x11e0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000f7d0
lea rcx, [rbp + 0x160]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000f7f4
lea r8, [rbp + 0x9a0]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000f810
lea rcx, [rbp + 0x160]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000f830
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x1400310a8]
mov word [rcx + 8], ax
lea rdx, [rbp + 0x370]
lea rcx, str.RegisterIME_ImeFile:_s
call fcn.140009530
lea r9, [rbp + 0xfd0]
lea r8, [0x140031118]
lea rdx, [rbp + 0x370]
mov rcx, rsi
call fcn.14000e880
test eax, eax
je 0x14000f750
lea rdx, [rbp + 0xfd0]
lea rcx, str.RegisterIME_ImeDescrible:Name:_s
call fcn.140009530
mov rcx, rsi
call fcn.140005910
mov rcx, rsi
test eax, eax
je 0x14000fbf1
lea rdx, [rsp + 0x38]
call fcn.140005a30
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x790]
mov rcx, rsi
call fcn.14000d870
test eax, eax
jne 0x14000f9ae
lea edx, [rax + 0x64]
lea ecx, [rax + 0xa]
call fcn.1400031b0
mov r14d, eax
mov ebx, edi
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000f9ae
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes1:_d
call fcn.140009530
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r9d, [rbx + r14]
lea r8, [rbp + 0x160]
lea rdx, str._s.bak_d
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000f95b
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.14001a320
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000f9a7
mov r9d, 5
lea r8, [0x1400310b0]
lea rdx, [0x1400311b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000f750
inc ebx
jmp 0x14000f8e6
test r15d, r15d
je 0x14000f9ff
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x11e0]
lea rdx, str._sregsvr32.exe__s__s
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea rdx, [rsp + 0x50]
lea rcx, str.RegisterIME_regsvr_Cmd1:_s
call fcn.140009530
lea rcx, [rsp + 0x50]
call fcn.1400030b0
mov r8d, 0x104
lea rdx, [rbp + 0x580]
mov rcx, rsi
call fcn.1400058e0
lea rcx, [rbp + 0x580]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fa20
mov eax, dword [0x14002e8a4]
mov dword [rcx], eax
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbp + rcx + 0x580]
mov word [rbp + rcx + 0x1600], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000fa40
lea rcx, [rbp + 0x580]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fa64
lea r8, [rbp + 0x9a0]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000fa80
lea rcx, [rbp + 0x580]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000faa0
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x1400310a8]
mov word [rcx + 8], ax
lea r8, [rbp + 0x580]
lea rdx, [rbp + 0x370]
mov rcx, rsi
call fcn.14000d870
test eax, eax
jne 0x14000fbb6
lea edx, [rax + 0x64]
lea ecx, [rax + 0xa]
call fcn.1400031b0
mov r14d, eax
mov ebx, edi
xor r8d, r8d
lea rdx, [rbp + 0x580]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000fbb6
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes2:_d
call fcn.140009530
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r9d, [rbx + r14]
lea r8, [rbp + 0x580]
lea rdx, str._s.bak_d
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000fb63
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x580]
call fcn.14001a320
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000fbaf
mov r9d, 5
lea r8, [0x1400310b0]
lea rdx, [0x140031250]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000f750
inc ebx
jmp 0x14000faee
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140005a60
test r15d, r15d
je 0x14000fd24
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r9, [rbp + 0x580]
lea r8, [rbp + 0x1600]
jmp 0x14000fd09
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x370]
call fcn.14000d870
test eax, eax
jne 0x14000fce4
lea edx, [rax + 0x64]
lea ecx, [rax + 0xa]
call fcn.1400031b0
mov r14d, eax
mov ebx, edi
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000fce4
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes3:_d
call fcn.140009530
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r9d, [rbx + r14]
lea r8, [rbp + 0x160]
lea rdx, str._s.bak_d
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000fc91
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.14001a320
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000fcdd
mov r9d, 5
lea r8, [0x1400310b0]
lea rdx, [0x1400311b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000f750
inc ebx
jmp 0x14000fc1c
test r15d, r15d
je 0x14000fd24
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x11e0]
lea rdx, str._sregsvr32.exe__s__s
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea rcx, [rsp + 0x50]
call fcn.1400030b0
mov r9d, r15d
mov r8, r13
mov rdx, r12
mov rcx, rsi
call fcn.14000ddb0
test r15d, r15d
je 0x14000fdfb
lea rcx, [rsp + 0x50]
lea rax, str.0804:8BC4F2D7_F7C1_44B4_B196_545F4B7C4D44D7651DA7_5841_4707_ACA3_F630AE5C0230
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x80], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x90], xmm0
mov eax, dword [rax + 0xa0]
mov dword [rcx + 0xa0], eax
lea rcx, str.input.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14000fdf1
lea rdx, str.InstallLayoutOrTip
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000fdf1
mov edx, 0x20
lea rcx, [rsp + 0x50]
call rax
mov edx, eax
lea rcx, str.RegisterIME_InstallLayoutOrTip_return__d___
call fcn.140009530
mov eax, 1
jmp 0x14001001e
lea rdx, [rbp + 0xdc0]
mov rcx, rsi
call fcn.14000ead0
lea rcx, [rsp + 0x30]
call fcn.140010db0
nop
lea rdx, [rbp + 0xdc0]
lea rcx, [rsp + 0x30]
call fcn.140010dc0
test eax, eax
jne 0x14000fe48
lea rdx, [rbp + 0xfd0]
lea rcx, [rbp + 0x160]
call sub.IMM32.dll_ImmInstallIMEW
test rax, rax
je 0x140010012
jmp 0x14000fe86
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
lea r8, [0x1400312b8]
lea rdx, [0x1400312c8]
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140010fd0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140014200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xbb0]
call fcn.140014200
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x9a0]
mov word [rbp + rcx + 0xbb0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000feb0
lea rcx, [rbp + 0xbb0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000fed4
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x1400310a8]
mov word [rcx + 8], ax
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0xbb0]
mov rcx, rsi
call fcn.14000e6a0
test eax, eax
jne 0x14000ff1e
lea rcx, str.RegisterIME_GetIMERegInfo_Failed
call fcn.140009530
jmp 0x140010012
lea rdx, [rbp + 0xbb0]
lea rcx, str.RegisterIME_DeleteRepeatVectorTImeLayout__s
call fcn.140009530
lea rdx, [rbp + 0xbb0]
mov rcx, rsi
call fcn.14000e190
mov ecx, 0xf0
call fcn.140012ee4
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0xf0
mov rcx, rax
call fcn.140014200
lea rdx, [rbp + 0xfd0]
lea rax, [rbp + 0xfd0]
mov rcx, rbx
sub rcx, rax
lea rax, [rcx + 0x8c]
nop dword [rax]
movzx ecx, word [rdx]
mov word [rdx + rax], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x14000ff80
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x50]
sub rbx, rax
nop dword [rax]
movzx eax, word [rcx]
mov word [rcx + rbx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000ffa0
mov rcx, qword [rsi + 0x48]
mov r8, qword [rcx]
cmp r8, qword [rcx + 8]
je 0x14000ffef
mov rax, qword [rcx + 8]
cmp edi, 1
je 0x14000ffd3
inc edi
add r8, 8
cmp r8, rax
jne 0x14000ffc1
jmp 0x14000ffef
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [rsp + 0x48]
call fcn.140010920
jmp 0x14000fff9
lea rdx, [rsp + 0x38]
call fcn.140010d20
lea rcx, str.RegisterIME_SaveVectorTImeLayout
call fcn.140009530
mov rcx, rsi
call fcn.140010050
mov edi, 1
lea rcx, [rsp + 0x30]
call fcn.140013fd0
mov eax, edi
mov rcx, qword [rbp + 0x1810]
xor rcx, rsp
call fcn.140012ec0
mov rbx, qword [rsp + 0x1978]
add rsp, 0x1920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret