Function at 0x1400c1860
Capabilities:
Copy file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1403644c8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x70], r9
mov rdx, r8
lea rcx, [rbp - 0x68]
call fcn.14008e160
nop
mov eax, dword [r13 + 0x21c]
dec eax
test eax, 0xfffffffd
jne 0x1400c18de
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1401733b0
cmp dword [rax], 1
jbe 0x1400c18de
mov r15b, 1
jmp 0x1400c18e1
xor r15b, r15b
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [rbp - 0x78], xmm0
xor r12d, r12d
mov word [rsp + 0x78], r12w
test r15b, r15b
je 0x1400c1995
lea rcx, [rbp - 0x48]
call fcn.1400c1d20
mov rsi, rax
lea rax, [rsp + 0x78]
cmp rax, rsi
je 0x1400c1940
lea rcx, [rsp + 0x78]
call fcn.1400867f0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rcx, [rbp - 0x48]
call fcn.1400867f0
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
cmp qword [r14 + 0x18], 8
jb 0x1400c1964
mov r14, qword [r14]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400c1a0b
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
lea rcx, [rbp - 0x68]
call fcn.140086f50
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], 1
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.1400cd0d0
nop
cmp qword [rsp + 0x40], 0
jne 0x1400c1b7b
lea rcx, [rsp + 0x40]
call fcn.1400cd510
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0e70
nop
lea rcx, [rsp + 0x78]
call fcn.1400867f0
nop
lea rcx, [rbp - 0x68]
call fcn.1400867f0
nop
jmp 0x1400c1b58
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.14008e160
nop
mov qword [rsp + 0x28], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
movzx r9d, byte [rsp + 0x20]
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x28]
call fcn.1400974b0
nop
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rsi
je 0x1400c1a82
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401733b0
cmp dword [rax], 1
jbe 0x1400c1a6f
xor edx, edx
mov rcx, rbx
call fcn.1401731d0
add rbx, 0x20
cmp rbx, rsi
jne 0x1400c1a50
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400c1af1
cmp rbx, rsi
je 0x1400c1aa7
nop dword [rax]
mov rcx, rbx
call fcn.1400867f0
nop
add rbx, 0x20
cmp rbx, rsi
jne 0x1400c1a90
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400c1adb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1adb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140082ab0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
lea r9, [fcn.1400978c0]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp - 0x48]
call fcn.1400e39c4
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x20]
call fcn.14025b540
nop
lea rcx, [rbp - 0x20]
call fcn.14025c1a0
test al, al
je 0x1400c1b39
lea rdx, str.BaseConverterTask::do_append_and_post_process_failed_to_delete_file
lea rcx, [rbp - 0x20]
call fcn.140253210
nop
lea rcx, [rbp - 0x20]
call fcn.140252b50
nop
lea rcx, [rsp + 0x78]
call fcn.1400867f0
nop
lea rcx, [rbp - 0x68]
call fcn.1400867f0
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400c1b71
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xffffffff
jmp 0x1400c1ceb
test r15b, r15b
je 0x1400c1c14
cmp dword [r13 + 0x21c], 1
sete r8b
cmp qword [rbx + 0x18], 8
jb 0x1400c1b9a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400d1da0
test al, al
jne 0x1400c1c14
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x20]
call fcn.14025b540
nop
lea rcx, [rbp - 0x20]
call fcn.14025c1a0
test al, al
je 0x1400c1bda
lea rdx, str.BaseConverterTask::do_append_and_post_process_failed_to_append_file
lea rcx, [rbp - 0x20]
call fcn.140253210
nop
lea rcx, [rbp - 0x20]
call fcn.140252b50
nop
lea rcx, [rsp + 0x40]
call fcn.1400cd510
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0e70
nop
lea rcx, [rsp + 0x78]
call fcn.1400867f0
nop
lea rcx, [rbp - 0x68]
call fcn.1400867f0
nop
jmp 0x1400c1b58
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1400c1080
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400c1d0e
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400c1ca5
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x20]
call fcn.14025b540
nop
lea rcx, [rbp - 0x20]
call fcn.14025c1a0
test al, al
je 0x1400c1c6b
lea rdx, str.BaseConverterTask::do_append_and_post_process_failed_to_copy_file
lea rcx, [rbp - 0x20]
call fcn.140253210
nop
lea rcx, [rbp - 0x20]
call fcn.140252b50
nop
lea rcx, [rsp + 0x40]
call fcn.1400cd510
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0e70
nop
lea rcx, [rsp + 0x78]
call fcn.1400867f0
nop
lea rcx, [rbp - 0x68]
call fcn.1400867f0
nop
jmp 0x1400c1b58
lea rcx, [rsp + 0x40]
call fcn.1400cd510
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0e70
nop
lea rcx, [rsp + 0x78]
call fcn.1400867f0
nop
lea rcx, [rbp - 0x68]
call fcn.1400867f0
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400c1ce9
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400e39a0
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
int3