Function at 0x140153628
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
cmp qword [rsp + 0xb0], 0
jne 0x140153669
mov r8d, 0x121
lea rdx, [0x1401e1958]
lea rcx, [0x1401e1988]
call fcn.140183df0
xor eax, eax
cmp qword [rsp + 0xb0], 0
je 0x140153690
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140153338
movzx eax, al
test eax, eax
jne 0x140153697
xor al, al
jmp 0x140153937
mov byte [rsp + 0x40], 0
call fcn.140133de8
cmp qword [rsp + 0xa8], rax
jne 0x14015383d
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1401537c6
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1401537c4
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1401537c4
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cdqe
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x58], rax
jbe 0x140153766
mov r8d, 0x132
lea rdx, [0x1401e1990]
lea rcx, [0x1401e19c0]
call fcn.140183df0
xor eax, eax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x58], rax
ja 0x1401537b9
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x140153838
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140153838
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140153838
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140153838
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
call fcn.14017d7d0
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x140153933
mov ecx, dword [rsp + 0xa8]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140153933
mov ecx, dword [rsp + 0xa8]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140153933
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140153933
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x48], rax
jbe 0x1401538d9
mov r8d, 0x156
lea rdx, [0x1401e19e0]
lea rcx, [0x1401e1a10]
call fcn.140183df0
xor eax, eax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x48], rax
jbe 0x1401538f3
mov rax, qword [rsp + 0x78]
sub rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x48], rax
ja 0x140153928
mov rax, qword [rsp + 0x80]
add rax, 8
mov r8, qword [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.14017d7d0
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, byte [rsp + 0x40]
add rsp, 0x98
ret