Function at 0x14006f0d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
lea rcx, [0x140209940]
mov r15d, edx
call fcn.1400e7210
xor ecx, ecx
mov r14d, eax
call fcn.1400d8990
xor edx, edx
mov rcx, rdi
call fcn.140072690
mov edx, 0x45a
mov rcx, rdi
movsd xmm0, qword [0x1401fbc60]
addsd xmm0, qword [0x140183398]
cvttsd2si r8d, xmm0
test r8d, r8d
je 0x14006f138
mov r8d, 8
jmp 0x14006f13b
xor r8d, r8d
call qword [sym.imp.USER32.dll_CheckMenuItem]
cmp dword [0x1401fbbc8], 0
mov edx, 0x37
mov rcx, rdi
je 0x14006f158
lea r8d, [rdx - 0x2f]
jmp 0x14006f15b
xor r8d, r8d
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor ebx, ebx
test r14d, r14d
sete bl
mov edx, 0x472
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x424
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x41d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x45c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x471
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x482
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor r8d, r8d
mov edx, 0x8f
cmp dword [0x1401f7148], r8d
mov rcx, rdi
sete r8b
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, 1
test r14d, r14d
jne 0x14006f215
mov rcx, qword [0x1401fbab8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jg 0x14006f215
xor eax, eax
jmp 0x14006f217
mov eax, esi
xor ebx, ebx
test eax, eax
mov edx, 0x459
sete bl
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x3d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x3e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor ebp, ebp
mov edx, 0x47c
cmp qword [0x1401fbae0], rbp
mov rcx, rdi
setne bpl
xor ebx, ebx
test ebp, ebp
sete bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x47d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x48
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test ebp, ebp
je 0x14006f2a9
cmp dword [0x1401fbc4c], esi
jne 0x14006f2a9
xor r8d, r8d
jmp 0x14006f2ac
mov r8d, esi
mov edx, 0x99
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x46c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x425
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x75
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x7d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x54
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x55
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x56
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x97
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x57
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x58
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x59
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x5d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x5a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x3c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x42
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x53
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test ebp, ebp
jne 0x14006f40e
mov rcx, qword [0x1401fbb20]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14006f40e
cmp dword [0x1401fbbd4], eax
jne 0x14006f40e
mov r8d, esi
jmp 0x14006f411
xor r8d, r8d
mov edx, 0x427
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4af
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0xa1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4b2
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4b1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x473
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0xa4
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0xa5
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x5b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x41c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x84
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x85
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x86
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x41a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x480
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x42f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x430
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x432
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x435
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x431
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 4
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x433
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x436
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x1f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0xa6
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x6a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x87
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x9c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 8
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x43b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, esi
mov edx, 0x8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, esi
mov edx, 0x43c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x413
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x479
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x47a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x434
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4a7
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x50
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x7f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x91
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor eax, eax
cmp dword [0x1401fbc4c], esi
sete al
xor ebx, ebx
mov edx, 0x45
test eax, eax
mov rcx, rdi
sete bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x429
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x42a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x428
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x9d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x9e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x9f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0xa0
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
jne 0x14006f7dc
cmp dword [0x1401fbbd4], 0
jne 0x14006f7dc
test r15d, r15d
jne 0x14006f7dc
mov rcx, qword [0x1401fbb20]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14006f7de
mov eax, esi
xor ebx, ebx
test eax, eax
mov edx, 0x450
sete bl
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x42b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.14005b720
xor ebx, ebx
test eax, eax
mov edx, 0x42d
mov rcx, rdi
sete bl
mov ebp, eax
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x426
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
je 0x14006f849
test ebp, ebp
je 0x14006f849
mov eax, esi
jmp 0x14006f84b
xor eax, eax
xor ebx, ebx
test eax, eax
mov edx, 0x6d
sete bl
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x6b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x6e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x6c
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
je 0x14006f8ac
cmp dword [0x1402094b4], esi
jle 0x14006f8ac
mov eax, esi
jmp 0x14006f8ae
xor eax, eax
xor ebx, ebx
test eax, eax
mov edx, 0x36
sete bl
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x478
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x474
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x475
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x477
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x476
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x5f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x60
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x61
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
je 0x14006f96f
cmp dword [0x1402094b4], 8
jl 0x14006f96f
cmp dword [0x1401fbbdc], 0
je 0x14006f96f
xor r8d, r8d
jmp 0x14006f972
mov r8d, esi
mov edx, 0x6f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x423
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x41b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x481
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x2a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x46d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
je 0x14006f9ec
cmp dword [0x1402094b4], 8
jg 0x14006f9ec
mov eax, esi
jmp 0x14006f9ee
xor eax, eax
xor ebx, ebx
test eax, eax
mov edx, 0x42c
sete bl
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x47e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [0x1401fbab8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov edx, 0x43e
test eax, eax
setg cl
xor ebx, ebx
test ecx, ecx
mov rcx, rdi
sete bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x458
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x465
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x46b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [0x1401fbab8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov edx, 0x47b
cmp eax, esi
setg cl
xor ebx, ebx
test ecx, ecx
mov rcx, rdi
sete bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4aa
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4b3
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor ebp, ebp
cmp dword [0x1401fbbe0], esi
setg bpl
xor ebx, ebx
mov edx, 0x45f
test ebp, ebp
mov rcx, rdi
sete bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x460
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test ebp, ebp
je 0x14006fb21
cmp dword [0x1401fbbd4], 0
jne 0x14006fb21
xor r8d, r8d
jmp 0x14006fb24
mov r8d, esi
mov edx, 0x463
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x464
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test ebp, ebp
je 0x14006fb55
cmp dword [0x1401fbbd4], 0
jne 0x14006fb55
xor r8d, r8d
jmp 0x14006fb58
mov r8d, esi
mov edx, 0x66
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x45e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x456
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.14005b930
xor ebx, ebx
test eax, eax
mov edx, 0x4b4
mov rcx, rdi
sete bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4b5
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
jne 0x14006fbcd
cmp dword [0x1401fbbd4], 0
jne 0x14006fbcd
xor eax, eax
jmp 0x14006fbcf
mov eax, esi
xor ebx, ebx
test eax, eax
mov edx, 0x45a
sete bl
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x37
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, ebx
mov edx, 0x4b6
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.14005b900
xor r8d, r8d
test eax, eax
mov edx, 0x42e
mov rcx, rdi
sete r8b
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, esi
call fcn.14005b8b0
xor r8d, r8d
mov edx, 0x62
test eax, eax
mov rcx, rdi
sete r8b
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [0x1401fbbd4], 0
jne 0x14006fc56
test r15d, r15d
jne 0x14006fc56
mov r8d, esi
jmp 0x14006fc59
xor r8d, r8d
mov edx, 0x48e
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r15d, r15d
je 0x14006fc7a
cmp dword [0x1401fbbd4], 0
jne 0x14006fc7a
xor r8d, r8d
jmp 0x14006fc7d
mov r8d, esi
mov edx, 0x490
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [0x1401fbbd4], 0
jne 0x14006fcd6
mov rcx, qword [0x1401fbb20]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14006fcb4
mov ecx, dword [0x1401f7120]
call fcn.1400ed690
test eax, eax
jne 0x14006fcd6
mov eax, dword [0x1401f7120]
cmp eax, 0xa
je 0x14006fcd6
cmp eax, 0x32
je 0x14006fcd6
cmp eax, 0x59
je 0x14006fcd6
cmp dword [0x1401fbbe0], esi
jg 0x14006fcd6
mov r8d, esi
jmp 0x14006fcd9
xor r8d, r8d
mov edx, 0x43a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
je 0x14006fcff
cmp dword [0x1402094b4], 0x18
jge 0x14006fcff
xor r8d, r8d
jmp 0x14006fd02
mov r8d, esi
mov edx, 0x452
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
jne 0x14006fd38
mov rcx, qword [0x1401fbb20]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14006fd38
cmp dword [0x1401fbbd4], eax
jne 0x14006fd38
mov r8d, esi
jmp 0x14006fd3b
xor r8d, r8d
mov edx, 0x448
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [0x1401fbae0], 0
je 0x14006fd69
cmp dword [0x1401f7120], 6
jne 0x14006fd69
cmp dword [0x1401fbbe0], esi
jle 0x14006fd69
xor r8d, r8d
jmp 0x14006fd6c
mov r8d, esi
mov edx, 0x1a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [0x1401fbbe0]
cmp eax, esi
jle 0x14006fd93
dec eax
cmp dword [0x1401fbbe4], eax
jge 0x14006fd93
xor r8d, r8d
jmp 0x14006fd96
mov r8d, esi
mov edx, 0x461
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [0x1401fbbe0], esi
jle 0x14006fdba
cmp dword [0x1401fbbe4], 0
jle 0x14006fdba
xor r8d, r8d
jmp 0x14006fdbd
mov r8d, esi
mov edx, 0x462
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r14d, r14d
je 0x14006fe0e
cmp qword [0x1401fbae0], 0
je 0x14006fe0e
cmp dword [0x1401f7120], 0
jne 0x14006fe0e
mov ebx, esi
xor r8d, r8d
mov edx, 0x455
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test ebx, ebx
jne 0x14006fe24
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401fbb48]
je 0x14006fe24
mov r8d, esi
jmp 0x14006fe27
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401fbb48]
je 0x14006fde5
mov r8d, esi
jmp 0x14006fde8
xor r8d, r8d
mov edx, 0x88
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor r8d, r8d
test ebx, ebx
mov edx, 0x34
mov rcx, rdi
sete r8b
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r14d, r14d
jne 0x14006fe6a
cmp qword [0x1401fbae0], 0
jne 0x14006fe6a
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401fbb48]
jne 0x14006fe6c
xor esi, esi
mov r8d, esi
mov edx, 0x47f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x67]
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x68]
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x69]
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x89
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x1401fbc44]
cmp eax, 1
jne 0x14006fece
lea edx, [rax + 0x67]
jmp 0x14006fee7
cmp eax, 2
jne 0x14006fed8
lea edx, [rax + 0x67]
jmp 0x14006fee7
mov edx, 0x89
cmp eax, 3
je 0x14006fee7
mov edx, 0x67
mov r8d, 8
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x1401fbc48]
mov edx, 0x7e
neg eax
mov rcx, rdi
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x1401fbc34]
mov edx, 0x78
neg eax
mov rcx, rdi
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor edx, edx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp fcn.140072400