Function at 0x1401fd930
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x14027f040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, r8
mov rbx, rdx
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rax, [rsp + 0x198]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov r14, qword [rax]
xor r14, rcx
mov qword [rsp + 0x48], r14
xor r13d, r13d
mov qword [rax], r13
lea rax, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x40], rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1401fd9bc
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14027fccc], 0x7fffffff
jne 0x1401fd9de
mov dword [0x14027fccc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp qword [rdi + 0x10], 0
je 0x1401fdbaf
mov r15, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1401fd9fc
add r15, qword [rbx]
mov rbp, qword [rbx]
jmp 0x1401fda02
add r15, rbx
mov rbp, rbx
mov rsi, qword [r12]
test rsi, rsi
je 0x1401fdbaf
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.14025e754
mov eax, dword [rsi + 0x20]
mov ecx, dword [rsi + 0x28]
lea r9, [r12 + 8]
mov dword [rsp + 0x38], 0x10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rsi
mov r8, r15
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.1402446f0
nop
mov r8b, 1
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140245c80
movzx esi, al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1401fdac5
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fdaa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401fdaa8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14025d650
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
lea rcx, [rsp + 0xa0]
call fcn.140244500
lea rcx, [rsp + 0x60]
call fcn.140244500
test sil, sil
je 0x1401fdbaf
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401fdaf2
mov rdx, qword [rdi]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1401fdb00
mov rbx, qword [rbx]
cmp r8, qword [rdi + 0x10]
jne 0x1401fdb16
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401fdbaf
lea rbx, [rsp + 0x198]
mov rsi, qword [rbx]
mov qword [rbx], r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401fdba8
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rdi + 0x10]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
jne 0x1401fdb5d
call qword [sym.imp.USER32.dll_CloseClipboard]
mov qword [rbx], rsi
mov bl, 1
jmp 0x1401fdbb1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401fdb73
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
inc r8
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx], rsi
mov bl, 1
jmp 0x1401fdbb1
xor bl, bl
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
movabs rax, 0xff00ff00ff00ff00
xor r14, rax
lea rax, [rsp + 0x198]
mov qword [rax], r14
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14025d630
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret