Function at 0x1400091a4
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r13
sub rsp, 0x20
cmp dword [rcx + 0xf8], 0
mov rbx, rcx
je 0x140009489
and dword [rcx + 0xf8], 0
and dword [rcx + 0x100], 0
and dword [rcx + 0x104], 0
mov rcx, qword [rcx + 0x168]
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x168]
mov edx, 0x8005
mov rcx, qword [rcx + 8]
mov r8d, 3
call qword [sym.imp.USER32.dll_EnableMenuItem]
lea rcx, [rbx + 0x4c0]
call fcn.140014008
mov rcx, qword [rbx + 0x170]
xor edx, edx
call fcn.14000a524
lea r8, [0x140040480]
mov edx, 0x3e9
mov rcx, rbx
call fcn.14000a3e8
mov rcx, qword [rbx + 0x178]
xor r9d, r9d
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x184
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbx + 0x108], 0
je 0x140009272
mov rcx, qword [rbx + 0x150]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rax, qword [rbx + 0x150]
xor r9d, r9d
xor r8d, r8d
mov ecx, dword [rax + 0x60]
mov edx, 0x5f5
call qword [sym.imp.USER32.dll_PostThreadMessageW]
lea rcx, [rbx + 0x2c0]
call fcn.140014008
mov r11, qword [rbx + 0x158]
xor r9d, r9d
mov ecx, dword [r11 + 0x60]
xor r8d, r8d
mov edx, 0x659
call qword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [rbx + 0xf0], 0
je 0x14000931f
cmp dword [rbx + 0xfc], 0
je 0x14000931f
mov rdi, qword [rbx + 0xe8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400092f1
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x444
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009314
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x445
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbx + 0x3c0]
call fcn.140014008
mov edx, 0x3ed
mov rcx, rbx
call fcn.14000a380
mov r13d, 1
xor edx, edx
mov rcx, qword [rax + 0x40]
mov r8d, r13d
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, 0x3ee
mov rcx, rbx
call fcn.14000a380
mov r8d, r13d
xor edx, edx
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x150]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x168]
mov dword [rbx + 0x108], r13d
mov rcx, qword [rcx + 8]
lea edi, [r13 + 7]
mov edx, 0x800b
mov r8d, edi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x168]
mov dword [rbx + 0x10c], r13d
mov rcx, qword [rcx + 8]
mov r8d, edi
mov edx, 0x800d
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x168]
mov dword [rbx + 0x110], r13d
mov rcx, qword [rcx + 8]
mov r8d, edi
mov edx, 0x800e
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x168]
mov dword [rbx + 0x114], r13d
mov rcx, qword [rcx + 8]
mov r8d, edi
mov edi, 0x800f
mov edx, edi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x168]
lea edx, [rdi - 4]
mov rcx, qword [rcx + 8]
mov r8d, r13d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x168]
lea edx, [rdi - 2]
mov rcx, qword [rcx + 8]
mov r8d, r13d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x168]
lea edx, [rdi - 1]
mov rcx, qword [rcx + 8]
mov r8d, r13d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x168]
mov r8d, r13d
mov rcx, qword [rcx + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x168]
lea edx, [rdi - 8]
mov rcx, qword [rcx + 8]
mov r8d, r13d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x168]
lea edx, [rdi - 7]
mov rcx, qword [rcx + 8]
mov r8d, r13d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop r13
ret