Function at 0x140003480
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rcx, qword [r8 + 0x54]
xor r13d, r13d
mov ebx, r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x40], r13
mov r14d, r13d
mov dword [rbp + 0x40], r13d
mov r12d, r9d
mov rdi, r8
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, r13d
lea r8d, [r13 + 1]
movsxd rdx, dword [rax + 0x10]
test rdx, rdx
jle 0x1400034fe
mov ecx, r13d
add rax, 0x1c
test byte [rax + 0x70], r8b
je 0x1400034eb
cmp dword [rax], 7
jne 0x1400034fb
add rcx, r8
add rax, 0xd4
cmp rcx, rdx
jge 0x1400034fe
jmp 0x1400034e0
mov esi, r8d
mov rcx, qword [rdi + 0x54]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x140003513
xor eax, eax
jmp 0x140003a9a
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400035a8
movzx ecx, word [0x140096f10]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test r12d, r12d
je 0x140003570
mov rcx, r15
test eax, eax
je 0x140003569
mov edx, 8
call fcn.140060aec
mov dword [0x1400b8b44], r13d
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov ecx, dword [0x1400b8b40]
call fcn.140047858
jmp 0x14000358e
call fcn.140060aa8
mov ebx, eax
mov dword [0x1400b8b44], r13d
test ebx, ebx
jne 0x140003a8b
mov ecx, dword [0x1400b8b40]
call fcn.140047798
lea r14d, [rbx + 1]
mov ebx, eax
test eax, eax
jne 0x14000359a
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
jne 0x140003a8b
call fcn.140001e68
mov ebx, eax
test eax, eax
jne 0x140003a8b
test r14d, r14d
je 0x1400035c7
mov ecx, dword [0x1400b8b40]
call fcn.140047858
mov ecx, dword [r15 + 0x26]
lea r9, [rbp + 0x50]
mov ebx, 0x72
mov r8d, ebx
lea esi, [rbx - 0xe]
mov edx, esi
call fcn.14004564c
test eax, eax
jne 0x1400035fc
mov r8, qword [rbp + 0x50]
mov edx, ebx
mov ecx, esi
call fcn.14000205c
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov rcx, qword [r15 + 0x1e6]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [0x1400b8b40]
mov r8d, 0x69
mov edx, esi
lea r9, [rax + 0x10]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140044694
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov rdx, qword [rbp + 0x50]
mov rcx, qword [r15 + 0x1e6]
call fcn.140047020
mov rcx, qword [r15 + 0xba]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [0x1400b8b40]
lea r8d, [rbx + 0x6f]
mov edx, esi
lea r9, [rax + 0x10]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140044694
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov rdx, qword [rbp + 0x50]
mov rcx, qword [r15 + 0xba]
call fcn.140047020
mov r8, qword [rdi + 0x54]
lea r14d, [rbx + 0x6c]
mov edx, r14d
mov ecx, esi
call fcn.14000205c
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov r8, qword [rdi + 0x60]
mov ecx, esi
lea edi, [rax + 0x6d]
mov edx, edi
call fcn.14000205c
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov ecx, dword [0x1400b8b40]
lea r9, [rbp - 0x40]
mov r8d, r14d
mov edx, esi
call fcn.14004564c
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov ecx, dword [0x1400b8b40]
lea r9, [rbp - 0x38]
mov r8d, edi
mov edx, esi
call fcn.14004564c
mov ebx, eax
test eax, eax
jne 0x140003a8b
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rbp - 0x38]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea edx, [rbx + 1]
mov r13, rax
mov r14d, dword [rax + 0x10]
sub r14d, edx
js 0x1400039fa
lea eax, [r14 + 1]
movsxd rcx, r14d
mov dword [rbp + 0x50], eax
lea rax, [rcx*4 + 0x14]
add rax, r13
mov qword [rbp - 0x20], rax
movsxd r12, dword [rax]
imul rsi, r12, 0xd4
test byte [rsi + rdi + 0x8c], dl
je 0x140003928
cmp dword [rsi + rdi + 0x1c], 7
je 0x140003928
cmp dword [rsi + rdi + 0x84], 0
jl 0x1400039d8
xor r12d, r12d
cmp dword [rsi + rdi + 0x88], r12d
jle 0x1400039d8
mov r8d, dword [rsi + rdi + 0x84]
lea r9, [rbp - 0x18]
mov edx, dword [rsi + rdi + 0x80]
add r8d, r12d
mov ecx, dword [r15 + 0x26]
call fcn.14004564c
mov ebx, eax
test eax, eax
jne 0x1400039d8
mov ebx, dword [rbp + 0x40]
test ebx, ebx
jne 0x1400038ee
cmp dword [rsi + rdi + 0x1c], 6
jne 0x1400037d6
mov r8d, dword [rsi + rdi + 0x84]
mov edx, dword [rsi + rdi + 0x80]
mov ecx, dword [r15 + 0x26]
call fcn.14003c2a4
jmp 0x140003887
cmp dword [rsi + rdi + 0x1c], 8
jne 0x1400038ee
mov ecx, dword [rsi + rdi + 0x80]
sub ecx, 0x6d
je 0x140003890
cmp ecx, 1
jne 0x1400038ee
mov r9d, dword [rsi + rdi + 0x88]
test r9d, r9d
jle 0x1400038ee
mov r8d, dword [rsi + rdi + 0x84]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea edx, [rcx + 0x6d]
mov ecx, dword [r15 + 0x26]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400394d0
test eax, eax
jne 0x1400038ee
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000386e
mov rdx, qword [rbp - 0x30]
mov ecx, 8
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140003868
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r9d, dword [rsi + rdi + 0x88]
mov r8d, dword [rsi + rdi + 0x84]
mov ecx, dword [r15 + 0x26]
call fcn.14003c520
mov dword [rbp + 0x40], 1
jmp 0x1400038ee
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400038ee
movsx eax, word [rsi + rdi + 0x94]
lea r8, [rbp - 0x28]
mov r9d, dword [rsi + rdi + 0x84]
mov ecx, dword [r15 + 0x26]
mov dword [rbp - 0x28], eax
mov eax, dword [rsi + rdi + 0x94]
shr rax, 0x10
cwde
mov dword [rbp - 0x24], eax
mov eax, dword [rsi + rdi + 0x88]
mov dword [rsp + 0x20], eax
call fcn.140073920
test eax, eax
mov eax, 1
cmove ebx, eax
mov dword [rbp + 0x40], ebx
call qword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [rsi + rdi + 0x84]
mov r8, qword [rbp - 0x18]
add edx, r12d
mov ecx, dword [rsi + rdi + 0x80]
call fcn.14000205c
mov ebx, eax
test eax, eax
jne 0x140003a8b
inc r12d
cmp r12d, dword [rsi + rdi + 0x88]
jl 0x14000377e
jmp 0x1400039d8
mov ecx, dword [rdi + 0x10]
mov eax, ecx
sub eax, r12d
sub eax, edx
imul edx, eax, 0xd4
test edx, edx
je 0x140003964
movsxd r8, edx
lea eax, [r12 + 1]
movsxd rcx, eax
lea rdx, [rdi + 0x14]
imul rax, rcx, 0xd4
lea rcx, [rdi + 0x14]
add rdx, rax
add rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [rdi + 0x10]
lea eax, [rcx - 1]
mov dword [rdi + 0x10], eax
mov ecx, dword [r13 + 0x10]
mov eax, ecx
sub eax, r14d
lea eax, [rax*4 - 4]
test eax, eax
je 0x1400039a7
movsxd r8, eax
movsxd rax, dword [rbp + 0x50]
movsxd rcx, r14d
lea rdx, [rax*4 + 0x14]
lea rcx, [rcx*4 + 0x14]
add rdx, r13
add rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [r13 + 0x10]
lea eax, [rcx - 1]
xor edx, edx
mov dword [r13 + 0x10], eax
test eax, eax
jle 0x1400039d8
lea rcx, [r13 + 0x14]
lea r15d, [rdx + 1]
mov eax, dword [rcx]
cmp eax, r12d
jle 0x1400039c7
dec eax
mov dword [rcx], eax
add edx, r15d
add rcx, 4
cmp edx, dword [r13 + 0x10]
jl 0x1400039bc
mov r15, qword [rbp + 0x48]
mov rax, qword [rbp - 0x20]
mov r12d, 1
sub dword [rbp + 0x50], r12d
sub rax, 4
sub r14d, r12d
mov qword [rbp - 0x20], rax
mov edx, r12d
jns 0x14000373d
mov rcx, qword [rbp - 0x40]
mov edi, dword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebx, ebx
jne 0x140003a8b
mov rcx, qword [rbp - 0x40]
imul edx, edi, 0xd4
add edx, 0x14
call fcn.140044914
mov rcx, qword [rbp - 0x38]
lea edx, [rdi*4 + 0x14]
call fcn.140044914
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140003a98
cmp dword [rbp + 0x40], ebx
jne 0x140003a53
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, 2
mov edx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
movzx ecx, word [0x140096f10]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140003a83
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140003a98
mov ecx, dword [0x1400b8b40]
xor edx, edx
call fcn.1400478a4
mov eax, ebx
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret