Function at 0x14000f800
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.140013880
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1978], rbx
mov rax, qword [0x14004a1a0]
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.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x790]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xdc0]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x13f0]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x580]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9a0]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x11e0]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1600]
call fcn.140017c40
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 0x14000f910
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 0x14000f930
lea rcx, [rbp + 0x370]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f950
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 0x14000f970
lea rcx, [rbp + 0x370]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f990
movsd xmm0, qword [str.32.ime]
movsd qword [rcx], xmm0
mov eax, dword [0x140035ae8]
mov dword [rcx + 8], eax
movzx eax, word [0x140035aec]
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 0x14000f9d0
lea rcx, [rbp + 0x790]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000f9f0
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 0x14000fa10
lea rcx, [rbp + 0x790]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000fa30
movsd xmm0, qword [str.64.ime]
movsd qword [rcx], xmm0
mov eax, dword [0x140035af8]
mov dword [rcx + 8], eax
movzx eax, word [0x140035afc]
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 0x14000fa70
lea rcx, [rbp + 0xdc0]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000fa90
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140035b08]
mov word [rcx + 8], ax
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000fae7
cmp dword [rsi + 0x50], eax
je 0x14000fae0
xor r9d, r9d
lea r8, [0x140035b10]
lea rdx, str.gb0Ri
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400103ae
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 0x14000fb04
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 0x14000fb20
lea rcx, [rbp + 0x160]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000fb40
mov eax, dword [0x140032be0]
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 0x14000fb60
lea rcx, [rbp + 0x160]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fb84
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 0x14000fba0
lea rcx, [rbp + 0x160]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fbc0
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140035b08]
mov word [rcx + 8], ax
lea rdx, [rbp + 0x370]
lea rcx, str.RegisterIME_ImeFile:_s
call fcn.140010cb0
lea r9, [rbp + 0xfd0]
lea r8, [0x140035b78]
lea rdx, [rbp + 0x370]
mov rcx, rsi
call fcn.14000ec10
test eax, eax
je 0x14000fae0
lea rdx, [rbp + 0xfd0]
lea rcx, str.RegisterIME_ImeDescrible:Name:_s
call fcn.140010cb0
mov rcx, rsi
call fcn.1400145c4
mov rcx, rsi
test eax, eax
je 0x14000ff81
lea rdx, [rsp + 0x38]
call fcn.140014724
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x790]
mov rcx, rsi
call fcn.14000dc00
test eax, eax
jne 0x14000fd3e
lea edx, [rax + 0x64]
lea ecx, [rax + 0xa]
call fcn.14000be20
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 0x14000fd3e
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes1:_d
call fcn.140010cb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r9d, [rbx + r14]
lea r8, [rbp + 0x160]
lea rdx, str._s.bak_d
lea rcx, [rsp + 0x50]
call fcn.140008050
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000fceb
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.14001d4bc
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000fd37
mov r9d, 5
lea r8, [0x140035b10]
lea rdx, [0x140035c10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000fae0
inc ebx
jmp 0x14000fc76
test r15d, r15d
je 0x14000fd8f
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x11e0]
lea rdx, str._sregsvr32.exe__s__s
lea rcx, [rsp + 0x50]
call fcn.140008050
lea rdx, [rsp + 0x50]
lea rcx, str.RegisterIME_regsvr_Cmd1:_s
call fcn.140010cb0
lea rcx, [rsp + 0x50]
call fcn.14000bd20
mov r8d, 0x104
lea rdx, [rbp + 0x580]
mov rcx, rsi
call fcn.140014594
lea rcx, [rbp + 0x580]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fdb0
mov eax, dword [0x140032be0]
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 0x14000fdd0
lea rcx, [rbp + 0x580]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fdf4
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 0x14000fe10
lea rcx, [rbp + 0x580]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x14000fe30
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140035b08]
mov word [rcx + 8], ax
lea r8, [rbp + 0x580]
lea rdx, [rbp + 0x370]
mov rcx, rsi
call fcn.14000dc00
test eax, eax
jne 0x14000ff46
lea edx, [rax + 0x64]
lea ecx, [rax + 0xa]
call fcn.14000be20
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 0x14000ff46
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes2:_d
call fcn.140010cb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r9d, [rbx + r14]
lea r8, [rbp + 0x580]
lea rdx, str._s.bak_d
lea rcx, [rsp + 0x50]
call fcn.140008050
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000fef3
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x580]
call fcn.14001d4bc
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14000ff3f
mov r9d, 5
lea r8, [0x140035b10]
lea rdx, [0x140035cb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000fae0
inc ebx
jmp 0x14000fe7e
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.14001474c
test r15d, r15d
je 0x1400100b4
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r9, [rbp + 0x580]
lea r8, [rbp + 0x1600]
jmp 0x140010099
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x370]
call fcn.14000dc00
test eax, eax
jne 0x140010074
lea edx, [rax + 0x64]
lea ecx, [rax + 0xa]
call fcn.14000be20
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 0x140010074
mov edx, ebx
lea rcx, str.RegisterIME_nCopyTimes3:_d
call fcn.140010cb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r9d, [rbx + r14]
lea r8, [rbp + 0x160]
lea rdx, str._s.bak_d
lea rcx, [rsp + 0x50]
call fcn.140008050
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140010021
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.14001d4bc
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jl 0x14001006d
mov r9d, 5
lea r8, [0x140035b10]
lea rdx, [0x140035c10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x14000fae0
inc ebx
jmp 0x14000ffac
test r15d, r15d
je 0x1400100b4
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x11e0]
lea rdx, str._sregsvr32.exe__s__s
lea rcx, [rsp + 0x50]
call fcn.140008050
lea rcx, [rsp + 0x50]
call fcn.14000bd20
mov r9d, r15d
mov r8, r13
mov rdx, r12
mov rcx, rsi
call fcn.14000e140
test r15d, r15d
je 0x14001018b
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 0x140010181
lea rdx, str.InstallLayoutOrTip
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010181
mov edx, 0x20
lea rcx, [rsp + 0x50]
call rax
mov edx, eax
lea rcx, str.RegisterIME_InstallLayoutOrTip_return__d___
call fcn.140010cb0
mov eax, 1
jmp 0x1400103ae
lea rdx, [rbp + 0xdc0]
mov rcx, rsi
call fcn.14000ee60
lea rcx, [rsp + 0x30]
call fcn.140011530
nop
lea rdx, [rbp + 0xdc0]
lea rcx, [rsp + 0x30]
call fcn.140011540
test eax, eax
jne 0x1400101d8
lea rdx, [rbp + 0xfd0]
lea rcx, [rbp + 0x160]
call sub.IMM32.dll_ImmInstallIMEW
test rax, rax
je 0x1400103a2
jmp 0x140010216
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
lea r8, [0x140035d18]
lea rdx, [0x140035d28]
lea rcx, [rsp + 0x50]
call fcn.140008050
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140011750
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140017c40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xbb0]
call fcn.140017c40
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x9a0]
mov word [rbp + rcx + 0xbb0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140010240
lea rcx, [rbp + 0xbb0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140010264
movsd xmm0, qword [str..ime]
movsd qword [rcx], xmm0
movzx eax, word [0x140035b08]
mov word [rcx + 8], ax
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0xbb0]
mov rcx, rsi
call fcn.14000ea30
test eax, eax
jne 0x1400102ae
lea rcx, str.RegisterIME_GetIMERegInfo_Failed
call fcn.140010cb0
jmp 0x1400103a2
lea rdx, [rbp + 0xbb0]
lea rcx, str.RegisterIME_DeleteRepeatVectorTImeLayout__s
call fcn.140010cb0
lea rdx, [rbp + 0xbb0]
mov rcx, rsi
call fcn.14000e520
mov ecx, 0xf0
call fcn.140013118
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0xf0
mov rcx, rax
call fcn.140017c40
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 0x140010310
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 0x140010330
mov rcx, qword [rsi + 0x48]
mov r8, qword [rcx]
cmp r8, qword [rcx + 8]
je 0x14001037f
mov rax, qword [rcx + 8]
cmp edi, 1
je 0x140010363
inc edi
add r8, 8
cmp r8, rax
jne 0x140010351
jmp 0x14001037f
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [rsp + 0x48]
call fcn.140011020
jmp 0x140010389
lea rdx, [rsp + 0x38]
call fcn.1400114a0
lea rcx, str.RegisterIME_SaveVectorTImeLayout
call fcn.140010cb0
mov rcx, rsi
call fcn.1400103e0
mov edi, 1
lea rcx, [rsp + 0x30]
call fcn.1400084d0
mov eax, edi
mov rcx, qword [rbp + 0x1810]
xor rcx, rsp
call fcn.140013270
mov rbx, qword [rsp + 0x1978]
add rsp, 0x1920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret