Function at 0x7128d0
Capabilities:
Copy file
Move file

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov byte [rbp + 0x47], r8b
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rbp + 0xc8]
call fcn.00410a40
nop
movzx rax, byte [rbp + 0x47]
test al, al
je 0x71294b
call fcn.007133d0
test al, al
je 0x712bc5
mov rcx, qword [rbp + 0x38]
mov eax, dword [rcx + 0x28]
cmp eax, dword [rcx + 0x2c]
jl 0x712add
lea rcx, [rbp + 0x68]
mov rax, qword [rbp + 0x38]
movzx rdx, byte [rax + 0x30]
call fcn.00436670
lea rcx, [rbp + 0x88]
mov edx, 3
mov rax, qword [rbp + 0x38]
mov r8, qword [rax + 0x18]
lea r9, [0x00712c50]
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.004122a0
mov rcx, qword [rbp + 0x88]
mov dl, 1
call fcn.004372d0
test al, al
je 0x7129b4
mov rcx, qword [rbp + 0x88]
call fcn.004375f0
mov rax, qword [rbp + 0x38]
movzx rbx, byte [rax + 0x30]
sub ebx, 1
cmp ebx, 1
jl 0x712a74
lea rcx, [rbp + 0x60]
mov edx, ebx
call fcn.00436670
lea rcx, [rbp + 0x88]
mov edx, 3
mov rax, qword [rbp + 0x38]
mov r8, qword [rax + 0x18]
lea r9, [0x00712c50]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.004122a0
mov rcx, qword [rbp + 0x88]
mov dl, 1
call fcn.004372d0
test al, al
je 0x712a69
lea rcx, [rbp + 0x50]
mov edx, ebx
add edx, 1
call fcn.00436670
lea rcx, [rbp + 0x58]
mov edx, 3
mov rax, qword [rbp + 0x38]
mov r8, qword [rax + 0x18]
lea r9, [0x00712c50]
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.004122a0
mov rsi, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x88]
call fcn.00411d40
mov rdi, rax
mov rcx, rsi
call fcn.00411d40
mov rcx, rdi
mov rdx, rax
call sub.kernel32.dll_MoveFileW
sub ebx, 1
test ebx, ebx
jne 0x7129c9
nop
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + 0x18]
call fcn.00411d40
mov rbx, rax
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x18]
lea r8, [0x00712c68]
call fcn.00412170
mov rcx, qword [rbp + 0x48]
call fcn.00411d40
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_CopyFileW
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + 0x20]
xor edx, edx
call fcn.0051d7f0
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + 0x20]
xor edx, edx
call fcn.0051d770
mov rax, qword [rbp + 0x38]
mov dword [rax + 0x28], 0
mov rax, qword [rbp + 0x38]
cmp dword [rax + 0x28], 0
jne 0x712b15
mov word [rbp + 0x86], 0xfeff
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + 0x20]
lea rdx, [rbp + 0x86]
mov r8d, 2
call fcn.0051f370
mov rax, qword [rbp + 0x38]
mov dword [rax + 0x28], 2
mov rax, qword [rbp + 0x38]
cmp byte [rax + 0x31], 0
je 0x712b55
call fcn.0043bc10
lea rcx, [rbp + 0x78]
lea rdx, [0x00712c80]
movapd xmm2, xmm0
mov r9, qword [0x0077acf8]
call fcn.0043d030
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0xc8]
mov r8d, 1
call fcn.00412470
lea rcx, [rbp + 0xc8]
lea rdx, [0x00712cc0]
call fcn.004120a0
lea rcx, [rbp + 0xc8]
call fcn.00411190
mov rcx, rax
xor eax, eax
mov rdx, qword [rbp + 0xc8]
test rdx, rdx
je 0x712b88
mov eax, dword [rdx - 4]
mov rdx, qword [rbp + 0x38]
mov rdx, qword [rdx + 0x20]
mov r8, rdx
mov r9, rcx
add eax, eax
mov rbx, qword [rdx]
mov rcx, r8
mov rdx, r9
mov r8d, eax
call qword [rbx + 0x20]
xor eax, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x712bb8
mov eax, dword [rcx - 4]
mov rcx, qword [rbp + 0x38]
lea rcx, [rcx + 0x28]
add eax, eax
add dword [rcx], eax
nop
lea rcx, [rbp + 0x48]
mov edx, 5
call fcn.00410990
lea rcx, [rbp + 0x78]
call fcn.004108b0
lea rcx, [rbp + 0x88]
call fcn.004108b0
lea rcx, [rbp + 0xc8]
call fcn.004108b0
lea rsp, [rbp + 0x98]
pop rbx
pop rsi
pop rdi
pop rbp
ret