Function at 0x14006f5e0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
mov rcx, qword [0x14012bbd0]
call qword [sym.imp.USER32.dll_GetMenu]
cmp byte [0x14012ae05], 0
sete dl
mov rcx, rax
mov rbx, rax
mov byte [0x14012ae05], dl
neg dl
mov edx, 0x9c6e
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [0x14012bc00]
xor r9d, r9d
cmp byte [0x14012ae05], r9b
mov edx, 0x42b
mov r8d, 0x9c6e
setne r9b
add r9, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14012bc00]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x14012bbd0]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x14012ae05], 0
jne 0x14006f759
mov rcx, qword [0x14012bbe8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14006f6b5
mov rcx, qword [0x14012bbf0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14006f88f
mov rcx, qword [0x14012bbe8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14012bbf0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14012bbd0]
call qword [sym.imp.USER32.dll_GetMenu]
mov edx, 5
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.USER32.dll_RemoveMenu]
mov rcx, qword [0x14012bbd0]
call qword [sym.imp.USER32.dll_DrawMenuBar]
movzx eax, word [rsp + 0x3c]
mov rcx, qword [0x14012bbd0]
movsd xmm0, qword [0x140126c58]
movsd xmm1, qword [0x1400e4208]
movsd qword [0x140126c60], xmm0
movsd qword [0x140126c58], xmm1
sub ax, word [rsp + 0x34]
xor r8d, r8d
xor edx, edx
movzx r9d, ax
movzx eax, word [rsp + 0x38]
sub ax, word [rsp + 0x30]
shl r9d, 0x10
movzx eax, ax
or r9, rax
call fcn.140072060
jmp 0x14006f88f
movzx eax, word [rsp + 0x3c]
movsd xmm0, qword [0x140126c60]
mov rcx, qword [0x14012bbd0]
sub ax, word [rsp + 0x34]
xor r8d, r8d
xor edx, edx
movsd qword [0x140126c58], xmm0
movzx r9d, ax
movzx eax, word [rsp + 0x38]
mov qword [rsp + 0x60], rdi
sub ax, word [rsp + 0x30]
shl r9d, 0x10
movzx eax, ax
or r9, rax
call fcn.140072060
mov rdi, qword [0x14012bbe8]
cmp byte [0x14012ae04], 0
cmovne rdi, qword [0x14012bbf0]
mov rcx, qword [0x14012bbd8]
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14012bbd8]
xor r9d, r9d
movsxd r8, eax
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
test rsi, rsi
je 0x14006f80b
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_SetEvent]
movzx r10d, byte [0x14012ae04]
mov r9, qword [0x14012c1f0]
lea rcx, str.DLL
test r10b, r10b
lea rax, [0x1400e97b8]
mov edx, 5
cmovne r9, qword [0x14012c1e8]
cmovne rax, rcx
mov r8d, 0x410
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_InsertMenuW]
mov rcx, qword [0x14012bbd0]
call qword [sym.imp.USER32.dll_DrawMenuBar]
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x60]
mov edx, 5
cmp eax, 0xffffffff
je 0x14006f888
mov cl, 1
jmp 0x14006f88a
xor ecx, ecx
call fcn.140054d20
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret