Function at 0x14002a7d8
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov rsi, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x118], rax
cmp qword [rcx + 0x48], 0
je 0x14002a823
lea rcx, [rsi + 0x48]
mov qword [rsi + 0x80], 0
call fcn.14005db82
mov rdx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x78]
shl rax, 5
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov r8, qword [rdx + rax + 0x10]
cmp qword [rdx + rax + 0x18], 0x10
jb 0x14002a855
mov rdx, qword [rdx + rax]
jmp 0x14002a858
add rdx, rax
lea rdi, [rsp + 0xb0]
mov rcx, rdi
call fcn.140003022
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14002a87b
mov rdi, qword [rsp + 0xb0]
lea rcx, [rsp + 0x60]
mov qword [rcx], rdi
mov qword [rcx + 8], rax
call fcn.14002b480
test al, al
je 0x14002a903
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0xc8], 0x10
jb 0x14002a8ad
mov rdx, qword [rsp + 0xb0]
jmp 0x14002a8b5
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x50]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.14002b23b
test al, al
jne 0x14002a903
cmp qword [rsp + 0xc8], 0x10
jb 0x14002a8df
mov rdi, qword [rsp + 0xb0]
jmp 0x14002a8e7
lea rdi, [rsp + 0xb0]
mov ecx, 2
call fcn.1401642f0
lea rdx, str.Failed_to_delete:__s_n
mov rcx, rax
mov r8, rdi
call fcn.14002a776
mov rbx, qword [rsi + 0x78]
test rbx, rbx
je 0x14002accd
mov rdi, rbx
shl rdi, 5
xorps xmm6, xmm6
lea r13, [rsp + 0x70]
lea rbp, [rsp + 0x40]
lea r14, [rsp + 0xf0]
mov r12, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x50]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
cmp qword [rax + rdi + 0x18], 0x10
jb 0x14002a95a
mov rdx, qword [rax + rdi]
jmp 0x14002a95e
lea rdx, [rax + rdi]
mov r8, qword [rax + rdi + 0x10]
lea rcx, [rsp + 0x90]
call fcn.140003022
mov rax, qword [rsi + 0x50]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov r8, qword [rax + rdi - 0x10]
cmp qword [rax + rdi - 8], 0x10
jb 0x14002a995
mov rdx, qword [rax + rdi - 0x20]
jmp 0x14002a99d
lea rdx, [rax + rdi]
add rdx, 0xffffffffffffffe0
mov rcx, r13
call fcn.140003022
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0x10
mov rcx, r13
jb 0x14002a9c0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
mov rcx, rbp
call fcn.14002b480
test al, al
je 0x14002ac84
cmp qword [rsp + 0x88], 0x10
mov rbp, r13
jb 0x14002a9ed
mov rbp, qword [rsp + 0x70]
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x80]
test r15, r15
je 0x14002aaca
mov qword [rsp + 0x38], rbx
cmp qword [rsp + 0xa8], 0x10
mov rsi, r14
mov r14, qword [rsp + 0x90]
lea rax, [rsp + 0x90]
cmovb r14, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, r15d
call r12
mov rbx, r12
mov r12d, eax
movsxd r8, eax
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0x100], xmm6
mov rcx, rsi
xor edx, edx
call fcn.140008ac6
cmp qword [rsp + 0x108], 8
mov rax, rsi
jb 0x14002aa85
mov rax, qword [rsp + 0xf0]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, r15d
call rbx
cmp qword [rsp + 0x108], 8
mov r15, rsi
mov r14, rsi
jb 0x14002aab7
mov r15, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0x30]
mov r12, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rbx, qword [rsp + 0x38]
jmp 0x14002aaed
movaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 7
mov r15, r14
test r13, r13
je 0x14002aba8
mov rsi, rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rbp
mov r9d, r13d
call r12
mov r14d, eax
movsxd r8, eax
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov rbx, r12
lea r12, [rsp + 0xd0]
mov rcx, r12
xor edx, edx
call fcn.140008ac6
cmp qword [rsp + 0xe8], 8
mov rax, r12
jb 0x14002ab5b
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbp
mov r9d, r13d
call rbx
cmp qword [rsp + 0xe8], 8
mov rcx, r12
jb 0x14002ab8a
mov rcx, qword [rsp + 0xd0]
lea r13, [rsp + 0x70]
lea r14, [rsp + 0xf0]
mov r12, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rbx, rsi
mov rsi, qword [rsp + 0x30]
jmp 0x14002abd5
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 7
lea rcx, [rsp + 0xd0]
lea r13, [rsp + 0x70]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
mov rax, qword [rsp + 0xe8]
cmp rax, 8
jb 0x14002ac03
mov rcx, qword [rsp + 0xd0]
lea rdx, [rax*2 + 2]
call fcn.140002b34
mov rax, qword [rsp + 0x108]
cmp rax, 8
jb 0x14002ac26
mov rcx, qword [rsp + 0xf0]
lea rdx, [rax*2 + 2]
call fcn.140002b34
test ebp, ebp
lea rbp, [rsp + 0x40]
jne 0x14002ac84
cmp qword [rsp + 0xa8], 0x10
lea r14, [rsp + 0x90]
jb 0x14002ac4a
mov r14, qword [rsp + 0x90]
cmp qword [rsp + 0x88], 0x10
mov r15, r13
jb 0x14002ac5d
mov r15, qword [rsp + 0x70]
mov ecx, 2
call fcn.1401642f0
mov rcx, rax
lea rdx, str.Failed_to_move:__s_to__s_n
mov r8, r15
mov r9, r14
call fcn.14002a776
lea r14, [rsp + 0xf0]
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x14002ac9f
mov rcx, qword [rsp + 0x70]
inc rdx
call fcn.140002b34
dec rbx
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x14002acc0
mov rcx, qword [rsp + 0x90]
inc rdx
call fcn.140002b34
add rdi, 0xffffffffffffffe0
test rbx, rbx
jne 0x14002a938
mov rcx, rsi
call fcn.14002b344
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [case.0x140031f00.0]
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x14002ad03
mov rcx, qword [rsp + 0xb0]
inc rdx
call fcn.140002b34
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14015c2e0
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret