Function at 0x14025e620
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2f0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403644c8]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, rdx
mov ebx, ecx
call fcn.1402547e0
mov rax, qword [rax]
mov eax, dword [rax + 0x40]
cmp eax, ebx
jg 0x14025e8af
xor esi, esi
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], si
mov ecx, dword [0x140370c28]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140374988], ecx
jg 0x14025e8d4
jmp 0x14025e6c1
inc r8
cmp word [rax + r8*2], 0
je 0x14025e95e
jmp 0x14025e6b0
lea rbx, [0x140374968]
cmp qword [0x140374980], 8
cmovae rbx, qword [0x140374968]
mov r8, qword [0x140374978]
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.140086f50
cmp qword [rsp + 0x98], 0
je 0x14025e863
mov r8d, 1
lea rdx, [0x1402a3ea0]
lea rcx, [rsp + 0x88]
call fcn.1400adcd0
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14024ad50
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
lea r8, [rdx + rax*2]
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [rsp + 0xb8], xmm0
mov word [rsp + 0xa8], si
cmp rdx, r8
je 0x14025e76f
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0xa8]
call fcn.140086f50
nop
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x88]
call fcn.1400adcd0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x14025e7eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14025e7e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14025e7e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov rcx, qword [rdi]
cmp si, word [rdx]
je 0x14025e9c6
cmp si, word [rcx]
je 0x14025e9c6
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r8, [0x1403749c8]
lea rdx, [0x14024ba30]
lea rcx, [0x1403749c0]
test eax, eax
je 0x14025e84c
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test eax, eax
jne 0x14025e863
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test eax, eax
jne 0x14025e85c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x14025e8af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14025e8a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14025e8a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400e39a0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [0x140374988]
call fcn.1400e33c0
cmp dword [0x140374988], 0xffffffff
jne 0x14025e6c1
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [0x140374978], xmm0
mov word [0x140374968], si
lea rbx, [0x140374968]
mov rcx, rbx
call fcn.140254440
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xd0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call fcn.14024aea0
lea r8d, [rsi + 1]
lea rdx, [0x1402a3ea0]
mov rcx, rbx
call fcn.1400adcd0
lea rax, [rsp + 0xd0]
mov r8, 0xffffffffffffffff
jmp 0x14025e6b0
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.1400adcd0
mov rax, rbx
cmp qword [0x140374980], 8
cmovae rax, qword [0x140374968]
mov qword [rsp + 0x20], rax
mov rax, qword [0x140374978]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140254020
nop
lea rcx, [0x140276650]
call fcn.1400e380c
nop
lea rcx, [0x140374988]
call fcn.1400e3360
jmp 0x14025e6c8
lea rdx, str.FileCopy:_wrong_parameters
lea rcx, [rsp + 0x70]
call fcn.140082580
lea rdx, [0x140359df0]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3