Function at 0x1400de8c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140cf0080]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, Ordinal_45
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, Ordinal_45
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r14d, r12d
mov qword [rbp + 0x10], r12
mov qword [rsp + 0x30], r12
lea r8, [rsp + 0x30]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x20], 0xffffffff
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], r12d
mov qword [rbp - 8], r12
call fcn.1400c21c0
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 - 0x48], rsi
lea r8, [rsp + 0x40]
mov edx, 0x68
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x1400dea62
mov byte [rbp - 0x28], 1
mov ecx, dword [rsp + 0x64]
mov dword [rbp - 0x38], ecx
mov r8d, dword [rsp + 0x68]
mov r9d, r8d
neg r9d
cmovs r9d, r8d
mov dword [rbp - 0x34], r9d
movzx eax, word [rsp + 0x6e]
mov dword [rbp - 0x2c], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rbp - 0x30], eax
mov r10, qword [rsp + 0x58]
mov qword [rbp - 0x40], r10
test r8d, r8d
jle 0x1400dea84
lea ecx, [r9 - 1]
imul ecx, eax
movsxd rdx, ecx
add rdx, r10
mov qword [rbp - 0x40], rdx
neg eax
mov dword [rbp - 0x30], eax
jmp 0x1400dea84
mov byte [rbp - 0x28], 0
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x34], eax
movzx eax, word [rsp + 0x52]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x30], r12d
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x24], 0xffffffff
mov byte [rbp - 0x27], 0
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400de270
lea rdx, [rbp + 0x18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov edi, dword [rbp + 0x18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov edx, edi
test edi, edi
je 0x1400deacd
lea rcx, [rbp]
call fcn.1400df130
mov r14, qword [rbp + 0x10]
mov rbx, qword [rbp]
mov r8d, edi
lea rdx, [rbx + 0x10]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140cd1f00]
mov qword [rbp + 0x20], rax
lea rax, [0x140ccdd40]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x20]
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 + 0x20]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rdi
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x38], rax
mov byte [rbp + 0xb4], 0
mov byte [rbp + 0xa9], 0
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xb8], r12
mov rax, qword [0x141215ff0]
mov qword [rbp + 0xac], rax
mov qword [rbp + 0xa0], r12
cmp qword [r15 + 0x18], 0xf
jbe 0x1400debb6
mov r15, qword [r15]
mov r8d, Ordinal_35
mov rdx, r15
lea rcx, [rbp + 0x38]
call fcn.140037490
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
je 0x1400debe9
add rcx, rax
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 0x1400debf7
add rcx, rax
mov edx, 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 + 8]
sub r8, rbx
lea rdx, [rbx + 0x10]
lea rcx, [rbp + 0x30]
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 + 0x38]
call fcn.1400373d0
test rax, rax
jne 0x1400dec37
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
mov edx, 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, [rsp + 0x20]
call fcn.14000d300
movabs rcx, 0x7ffffffffd9da5ff
mov rax, qword [rsp + 0x20]
cmp rax, rcx
jge 0x1400dec5d
add rax, 0x2625a00
jmp 0x1400dec67
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14000dd40
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], rdi
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x38]
call fcn.140036710
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400decc6
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.1400c21c0
mov rdi, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rdi + 0x30], 1
jne 0x1400ded03
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400decf6
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rdi], r12
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x1400ded49
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x1400ded3e
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ded3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rbx
call fcn.14013f490
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14013f230
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret