Function at 0x14004d980
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14008e040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp + 0x68], rdx
mov rax, qword [rdx]
mov r8, qword [rax + 0x30]
movabs rax, 0x167348028
mov esi, 0xffffffff
cmp qword [r8], rax
jne 0x14004dd80
lea rcx, [rbp + 0xc0]
call fcn.14004c130
nop
mov rdi, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xor r15d, r15d
mov qword [rbp - 0x28], r15
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
xor r8d, r8d
lea rdx, [0x14007631f]
lea rcx, [rbp - 0x68]
call fcn.14006ce70
nop
lea rax, [rbp - 0x48]
mov qword [rbp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
lea rcx, [rbp + 0x20]
call fcn.140044cb0
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.140044710
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea r8d, [rsi + 0x19]
lea rdx, str._tHG5puurl3cZnE7fIVaA
lea rcx, [rsp + 0x78]
call fcn.14006ce70
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.1400437f0
nop
mov r8, rax
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x88]
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 + 0x48], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0x48], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x50], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov dword [rbp + 0x40], r15d
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x98], r15d
mov byte [rsp + 0x68], r15b
mov dword [rsp + 0x60], r15d
mov byte [rsp + 0x58], r15b
mov byte [rsp + 0x50], r15b
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], r15b
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0x78]
lea rcx, [rdi + 0x20]
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 [rbp + 0x80]
test rbx, rbx
je 0x14004db51
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004db51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004db51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x90]
test rbx, rbx
je 0x14004db87
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004db87
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004db87
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14004dbc5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dbc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dbc0
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 [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14004dc15
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dc10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dc10
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 [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14004dc65
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dc60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dc60
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 [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14004dcb4
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dcaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dcaf
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 [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14004dd03
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dcfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dcfe
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 [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x38]
call fcn.14006a6a0
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rcx, qword [rbp + 0xc0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14004dd80
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dd7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dd7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14004ddb0
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004ddb0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14004ddb0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400707f0
mov rbx, qword [rsp + 0x230]
add rsp, 0x1f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret