Function at 0x140071cd0
Capabilities:
Open clipboard
Write 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 - 0x80]
sub rsp, 0x180
mov rax, qword [0x140103040]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400eb400]
mov qword [rsp + 0x70], rax
lea rax, [0x1400eaad8]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
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 + 0x30], 1
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
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 [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
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_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r15
mov dword [rbp - 8], r15d
lea rcx, [rsp + 0x58]
call fcn.14006df20
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140073eb0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140071dc6
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400820c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400664c0
nop
movzx edx, byte [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.140076900
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 5
movups xmmword [rsp + 0x58], xmm0
mov rcx, r15
mov edx, dword [rbp - 8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140071e48
mov rax, qword [rbp - 0x38]
mov rbx, qword [rax]
test rbx, rbx
je 0x140071e48
mov rax, qword [rbp - 0x58]
mov r9, qword [rax]
cmp rbx, qword [rbp - 0x10]
cmovb rbx, qword [rbp - 0x10]
sub rbx, r9
mov rcx, r9
jmp 0x140071e7a
test dl, 4
jne 0x140071eaa
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rbx, r15
test rdx, rdx
je 0x140071e75
mov rax, qword [rbp - 0x60]
mov r9, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd rbx, dword [rax]
add rbx, rdx
sub rbx, r9
mov rcx, r9
jmp 0x140071e7a
mov r9, qword [rsp + 0x58]
test rcx, rcx
je 0x140071eaa
lea rcx, [rsp + 0x38]
cmp rbx, 0xf
ja 0x140071ea1
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x140071eaa
mov rdx, rbx
call fcn.14007d2f0
nop
mov r14, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.1400664c0
lea rdx, [r14 + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140071ffb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x140071ffb
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x13
movups xmmword [rsp + 0x58], xmm0
mov rcx, r15
mov edx, dword [rbp - 8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140071f43
mov rax, qword [rbp - 0x38]
mov rbx, qword [rax]
test rbx, rbx
je 0x140071f43
mov rax, qword [rbp - 0x58]
mov r9, qword [rax]
cmp rbx, qword [rbp - 0x10]
cmovb rbx, qword [rbp - 0x10]
sub rbx, r9
mov rcx, r9
jmp 0x140071f75
test dl, 4
jne 0x140071fa5
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rbx, r15
test rdx, rdx
je 0x140071f70
mov rax, qword [rbp - 0x60]
mov r9, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd rbx, dword [rax]
add rbx, rdx
sub rbx, r9
mov rcx, r9
jmp 0x140071f75
mov r9, qword [rsp + 0x58]
test rcx, rcx
je 0x140071fa5
lea rcx, [rsp + 0x38]
cmp rbx, 0xf
ja 0x140071f9c
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x140071fa5
mov rdx, rbx
call fcn.14007d2f0
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
lea r8, [r14 + 1]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x38]
call fcn.1400664c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140071ffb
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140074df0
lea rcx, [rbp - 0x70]
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 + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400af820
lea r11, [rsp + 0x180]
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