Function at 0x1401fc230
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 [0x14028a040]
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 0x1401fc2bc
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14028accc], 0x7fffffff
jne 0x1401fc2de
mov dword [0x14028accc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp qword [rdi + 0x10], 0
je 0x1401fc4af
mov r15, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1401fc2fc
add r15, qword [rbx]
mov rbp, qword [rbx]
jmp 0x1401fc302
add r15, rbx
mov rbp, rbx
mov rsi, qword [r12]
test rsi, rsi
je 0x1401fc4af
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.140267404
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.14024d100
nop
mov r8b, 1
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14024e700
movzx esi, al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1401fc3c5
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc3a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401fc3a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140266300
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
lea rcx, [rsp + 0xa0]
call fcn.14024cf10
lea rcx, [rsp + 0x60]
call fcn.14024cf10
test sil, sil
je 0x1401fc4af
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401fc3f2
mov rdx, qword [rdi]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1401fc400
mov rbx, qword [rbx]
cmp r8, qword [rdi + 0x10]
jne 0x1401fc416
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401fc4af
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 0x1401fc4a8
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 0x1401fc45d
call qword [sym.imp.USER32.dll_CloseClipboard]
mov qword [rbx], rsi
mov bl, 1
jmp 0x1401fc4b1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401fc473
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 0x1401fc4b1
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.1402662e0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret