Function at 0x140007320
Capabilities:
Capture screenshot
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
lea rcx, [rbp + 0x80]
call fcn.140007080
nop
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rax, qword [rbp + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x58], rax
call fcn.1400123a8
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140008a80
nop
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x140007404
lea rax, [rcx + 0xf]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x50]
add rbx, rcx
mov r8d, 0xf
lea rdx, str._screenshot.png
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xf], r12b
lea rax, [rbp - 0x50]
jmp 0x140007422
mov qword [rsp + 0x20], 0xf
lea r9, str._screenshot.png
mov edx, 0xf
lea rcx, [rbp - 0x50]
call fcn.1400057c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000748d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007488
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007488
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
movdqa xmm0, xmmword [0x14001a030]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov dword [rbp + 0xc0], 1
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], r12
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x14000756b
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rbp + 0x30]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140007df5
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007561
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007561
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
jmp 0x140007df5
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
test rax, rax
jne 0x140007615
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rbp + 0x30]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140007de8
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000760b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000760b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
jmp 0x140007de8
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
test rax, rax
jne 0x1400076c0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rbp + 0x30]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140007ddd
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400076b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
jmp 0x140007ddd
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov r8d, eax
mov edx, ebx
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
test rax, rax
jne 0x140007787
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rbp + 0x30]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140007dd4
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000777d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000777d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
jmp 0x140007dd4
mov rdx, r13
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x50], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140007d3c
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edi
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x14000787e
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rbp + 0x30]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140007d29
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
jmp 0x140007dcb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0x20], r12
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov r12, qword [rbp + 0x20]
mov qword [rbp + 0xb0], r12
xor r9d, r9d
mov dword [rbp + 0xb8], r9d
test eax, eax
je 0x140007963
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rbp + 0x30]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140007d1d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rsi, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rsi, qword [rbp + 0x60]
add rsi, qword [rbp + 0x70]
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rbx, qword [rbp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov ecx, 0xa
mov qword [rbp + 0x40], r9
mov edi, 7
mov qword [rbp + 0x48], rdi
cmp rbx, rsi
jne 0x1400079ab
mov word [rbp + 0x30], r9w
jmp 0x140007aad
sub rsi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x14000808f
cmp rsi, rdi
jbe 0x140007a6f
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x140007a26
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140007a5d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008089
mov rcx, rax
call fcn.140012890
mov rcx, rax
test rax, rax
je 0x140007a56
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
xor r9d, r9d
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x48], rdi
jmp 0x140007a73
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140008089
add rcx, rcx
jne 0x1400079e7
mov rax, r9
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x48], rdi
jmp 0x140007a73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012890
xor r9d, r9d
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x48], rdi
jmp 0x140007a73
mov rax, qword [rbp + 0x30]
lea r8, [rbp + 0x30]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140007aa4
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140007a90
mov qword [rbp + 0x40], rsi
mov word [r8 + rsi*2], r9w
mov dword [rbp + 0x20], r9d
mov dword [rbp + 0x10], r9d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x20]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x140007c3f
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140007c3f
mov r8, rax
mov edx, dword [rbp + 0x10]
mov ecx, dword [rbp + 0x20]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor ebx, ebx
mov r9d, dword [rbp + 0x20]
test r9d, r9d
je 0x140007c36
lea r10, str.image_png
nop word [rax + rax]
mov eax, ebx
imul r8, rax, 0x68
mov rdx, qword [r8 + rdi + 0x40]
xor ecx, ecx
nop dword [rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r10 + rcx*2]
jne 0x140007c2b
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r10 + rcx*2 + 2]
jne 0x140007c2b
add rcx, 2
cmp rcx, 0xa
jne 0x140007b20
movups xmm0, xmmword [r8 + rdi]
movups xmmword [rbp + 0x50], xmm0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp ebx, 0xffffffff
je 0x140007c3f
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
xor r9d, r9d
lea r8, [rbp + 0x50]
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x140007cd4
mov dword [rbp + 0xb8], eax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rsp + 0x70]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140007cd9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ccd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc ebx
cmp ebx, r9d
jb 0x140007b10
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rsp + 0x70]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140007cd9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ccd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
jmp 0x140007cd9
mov rsi, qword [rsp + 0x60]
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x140007d1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
nop
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
xor r12d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
jmp 0x140007dcb
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0xc
lea rdx, str.___failed___
lea rcx, [rsp + 0x70]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140007dcb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea rax, str.Image
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 5
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
xor r9d, r9d
lea r8, [rbp + 0x50]
mov rdx, qword [rsi + 0xb8]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::message::constructor_class_dpp::snowflake__class_std::basic_string_view_char__struct_std::char_traits_char____enum_dpp::message_type____ptr64]
nop
lea rax, [0x140018fa7]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call qword [sym.imp.dpp.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_dpp::utility::read_file_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140007e5e
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
lea rax, str.screenshot.png
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 0xe
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm1
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rbp + 0x50]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.dpp.dll_public:_struct_dpp::message____ptr64___cdecl_dpp::message::add_file_class_std::basic_string_view_char__struct_std::char_traits_char____class_std::basic_string_view_char__struct_std::char_traits_char____class_std::basic_string_view_char__struct_std::char_traits_char______ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140007ef9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ef4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
lea rcx, [rbp - 0x30]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov r8, rax
lea rdx, [rbp + 0xe0]
mov rcx, rsi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_struct_dpp::message_const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rax, qword [rbp + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x58], rax
call fcn.1400123a8
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140008a80
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140007fb3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.dpp.dll_public_virtual:_void___cdecl_dpp::message::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140007fff
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ffa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ffa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
movdqa xmm0, xmmword [0x14001a030]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140008059
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008054
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008054
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.140012870
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140005140
nop
call fcn.1400051e0
int3