Function at 0x14000ba60
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x128], 0
mov rbx, rcx
je 0x14000bd6c
xor eax, eax
xor r8d, r8d
mov edx, 0x8004
mov dword [rcx + 0x128], eax
mov qword [rcx + 0x130], rax
mov rcx, qword [rcx + 0x198]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x8005
mov rcx, qword [rcx + 8]
mov r8d, 3
call qword [sym.imp.USER32.dll_EnableMenuItem]
lea rcx, [rbx + 0x4f8]
call fcn.1400185ac
mov rcx, qword [rbx + 0x1a0]
xor edx, edx
call int.14000d0d4
lea r8, [0x1401c7d70]
mov edx, 0x3e9
mov rcx, rbx
call fcn.14000ce64
mov rcx, qword [rbx + 0x1a8]
xor r9d, r9d
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x184
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbx + 0x138], 0
je 0x14000bb1e
mov rcx, qword [rbx + 0x180]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rax, qword [rbx + 0x180]
xor r9d, r9d
xor r8d, r8d
mov ecx, dword [rax + 0x60]
mov edx, 0x5f5
call qword [sym.imp.USER32.dll_PostThreadMessageW]
lea rcx, [rbx + 0x2f8]
call fcn.1400185ac
mov r11, qword [rbx + 0x188]
xor r9d, r9d
mov ecx, dword [r11 + 0x60]
xor r8d, r8d
mov edx, 0x659
call qword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [rbx + 0x120], 0
je 0x14000bbd5
cmp dword [rbx + 0x12c], 0
je 0x14000bbd5
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0x118]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000bba2
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 0x14000bbc5
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]
mov rdi, qword [rsp + 0x30]
lea rcx, [rbx + 0x3f8]
call fcn.1400185ac
mov edx, 0x3ed
mov rcx, rbx
call fcn.14000cdc4
xor edx, edx
mov rcx, qword [rax + 0x40]
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, 0x3ee
mov rcx, rbx
call fcn.14000cdc4
xor edx, edx
mov rcx, qword [rax + 0x40]
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x180]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x198]
mov dword [rbx + 0x138], 1
mov rcx, qword [rcx + 8]
mov edx, 0x800b
mov r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x198]
mov dword [rbx + 0x13c], 1
mov rcx, qword [rcx + 8]
mov edx, 0x800d
mov r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x198]
mov dword [rbx + 0x140], 1
mov rcx, qword [rcx + 8]
mov edx, 0x800e
mov r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x198]
mov dword [rbx + 0x144], 1
mov rcx, qword [rcx + 8]
mov edx, 0x800f
mov r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x800b
mov rcx, qword [rcx + 8]
mov r8d, 1
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x800d
mov rcx, qword [rcx + 8]
mov r8d, 1
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x800e
mov rcx, qword [rcx + 8]
mov r8d, 1
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x800f
mov rcx, qword [rcx + 8]
mov r8d, 1
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x8007
mov rcx, qword [rcx + 8]
mov r8d, 1
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rbx + 0x198]
mov edx, 0x8008
mov rcx, qword [rcx + 8]
mov r8d, 1
call qword [sym.imp.USER32.dll_EnableMenuItem]
add rsp, 0x20
pop rbx
ret