Function at 0x1400415b0
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xor edi, edi
lea r12, [rsp + 0x80]
mov qword [r12], rdi
mov rax, qword [rdx]
mov rax, qword [rax + 0xa0]
mov rcx, rdx
mov rdx, r12
call qword [0x140224008]
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov edx, 0x7544
call qword [0x140224008]
lea r13, [rsp + 0x60]
mov qword [r13], rdi
mov rdx, qword [r12]
mov rax, qword [rbx]
mov rax, qword [rax + 0x48]
mov rcx, rbx
mov r8, r13
call qword [0x140224008]
mov rcx, qword [r13]
test rcx, rcx
je 0x140041659
mov edx, 0x7544
call fcn.1400404d0
movsxd rdi, eax
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14004167f
mov qword [rsp + 0x80], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140224008]
test rdi, rdi
je 0x1400417a4
movaps xmm6, xmmword [0x1401c1a20]
lea r12, [rsp + 0x40]
movaps xmmword [r12], xmm6
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov rdx, r12
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x140041795
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
xor ebp, ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 5
mov rcx, rdi
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
lea r12, [rsp + 0xa0]
mov qword [r12], rbp
mov rax, qword [r14]
mov rax, qword [rax + 0xa0]
mov rcx, r14
mov rdx, r12
call qword [0x140224008]
mov r13, qword [r12]
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
mov edx, 0x753b
call qword [0x140224008]
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
mov edx, 0x7535
call qword [0x140224008]
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
mov edx, 0x753c
call qword [0x140224008]
mov rax, qword [r13]
mov rax, qword [rax + 0x20]
mov rcx, r13
mov edx, 0x2710
call qword [0x140224008]
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov edx, 0x7531
call qword [0x140224008]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
cmp byte [r15 + 0x47], 0
js 0x14004180d
add r15, 0x30
jmp 0x140041811
lea rdx, str.Cannot_get_desktop_rect.
mov r8d, SafeArrayCopy
jmp 0x1400417b1
lea rdx, str.Cannot_get_native_menu_handle.
mov r8d, 0x1e
mov rcx, rsi
call fcn.1400db450
xor ebx, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14012cf50
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
mov rcx, rdi
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.Cannot_find_pin_menu_element.
mov r8d, 0x1d
mov rcx, rsi
call fcn.1400db450
jmp 0x1400417bb
mov r15, qword [r15 + 0x30]
lea r12, [rsp + 0x80]
mov rcx, r12
mov rdx, r15
call fcn.140185260
lea r15, [rsp + 0x78]
mov qword [r15], rbp
movaps xmm0, xmmword [r12]
lea r8, [rsp + 0x60]
movaps xmmword [r8], xmm0
mov rax, qword [r12 + 0x10]
mov qword [r8 + 0x10], rax
mov rax, qword [r14]
mov rax, qword [rax + 0xb8]
mov rcx, r14
mov edx, 0x7535
mov r9, r15
call qword [0x140224008]
lea r14, [rsp + 0x58]
mov qword [r14], rbp
mov r9, qword [rsp + 0xa0]
mov r8, qword [r15]
mov rax, qword [rbx]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov edx, 4
call qword [0x140224008]
mov rbx, qword [r14]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400418ac
mov qword [rsp + 0x78], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140224008]
lea rcx, [rsp + 0x80]
call sub.OLEAUT32.dll_VariantCopy
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400418df
mov qword [rsp + 0xa0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140224008]
test rbx, rbx
je 0x1400417e9
lea rdx, [rsp + 0x80]
movaps xmmword [rdx], xmm6
mov rax, qword [rbx]
mov rax, qword [rax + 0x258]
mov rcx, rbx
call qword [0x140224008]
test eax, eax
js 0x1400419a2
mov eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x88]
add ecx, dword [rsp + 0x80]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
add eax, dword [rsp + 0x8c]
shr edx, 1
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
and ecx, 0xfffffffe
shl ecx, 0xf
movzx ebx, dx
or ebx, ecx
mov rcx, rdi
mov edx, 0x201
xor r8d, r8d
mov r9, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x14004197b
mov rcx, rdi
mov edx, 0x202
xor r8d, r8d
mov r9, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov bl, 1
test eax, eax
jne 0x1400417bb
lea rdx, str.Could_not_activate_the_menu_item.
mov r8d, 0x21
mov rcx, rsi
call fcn.1400db450
xor ebx, ebx
mov rcx, rdi
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400417bb
mov rcx, rdi
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsi + 0x17], 0
js 0x1400419d4
mov byte [rsi + 0x17], SafeArrayDestroy
movabs rax, 0x6174636572206f4e
mov qword [rsi], rax
mov dword [rsi + 8], 0x656c676e
mov byte [rsi + 0xc], 0
jmp 0x1400417b9
mov qword [rsi + 8], SafeArrayDestroy
mov rsi, qword [rsi]
jmp 0x1400419b7