Function at 0x1400543b0
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov rcx, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 4
jb 0x1400547f0
mov r9, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140054409
mov r9, qword [rdx]
mov qword [rsp + 0x30], 4
lea rax, str..tmp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.140003420
nop
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140054100
test al, al
je 0x140054766
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140054455
mov rdx, qword [rbx]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x14005472d
mov rsi, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140054485
mov rdi, qword [rbx]
call fcn.1400bc5ec
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rsi
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14004df60
nop
lea r10, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova r10, qword [rbp - 0x49]
mov rax, qword [rbp - 0x39]
lea rdx, [r10 + rax*2]
mov rcx, r10
call fcn.14004e0b0
cmp rax, rdx
je 0x14005453e
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400544d4
cmp cx, 0x2f
jne 0x1400544dd
add rax, 2
cmp rax, rdx
jne 0x1400544c5
cmp rax, rdx
je 0x14005453e
nop dword [rax]
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140054510
cmp r8w, 0x2f
je 0x140054510
mov rdx, rcx
cmp rax, rcx
jne 0x1400544f0
jmp 0x14005453e
cmp rax, rdx
je 0x14005453e
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140054536
cmp r8w, 0x2f
jne 0x14005453e
mov rdx, rcx
cmp rax, rcx
jne 0x140054520
sub rdx, r10
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], r14
mov r8, rdx
mov rdx, r10
lea rcx, [rbp + 0x17]
call fcn.1400070a0
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x1400545a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400545a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400545a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
movdqa xmm0, xmmword [0x1400d7ca0]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], r14w
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rax, qword [rbp + 0x17]
mov qword [rbp - 0x59], rax
mov rax, qword [rbp + 0x27]
mov qword [rbp - 0x51], rax
call fcn.1400bc5ec
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.14005c1e0
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rax, qword [rbp - 0x29]
cmp qword [rbx + 0x18], 0xf
jbe 0x140054607
mov rbx, qword [rbx]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14005466a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054665
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054665
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
cmp rbx, 0x20
jbe 0x1400546ab
lea rdx, str.Arquivo_baixado__substitu
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002740
lea rdx, [0x140006b00]
mov rcx, rax
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 - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
jmp 0x1400546e4
lea rdx, str.Erro_ao_executar_o_arquivo_substitu
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002740
lea rdx, [0x140006b00]
mov rcx, rax
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 - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor bl, bl
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14005478b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054726
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054726
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
jmp 0x14005478b
lea rdx, str.Erro_ao_substituir_o_arquivo_original.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002740
lea rdx, [0x140006b00]
mov rcx, rax
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 - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x140054789
lea rdx, str.Falha_ao_baixar_o_arquivo.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002740
lea rdx, [0x140006b00]
mov rcx, rax
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]
xor bl, bl
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400547c9
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400547c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400547c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400bcc60
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400013c0
int3