Function at 0x403210
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xd0]
movsx eax, word [rax]
add eax, 2
mov rcx, qword [rsp + 0xd0]
movsx ecx, word [rcx + 2]
imul eax, ecx
add eax, 1
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.00434770
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x30]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.00434680
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x4c], 0
jmp 0x4032a9
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xd0]
movsx eax, word [rax]
mov rcx, qword [rsp + 0xd0]
movsx ecx, word [rcx + 2]
imul eax, ecx
cmp dword [rsp + 0x4c], eax
jge 0x40338c
movsxd rax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0xc8]
movzx eax, byte [r8 + rax*4]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
movsx eax, word [rax]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, dword [rsp + 0x98]
idiv ecx
mov eax, edx
test eax, eax
jne 0x403387
mov eax, dword [rsp + 0x34]
sub eax, 1
cdqe
mov rcx, qword [rsp + 0x20]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
jne 0x403355
cmp dword [rsp + 0x34], 0
jg 0x403348
jmp 0x403355
mov eax, dword [rsp + 0x34]
sub eax, 1
mov dword [rsp + 0x34], eax
jmp 0x403328
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], SafeArrayGetDim
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0xa
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
jmp 0x40329e
cmp dword [rsp + 0x30], 4
jne 0x4033a5
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
cmp eax, 0x20
jne 0x4033a5
jmp 0x403493
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.00403730
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x4033ef
mov qword [rsp + 0xa0], 0
jmp 0x403403
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x403489
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
add eax, 1
cdqe
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.004355f0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x50]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rsp + 0x40]
call fcn.00401cd0
add rsp, 0xb8
ret