Function at 0x14000ec20
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.140012660
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1978], rbx
mov rax, qword [0x1400431a0]
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.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x790]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xdc0]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x13f0]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x580]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9a0]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x11e0]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1600]
call fcn.1400139c0
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 0x14000ed30
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 0x14000ed50
lea rcx, [rbp + 0x370]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000ed70
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 0x14000ed90
lea rcx, [rbp + 0x370]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000edb0
movsd xmm0, qword [str.32.ime]
movsd qword [rcx], xmm0
mov eax, dword [0x140030008]
mov dword [rcx + 8], eax
movzx eax, word [0x14003000c]
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 0x14000edf0
lea rcx, [rbp + 0x790]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000ee10
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 0x14000ee30
lea rcx, [rbp + 0x790]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000ee50
movsd xmm0, qword [str.64.ime]
movsd qword [rcx], xmm0
mov eax, dword [0x140030018]
mov dword [rcx + 8], eax
movzx eax, word [0x14003001c]
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 0x14000ee90
lea rcx, [rbp + 0xdc0]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000eeb0
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140030028]
mov word [rcx + 8], ax
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000ef07
cmp dword [rsi + 0x50], eax
je 0x14000ef00
xor r9d, r9d
lea r8, [0x140030030]
lea rdx, str.gb0Ri
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14000f7ce
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 0x14000ef24
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 0x14000ef40
lea rcx, [rbp + 0x160]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000ef60
mov eax, dword [0x14002d894]
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 0x14000ef80
lea rcx, [rbp + 0x160]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000efa4
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 0x14000efc0
lea rcx, [rbp + 0x160]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000efe0
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140030028]
mov word [rcx + 8], ax
lea rdx, [rbp + 0x370]
lea rcx, str.RegisterIME_ImeFile:_s
call fcn.140009470
lea r9, [rbp + 0xfd0]
lea r8, [0x140030098]
lea rdx, [rbp + 0x370]
mov rcx, rsi
call fcn.14000e030
test eax, eax
je 0x14000ef00
lea rdx, [rbp + 0xfd0]
lea rcx, str.RegisterIME_ImeDescrible:Name:_s
call fcn.140009470
mov rcx, rsi
call fcn.1400058b0
mov rcx, rsi
test eax, eax
je 0x14000f3a1
lea rdx, [rsp + 0x38]
call fcn.1400059d0
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x790]
mov rcx, rsi
call fcn.14000d020
test eax, eax
jne 0x14000f15e
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 0x14000f15e
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes1:_d
call fcn.140009470
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
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 0x14000f10b
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.140019b40
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000f157
mov r9d, 5
lea r8, [0x140030030]
lea rdx, [0x140030130]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000ef00
inc ebx
jmp 0x14000f096
test r15d, r15d
je 0x14000f1af
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
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.140009470
lea rcx, [rsp + 0x50]
call fcn.1400030b0
mov r8d, 0x104
lea rdx, [rbp + 0x580]
mov rcx, rsi
call fcn.140005880
lea rcx, [rbp + 0x580]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000f1d0
mov eax, dword [0x14002d894]
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 0x14000f1f0
lea rcx, [rbp + 0x580]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000f214
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 0x14000f230
lea rcx, [rbp + 0x580]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000f250
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140030028]
mov word [rcx + 8], ax
lea r8, [rbp + 0x580]
lea rdx, [rbp + 0x370]
mov rcx, rsi
call fcn.14000d020
test eax, eax
jne 0x14000f366
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 0x14000f366
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes2:_d
call fcn.140009470
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
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 0x14000f313
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x580]
call fcn.140019b40
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000f35f
mov r9d, 5
lea r8, [0x140030030]
lea rdx, [0x1400301d0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000ef00
inc ebx
jmp 0x14000f29e
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140005a00
test r15d, r15d
je 0x14000f4d4
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
lea r9, [rbp + 0x580]
lea r8, [rbp + 0x1600]
jmp 0x14000f4b9
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x370]
call fcn.14000d020
test eax, eax
jne 0x14000f494
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 0x14000f494
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes3:_d
call fcn.140009470
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
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 0x14000f441
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.140019b40
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000f48d
mov r9d, 5
lea r8, [0x140030030]
lea rdx, [0x140030130]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000ef00
inc ebx
jmp 0x14000f3cc
test r15d, r15d
je 0x14000f4d4
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
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.14000d560
test r15d, r15d
je 0x14000f5ab
lea rcx, [rsp + 0x50]
lea rax, str.0804:8F233D5B_E44C_47DE_B1CC_2C92FEDE6CE17556EAD1_4C0B_4090_9994_A55D790D0752
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 0x14000f5a1
lea rdx, str.InstallLayoutOrTip
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f5a1
mov edx, 0x20
lea rcx, [rsp + 0x50]
call rax
mov edx, eax
lea rcx, str.RegisterIME_InstallLayoutOrTip_return__d___
call fcn.140009470
mov eax, 1
jmp 0x14000f7ce
lea rdx, [rbp + 0xdc0]
mov rcx, rsi
call fcn.14000e280
lea rcx, [rsp + 0x30]
call fcn.140011340
nop
lea rdx, [rbp + 0xdc0]
lea rcx, [rsp + 0x30]
call fcn.140010570
test eax, eax
jne 0x14000f5f8
lea rdx, [rbp + 0xfd0]
lea rcx, [rbp + 0x160]
call sub.IMM32.dll_ImmInstallIMEW
test rax, rax
je 0x14000f7c2
jmp 0x14000f636
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
lea r8, [0x140030238]
lea rdx, [0x140030248]
lea rcx, [rsp + 0x50]
call fcn.140001d50
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140010780
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400139c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xbb0]
call fcn.1400139c0
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x9a0]
mov word [rbp + rcx + 0xbb0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000f660
lea rcx, [rbp + 0xbb0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f684
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140030028]
mov word [rcx + 8], ax
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0xbb0]
mov rcx, rsi
call fcn.14000de50
test eax, eax
jne 0x14000f6ce
lea rcx, str.RegisterIME_GetIMERegInfo_Failed
call fcn.140009470
jmp 0x14000f7c2
lea rdx, [rbp + 0xbb0]
lea rcx, str.RegisterIME_DeleteRepeatVectorTImeLayout__s
call fcn.140009470
lea rdx, [rbp + 0xbb0]
mov rcx, rsi
call fcn.14000d940
mov ecx, 0xf0
call fcn.1400126f4
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0xf0
mov rcx, rax
call fcn.1400139c0
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 0x14000f730
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 0x14000f750
mov rcx, qword [rsi + 0x48]
mov r8, qword [rcx]
cmp r8, qword [rcx + 8]
je 0x14000f79f
mov rax, qword [rcx + 8]
cmp edi, 1
je 0x14000f783
inc edi
add r8, 8
cmp r8, rax
jne 0x14000f771
jmp 0x14000f79f
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [rsp + 0x48]
call fcn.1400100d0
jmp 0x14000f7a9
lea rdx, [rsp + 0x38]
call fcn.1400104d0
lea rcx, str.RegisterIME_SaveVectorTImeLayout
call fcn.140009470
mov rcx, rsi
call fcn.14000f800
mov edi, 1
lea rcx, [rsp + 0x30]
call fcn.140010560
mov eax, edi
mov rcx, qword [rbp + 0x1810]
xor rcx, rsp
call fcn.1400126d0
mov rbx, qword [rsp + 0x1978]
add rsp, 0x1920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret