Function at 0x140001710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x49], xmm1
mov ecx, 0x20
call fcn.140001fc0
mov qword [rbp - 0x59], rax
movdqa xmm0, xmmword [0x140004540]
movdqa xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [str.C:CAPEcape.cfg]
movups xmmword [rax], xmm1
mov byte [rax + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x29], xmm1
mov ecx, 0x20
call fcn.140001fc0
mov qword [rbp - 0x39], rax
movdqa xmm0, xmmword [0x140004550]
movdqa xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [str.C:CAPE_sandbox.exe]
movups xmmword [rax], xmm1
movzx ecx, word [0x140004460]
mov word [rax + 0x10], cx
movzx ecx, byte [0x140004462]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov ecx, 0x20
call fcn.140001fc0
mov qword [rbp - 0x19], rax
movdqa xmm0, xmmword [0x140004570]
movdqa xmmword [rbp - 9], xmm0
movups xmm1, xmmword [str.C:VirusTotalJujubox.cfg]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x140004478]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x140004480]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov ecx, 0x20
call fcn.140001fc0
mov qword [rbp + 7], rax
movdqa xmm0, xmmword [0x140004560]
movdqa xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [str.C:Zenbox_sandbox.cfg]
movups xmmword [rax], xmm1
mov ecx, dword [0x140004498]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x14000449c]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea rdi, [rbp - 0x59]
lea rbx, [rbp + 0x27]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], 0
mov ecx, 0x80
call fcn.140001fc0
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
lea rdx, [rax + 0x80]
mov qword [rbp + 0x3f], rdx
lea rdx, [rbp + 0x2f]
mov qword [rbp + 0x27], rdx
lea r9, [rbp + 0x2f]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140001dd0
mov qword [rbp + 0x37], rax
lea r9, [0x140001c70]
mov edx, 0x20
mov r8d, 4
lea rcx, [rbp - 0x59]
call fcn.140001ffc
mov rbx, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x37]
cmp rbx, rdi
je 0x140001905
nop dword [rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400018ed
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001950
add rbx, 0x20
cmp rbx, rdi
jne 0x1400018e0
mov rbx, qword [rbp + 0x2f]
xor dil, dil
test rbx, rbx
je 0x14000195e
mov rdx, qword [rbp + 0x37]
mov rcx, rbx
call fcn.140001cd0
mov rdx, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x2f]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001959
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001959
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
mov rbx, qword [rbp + 0x2f]
jmp 0x140001908
call fcn.1400020cc
movzx eax, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140001fa0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret