Function at 0x140079890
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, r8
cmp qword [rdx + 0x60], 0
jne 0x140079934
mov dword [r8 + 0x20], 0x190
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.application_json
lea rcx, [rbp - 9]
call fcn.140002930
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, 0x23
lea rdx, str._error_:_Missing_required_fields_
lea rcx, [rbp - 0x29]
call fcn.140002930
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.140068f10
nop
lea rcx, [rbp - 0x29]
call fcn.140013250
nop
lea rcx, [rbp - 9]
jmp 0x140079b61
add rdx, 0x50
lea rcx, [rbp + 0x17]
call fcn.1400125c0
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400799ca
mov dword [rdi + 0x20], 0x190
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.application_json
lea rcx, [rbp - 0x29]
call fcn.140002930
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov r8d, 0x24
lea rdx, str._error_:_Failed_to_open_clipboard_
lea rcx, [rbp - 9]
call fcn.140002930
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140068f10
nop
lea rcx, [rbp - 9]
call fcn.140013250
nop
lea rcx, [rbp - 0x29]
call fcn.140013250
jmp 0x140079b5d
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rbp + 0x27]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x140079a66
mov dword [rdi + 0x20], 0x190
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.application_json
lea rcx, [rbp - 0x29]
call fcn.140002930
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov r8d, 0x27
lea rdx, str._error_:_Failed_to_set_clipboard__1_
lea rcx, [rbp - 9]
call fcn.140002930
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140068f10
nop
lea rcx, [rbp - 9]
call fcn.140013250
nop
lea rcx, [rbp - 0x29]
call fcn.140013250
jmp 0x140079b5d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
jne 0x140079b03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x20], 0x190
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.application_json
lea rcx, [rbp - 0x29]
call fcn.140002930
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov r8d, 0x27
lea rdx, str._error_:_Failed_to_set_clipboard__2_
lea rcx, [rbp - 9]
call fcn.140002930
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140068f10
nop
lea rcx, [rbp - 9]
call fcn.140013250
nop
lea rcx, [rbp - 0x29]
call fcn.140013250
jmp 0x140079b5d
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rdx, qword [rbp + 0x17]
mov r8, qword [rbp + 0x27]
add r8, rdx
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rdx, qword [rbp + 0x17]
sub r8, rdx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbp + 0x27]
mov byte [rax + rsi], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x20], 0xc8
lea rcx, [rbp + 0x17]
call fcn.140013250
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400ce8a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
jmp 0x140079890