Function at 0x14012c110
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, r9
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x70], rdx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
lea rcx, [rbp - 0x40]
call fcn.140078ca0
nop
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x60]
call fcn.140078ca0
nop
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
mov r13, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14012c193
mov r13, qword [r12]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, eax
mov r8, r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdi, 0xffffffffffffffff
lea r14d, [rdi + 3]
test eax, eax
jle 0x14012c22a
movsxd rcx, eax
inc rcx
mov qword [rsp + 0x38], rcx
mov eax, r14d
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1403987c8
mov rbx, rax
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x48]
mov r8, r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
js 0x14012c220
movsxd r8, eax
cmp r8, qword [rsp + 0x38]
jae 0x14012c220
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140078ce0
nop
mov rcx, rbx
call fcn.140398020
xor ebx, ebx
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x48], rax
mov r13, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14012c240
mov r13, qword [r15]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, eax
mov r8, r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x14012c2cc
movsxd rcx, eax
inc rcx
mov qword [rsp + 0x38], rcx
mov rax, r14
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1403987c8
mov rbx, rax
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x48]
mov r8, r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
js 0x14012c2c2
movsxd r8, eax
cmp r8, qword [rsp + 0x38]
jae 0x14012c2c2
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140078ce0
nop
mov rcx, rbx
call fcn.140398020
xor ebx, ebx
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.14012a680
nop
cmp qword [rsp + 0x40], 0
jne 0x14012c32e
mov qword [rsi], rbx
mov dword [rsp + 0x30], r14d
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
or r14d, 1
mov dword [rsp + 0x30], r14d
mov rcx, qword [rsp + 0x40]
movzx eax, cl
not al
test al, 1
jne 0x14012c315
call fcn.140136020
nop
lea rcx, [rbp - 0x60]
call fcn.14007cec0
nop
lea rcx, [rbp - 0x40]
call fcn.14007cec0
nop
jmp 0x14012cb14
mov dword [rsp + 0x48], 1
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x80], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012c367
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_base_file_util.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x215
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r13, [0x1404d34b0]
mov rdx, r13
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_33m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.WARNING]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r13
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.TransactionalMoveFile_failed:_from:
call fcn.14010ea90
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x14012c45c
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.14010fc80
lea rdx, str.__to:
mov rcx, rax
call fcn.14010ea90
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14012c483
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14010fc80
lea rdx, str.__status:
mov rcx, rax
call fcn.14010ea90
mov rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140128ec0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012c4c1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
nop
lea rcx, [rbp - 0x80]
call fcn.14007cfc0
nop
mov qword [rsp + 0x50], rbx
lea rcx, [rbp - 0x20]
call fcn.14007cfc0
nop
mov rdx, rbx
call fcn.140126770
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140129050
nop
cmp qword [rsp + 0x58], 0
je 0x14012c686
mov r8d, 1
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.140128ec0
mov r9, rax
mov rdx, qword [rsp + 0x58]
movzx ecx, dl
not cl
test cl, 1
jne 0x14012c54b
lea rcx, [rdx + 7]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14012c541
mov rcx, qword [rcx]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdx
jmp 0x14012c588
movzx eax, dl
not al
test al, 1
je 0x14012c573
test dl, 2
je 0x14012c573
lea rax, str.Status_accessed_after_move.
mov qword [rbp - 0x80], rax
inc rdi
cmp byte [rax + rdi], 0
jne 0x14012c564
mov qword [rbp - 0x78], rdi
jmp 0x14012c57d
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
lea rax, [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
lea rax, str.GetFileAttributes_failed:__s__Status_of_TransactionalMoveFile:__s
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0x41
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.14012d750
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012c5c8
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
mov rdx, qword [rsp + 0x58]
movzx eax, dl
not al
test al, 1
je 0x14012c5e4
shr rdx, 2
jmp 0x14012c5e7
mov edx, dword [rdx + 3]
cmp edx, 0x10
ja case.default.0x14012c60a
movsxd rax, edx
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x12cb58]
mov ecx, dword [r8 + rax*4 + 0x12cb54]
add rcx, r8
jmp rcx
mov edx, r14d
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rcx, rsi
call fcn.140136090
mov dword [rsp + 0x30], 1
lea rcx, [rbp - 0x20]
call fcn.14007cfc0
nop
lea rcx, [rbp]
call fcn.14007cfc0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14012c659
movzx eax, cl
not al
test al, 1
jne 0x14012c659
call fcn.140136020
nop
mov rcx, qword [rsp + 0x40]
movzx eax, cl
not al
test al, 1
jne 0x14012c66d
call fcn.140136020
nop
lea rcx, [rbp - 0x60]
call fcn.14007cec0
nop
lea rcx, [rbp - 0x40]
call fcn.14007cec0
nop
jmp 0x14012cb14
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.1401292e0
nop
cmp qword [rsp + 0x38], 0
je 0x14012c839
mov r8d, 1
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140128ec0
mov r9, rax
mov rcx, qword [rsp + 0x38]
movzx edx, cl
not dl
test dl, 1
jne 0x14012c6e2
add rcx, 7
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14012c6d8
mov rcx, qword [rcx]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdx
jmp 0x14012c724
movzx eax, cl
not al
test al, 1
je 0x14012c70f
test cl, 2
je 0x14012c70f
lea rax, str.Status_accessed_after_move.
mov qword [rbp - 0x80], rax
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14012c700
mov qword [rbp - 0x78], rdi
jmp 0x14012c719
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
lea rax, [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
lea rax, str.StripWritePreventingAttributesIfExists_failed:__s__Status_of_TransactionalMoveFile:__s
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0x56
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.14012d750
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012c764
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
mov rax, qword [rsp + 0x38]
movzx ecx, al
not cl
test cl, 1
je 0x14012c781
shr rax, 2
jmp 0x14012c784
mov eax, dword [rax + 3]
cmp eax, 0x10
ja case.default.0x14012c7a7
movsxd rcx, eax
lea r8, [0x140000000]
movzx ecx, byte [r8 + rcx + 0x12cb70]
mov edx, dword [r8 + rcx*4 + 0x12cb6c]
add rdx, r8
jmp rdx
mov eax, r14d
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
mov rcx, rsi
call fcn.140136090
mov dword [rsp + 0x30], 1
lea rcx, [rbp]
call fcn.14007cfc0
nop
lea rcx, [rbp - 0x20]
call fcn.14007cfc0
nop
mov rcx, qword [rsp + 0x38]
movzx eax, cl
not al
test al, 1
jne 0x14012c7f3
call fcn.140136020
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14012c80c
movzx eax, cl
not al
test al, 1
jne 0x14012c80c
call fcn.140136020
nop
mov rcx, qword [rsp + 0x40]
movzx eax, cl
not al
test al, 1
jne 0x14012c820
call fcn.140136020
nop
lea rcx, [rbp - 0x60]
call fcn.14007cec0
nop
lea rcx, [rbp - 0x40]
call fcn.14007cec0
nop
jmp 0x14012cb14
mov rcx, qword [rsp + 0x38]
movzx eax, cl
not al
test al, 1
jne 0x14012c84c
call fcn.140136020
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14012c94c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r8d, 1
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140128ec0
nop
lea rcx, str.MoveFileExW_failed__Status_of_TransactionalMoveFile:__s
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], 0x37
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.14012d4b0
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012c8cb
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, ebx
mov rcx, rsi
call fcn.1401307b0
mov dword [rsp + 0x30], 1
lea rcx, [rbp]
call fcn.14007cfc0
nop
lea rcx, [rbp - 0x20]
call fcn.14007cfc0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14012c91f
movzx eax, cl
not al
test al, 1
jne 0x14012c91f
call fcn.140136020
nop
mov rcx, qword [rsp + 0x40]
movzx eax, cl
not al
test al, 1
jne 0x14012c933
call fcn.140136020
nop
lea rcx, [rbp - 0x60]
call fcn.14007cec0
nop
lea rcx, [rbp - 0x40]
call fcn.14007cec0
nop
jmp 0x14012cb14
cmp qword [rsp + 0x58], 0
jne 0x14012cb49
mov r8d, dword [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140129150
nop
cmp qword [rsp + 0x38], 0
je 0x14012caa2
mov r8d, 1
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140128ec0
nop
cmp qword [rsp + 0x58], 0
jne 0x14012cb3e
lea rcx, str.SetFileAttributes_failed:_original_attrs:__d__Status_of_TransactionalMoveFile:__s
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], 0x51
mov r9, rax
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.14012d870
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012c9d0
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
mov rax, qword [rsp + 0x38]
movzx ecx, al
not cl
test cl, 1
je 0x14012c9ed
shr rax, 2
jmp 0x14012c9f0
mov eax, dword [rax + 3]
cmp eax, 0x10
ja case.default.0x14012ca13
movsxd rcx, eax
lea r8, [0x140000000]
movzx ecx, byte [r8 + rcx + 0x12cb88]
mov edx, dword [r8 + rcx*4 + 0x12cb84]
add rdx, r8
jmp rdx
mov eax, r14d
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
mov rcx, rsi
call fcn.140136090
mov dword [rsp + 0x30], 1
lea rcx, [rbp]
call fcn.14007cfc0
nop
lea rcx, [rbp - 0x20]
call fcn.14007cfc0
nop
mov rcx, qword [rsp + 0x38]
movzx eax, cl
not al
test al, 1
jne 0x14012ca5f
call fcn.140136020
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14012ca78
movzx eax, cl
not al
test al, 1
jne 0x14012ca78
call fcn.140136020
nop
mov rcx, qword [rsp + 0x40]
movzx eax, cl
not al
test al, 1
jne 0x14012ca8c
call fcn.140136020
nop
lea rcx, [rbp - 0x60]
call fcn.14007cec0
nop
lea rcx, [rbp - 0x40]
call fcn.14007cec0
nop
jmp 0x14012cb14
mov rcx, qword [rsp + 0x38]
movzx eax, cl
not al
test al, 1
jne 0x14012cab6
call fcn.140136020
nop
xor eax, eax
mov qword [rsi], rax
mov eax, 0x20000
mov dword [rsp + 0x30], eax
btr eax, 0x11
mov dword [rsp + 0x30], eax
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14012caec
movzx eax, cl
not al
test al, 1
jne 0x14012caec
call fcn.140136020
nop
mov rcx, qword [rsp + 0x40]
movzx eax, cl
not al
test al, 1
jne 0x14012cb00
call fcn.140136020
nop
lea rcx, [rbp - 0x60]
call fcn.14007cec0
nop
lea rcx, [rbp - 0x40]
call fcn.14007cec0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140398000
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x58]
call fcn.140136c60
nop
lea rcx, [rsp + 0x58]
call fcn.140136c60
int3