Function at 0x14009f838
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rdi, rdx
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x918]
xor ebx, ebx
test eax, eax
je 0x14009facb
mov edx, 0xa
lea rcx, [rsp + 0x48]
call fcn.14011efcb
nop
lea rax, vtable.CGXRangeList.0
mov qword [rsp + 0x48], rax
mov rax, qword [rdi]
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x468]
test eax, eax
je 0x14009fabf
mov rcx, rdi
call fcn.140072128
mov rsi, rax
test rax, rax
je 0x14009f8e6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.mfc140u.dll_CInternetFile::CInternetFile]
test eax, eax
je 0x14009f8e6
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x200]
test eax, eax
je 0x14009f8e6
mov ebx, 1
jmp 0x14009fabf
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x690]
mov rsi, qword [rdi + 0x7b8]
cmp qword [rsp + 0x60], 1
jle 0x14009f91b
or r8d, 0xffffffff
xor edx, edx
mov ecx, 0x4eb9
call sub.mfc140u.dll_AfxInitLocalData
jmp 0x14009fabf
mov ebp, ebx
mov r14d, ebx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd0]
mov r15d, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xd8]
mov r12d, eax
test byte [rdi + 0x400], 2
jne 0x14009f957
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x1b8]
lea r14d, [rax + 1]
test byte [rdi + 0x400], 1
jne 0x14009f96f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1b0]
lea ebp, [rax + 1]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140045f60
mov dword [rsp + 0x20], r12d
mov r9d, r15d
mov r8d, r14d
mov edx, ebp
lea rcx, [rsp + 0x30]
call fcn.140046914
mov r14d, ebx
cmp qword [rsi + 0x360], rbx
je 0x14009fa94
mov ecx, dword [rsi + 0x33c]
test ecx, ecx
je 0x14009f9c1
mov eax, dword [rsi + 0x344]
test eax, eax
jne 0x14009fa7f
cmp dword [rsi + 0x338], ebx
je 0x14009fa94
mov eax, dword [rsi + 0x344]
test eax, eax
jne 0x14009fa94
test ecx, ecx
je 0x14009f9e7
test eax, eax
jne 0x14009fa7f
mov eax, dword [0x140197dd8]
mov ebp, 0xffff
cmp eax, ebp
jne 0x14009fa09
lea rcx, str.GX_DIRECTCOPY
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x140197dd8], eax
mov ecx, eax
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14009fa94
mov rcx, qword [rdi + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
mov eax, dword [0x140197dd8]
cmp eax, ebp
jne 0x14009fa43
lea rcx, str.GX_DIRECTCOPY
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x140197dd8], eax
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x14009fa74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14009fabf
mov r14d, ebx
cmp rsi, qword [rax]
sete r14b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
test r14d, r14d
je 0x14009fa94
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x810]
mov ebx, eax
jmp 0x14009fabf
mov rcx, qword [rdi + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x818]
mov ebx, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rsp + 0x48]
call fcn.14004603c
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret