Function at 0x14000b9e8
Capabilities:
Open clipboard

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
xor r12d, r12d
mov rcx, qword [0x140032598]
mov r14d, r12d
mov dword [rbp + 0x48], r12d
call qword [sym.imp.USER32.dll_GetMenu]
nop dword [rax + rax]
mov rcx, qword [0x140032588]
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x48]
mov edx, 0xb0
mov rsi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov eax, dword [rbp + 0x50]
lea r15d, [r12 + 1]
cmp dword [rbp + 0x48], eax
mov ebx, r12d
mov edx, r15d
mov rcx, rsi
sete bl
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x300
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x301
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x303
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
lea edx, [r12 + 0x1c]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
nop dword [rax + rax]
test eax, eax
je 0x14000bb23
mov ecx, r15d
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
nop dword [rax + rax]
test r14d, r14d
mov ebx, r12d
mov edx, r15d
mov rcx, rsi
sete bl
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x302
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov rcx, qword [0x140032588]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov ebx, r15d
mov edx, r15d
test rax, rax
mov rcx, rsi
cmovne ebx, r12d
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x15
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x16
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x1d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
cmp dword [0x14003236c], r12d
mov ebx, r12d
mov edx, r15d
mov rcx, rsi
setne bl
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x18
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov rcx, qword [0x140032588]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc6
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov ebx, r12d
mov edx, r15d
test eax, eax
mov rcx, rsi
sete bl
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x10
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop dword [rax + rax]
mov eax, dword [0x14003236c]
mov edx, 2
neg eax
mov rcx, rsi
sbb ebx, ebx
and ebx, 8
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.USER32.dll_CheckMenuItem]
nop dword [rax + rax]
mov ebx, 3
mov rcx, rsi
mov edx, ebx
call qword [sym.imp.USER32.dll_GetSubMenu]
nop dword [rax + rax]
mov ecx, dword [0x140032378]
neg ecx
sbb r8d, r8d
lea edx, [rbx + 0x18]
and r8d, 8
mov rcx, rax
call qword [sym.imp.USER32.dll_CheckMenuItem]
nop dword [rax + rax]
mov r8d, dword [0x140031498]
test r8b, 2
jne 0x14000bd12
lea rdx, [rbp - 8]
lea rcx, [0x140031498]
call fcn.14000c818
mov rcx, qword [rax]
mov qword [rbp - 0x10], rcx
mov r8d, ecx
mov r9d, r8d
mov dword [rsp + 0x30], ebx
shr r9d, 9
lea rax, [rbp + 0x58]
shr r8d, 8
lea rcx, [0x1400314a0]
and r9d, r15d
mov dword [rsp + 0x28], r15d
and r8d, r15d
mov dword [rbp + 0x58], r12d
mov edx, 0x10f6105
mov byte [rbp + 0x5c], bl
mov qword [rsp + 0x20], rax
call fcn.14000de34
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret