Function at 0x140004580
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140118080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x58], rcx
xor r15d, r15d
mov dword [rbp - 0x60], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r15b
mov esi, 1
mov dword [rbp - 0x60], esi
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ecx, eax
cmp al, 0xd
je 0x1400047d0
movzx ebx, byte [rbp - 0x5c]
nop dword [rax + rax]
cmp cl, 8
jne 0x140004634
cmp qword [rdi + 0x10], 0
je 0x1400047bf
lea rdx, [0x1400f0b74]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ad10
mov rax, qword [rdi + 0x10]
dec rax
mov qword [rdi + 0x10], rax
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000462b
mov rcx, qword [rdi]
mov byte [rcx + rax], 0
jmp 0x1400047bf
cmp cl, 0x16
jne 0x140004773
or esi, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140004676
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
xor r8d, r8d
lea rdx, [0x1400f0ac8]
lea rcx, [rbp - 0x50]
call fcn.14000bb90
mov dword [rbp - 0x60], esi
jmp 0x140004712
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
test rax, rax
jne 0x140004691
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14000464c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x1400046a7
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14000464c
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400046c0
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000bb90
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov dword [rbp - 0x60], esi
lea rcx, [rbp - 0x30]
call fcn.140009dc0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rdi
call fcn.140009ed0
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8b, 0x2a
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400084d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140004752
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.14000fcf0
nop
lea rcx, [rbp - 0x30]
call fcn.140009dc0
nop
lea rcx, [rbp - 0x50]
call fcn.140009dc0
jmp 0x1400047bf
mov rdx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
cmp rdx, r8
jae 0x14000479e
lea rax, [rdx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r8, 0xf
jbe 0x140004794
mov rax, qword [rdi]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x1400047b3
movzx r9d, cl
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14000ba20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000af00
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
movzx ecx, al
cmp al, 0xd
jne 0x1400045f0
lea rdx, [0x14000b0c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400db8b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret