Function at 0x1400e67c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rdi
push r13
sub rsp, 0x50
mov rbp, rcx
lea rcx, [0x140143dd0]
mov r13, r8
mov rdi, rdx
call fcn.1400070e0
test eax, eax
jne 0x1400e680d
lea r8, [0x1401035ac]
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x140143150]
add rsp, 0x50
pop r13
pop rdi
pop rbp
jmp fcn.14005f7b0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
mov r12d, 4
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x30], r15
mov r15d, r12d
mov r14d, esi
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400e6ad9
cmp ebx, 2
je 0x1400e68b1
cmp ebx, 0xe
je 0x1400e68b1
cmp ebx, 0x8e
je 0x1400e68b1
cmp ebx, 1
je 0x1400e68b1
cmp ebx, 7
je 0x1400e68b1
cmp ebx, r14d
je 0x1400e68b1
lea rdx, [rsp + 0x88]
mov ecx, ebx
call fcn.140006fc0
test rax, rax
je 0x1400e68a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
lea r15, [r15 + rax + 0xc]
test r14d, r14d
jne 0x1400e68b1
cmp ebx, 8
jne 0x1400e6899
lea r14d, [rbx + 9]
jmp 0x1400e68b1
cmp ebx, 0x11
jne 0x1400e68b1
lea r14d, [rbx - 9]
jmp 0x1400e68b1
cmp dword [rsp + 0x88], esi
je 0x1400e68b1
add r15, 0xc
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400e6846
cmp r15, r12
je 0x1400e6ad9
test rbp, rbp
je 0x1400e68fa
mov r8, r15
and r15d, 1
mov r9b, 1
shr r8, 1
xor edx, edx
mov rcx, rbp
add r8, r15
mov byte [rsp + 0x20], sil
call fcn.1400e6e20
test eax, eax
je 0x1400e690e
mov rsi, qword [rbp + 8]
mov r15, qword [rbp + 0x18]
jmp 0x1400e6909
mov rcx, r15
call qword [sym.imp.MSVCR100.dll_malloc]
mov rsi, rax
mov qword [rdi], rax
test rsi, rsi
jne 0x1400e6973
cmp dword [0x140143dfc], 0
je 0x1400e6948
cmp qword [0x140143de0], 0
je 0x1400e6935
mov rcx, qword [0x140143dd0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140143de0], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140143dfc], esi
mov qword [0x140143dd0], rsi
test rbp, rbp
je 0x1400e6954
xor eax, eax
jmp 0x1400e6b2c
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
call fcn.14005f7b0
jmp 0x1400e6b2c
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400e6a6e
mov r13, qword [rsp + 0x88]
nop dword [rax]
cmp ebx, 2
je 0x1400e6a4f
cmp ebx, 0xe
je 0x1400e6a4f
cmp ebx, 0x8e
je 0x1400e6a4f
cmp ebx, 1
je 0x1400e6a4f
cmp ebx, 7
je 0x1400e6a4f
cmp ebx, r14d
je 0x1400e6a4f
lea rdx, [rsp + 0x88]
mov ecx, ebx
call fcn.140006fc0
mov rbp, rax
test rax, rax
je 0x1400e6a04
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rdi, rax
test rax, rax
je 0x1400e6a10
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r13, rax
test rax, rax
je 0x1400e6a4f
jmp 0x1400e6a10
cmp dword [rsp + 0x88], 0
je 0x1400e6a4f
xor edi, edi
lea rax, [rdi + 0xc]
add r12, rax
cmp r12, r15
jbe 0x1400e6a21
sub r12, rax
jmp 0x1400e6a41
mov dword [rsi], ebx
mov qword [rsi + 4], rdi
add rsi, 0xc
test rdi, rdi
je 0x1400e6a4f
mov r8, rdi
mov rdx, r13
mov rcx, rsi
call sub.MSVCR100.dll_memcpy
add rsi, rdi
test rdi, rdi
je 0x1400e6a4f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400e6990
mov rbp, qword [rsp + 0x70]
mov r13, qword [rsp + 0x80]
cmp dword [0x140143dfc], 0
je 0x1400e6ab0
cmp qword [0x140143de0], 0
je 0x1400e6a99
mov rcx, qword [0x140143dd0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140143de0], 0
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x140143dfc], eax
mov qword [0x140143dd0], rax
jmp 0x1400e6ab2
xor eax, eax
mov dword [rsi], eax
test rbp, rbp
je 0x1400e6ad0
test r12b, 1
je 0x1400e6ac6
mov byte [rsi + 4], 0
inc r12
or byte [rbp + 0x21], 1
mov qword [rbp + 0x10], r12
jmp 0x1400e6b27
mov eax, r12d
mov qword [r13], rax
jmp 0x1400e6b27
cmp dword [0x140143dfc], esi
je 0x1400e6b11
cmp qword [0x140143de0], rsi
je 0x1400e6afe
mov rcx, qword [0x140143dd0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140143de0], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140143dfc], esi
mov qword [0x140143dd0], rsi
test rbp, rbp
je 0x1400e6b20
mov rcx, rbp
call fcn.14002f9e0
jmp 0x1400e6b2c
mov qword [rdi], rsi
mov qword [r13], rsi
mov eax, 1
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop r13
pop rdi
pop rbp
ret