Function at 0x140035a90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x868]
sub rsp, 0x968
mov rdi, r8
mov rsi, qword [0x14017cbb0]
mov qword [rbp + 0x8c8], rsi
lea rcx, [rsi + 0xdb0]
lea r8, [rsp + 0x68]
xor edx, edx
call fcn.14009c730
mov r15, qword [0x14017ae30]
mov r13d, 3
mov rcx, rdi
cmp byte [0x14017ac1e], 0
jne 0x140035bc1
mov r8d, r13d
mov edx, 0x8645
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rbx, rax
test rax, rax
je 0x140035b6a
mov r8d, r13d
mov edx, 0x859e
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
lea edx, [r13 - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
mov r8d, r13d
mov edx, 0x85bc
call qword [sym.imp.USER32.dll_EnableMenuItem]
lea edx, [r13 - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
mov r8d, r13d
mov edx, 0x871e
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, r13d
mov edx, 0x85be
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, r13d
mov edx, 0x856a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, r13d
mov edx, 0x9d24
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, r13d
mov edx, 0x861b
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, r13d
mov edx, 0x860a
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x140035bfa
movzx eax, byte [rsi + 0x3f01]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x85bc
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f70]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x871e
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rsi + 0x728]
call qword [sym.imp.USER32.dll_GetMenu]
mov rdx, rax
call fcn.14001c330
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14001cbf0
xor r12d, r12d
cmp byte [0x14017ab4c], r12b
jne 0x140035f3e
mov byte [0x14017ab4c], 1
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14017d3ec], eax
jg 0x140037950
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rbx, rax
test rax, rax
je 0x140035d73
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, rax
call qword [sym.imp.USER32.dll_AppendMenuW]
lea rcx, [0x14017d160]
call fcn.140084780
mov word [rbp + 0x60], r12w
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov rcx, r15
test al, al
jne 0x140035d05
mov edx, 0x16f
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035cfd
cmp byte [0x1401776f0], al
je 0x140035ccf
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, 0x16f
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035cfd
mov word [rbp + 0x60], r12w
mov r8d, 0xfa0
jmp 0x140035d64
mov edx, 0x518
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035d5e
cmp byte [0x1401776f0], al
je 0x140035d30
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, 0x518
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035d5e
mov word [rbp + 0x60], r12w
mov r8d, 0x868c
lea r9, [rbp + 0x60]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_AppendMenuW]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetSubMenu]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSubMenu]
mov qword [rbp + 0x8b0], rax
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x86ee
mov rcx, rdi
call qword [sym.imp.USER32.dll_DeleteMenu]
xor r8d, r8d
mov edx, 0x86ef
mov rcx, rdi
call qword [sym.imp.USER32.dll_DeleteMenu]
mov ebx, 0x1f40
lea r14, [0x140173d30]
mov esi, 0x1f
mov rdi, qword [rbp + 0x8b0]
nop
mov r12d, dword [r14]
xor eax, eax
mov word [rbp + 0x60], ax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, r12d
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035e5c
cmp byte [0x1401776f0], al
je 0x140035e2f
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, r12d
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035e5c
xor eax, eax
mov word [rbp + 0x60], ax
lea r9, [rbp + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_AppendMenuW]
inc rbx
add r14, 4
sub rsi, 1
jne 0x140035df0
mov ebx, 0x2134
lea r14, [0x140145b70]
lea r13d, [rsi + 0xf]
mov rdi, qword [rbp + 0x8c0]
mov rsi, qword [rbp + 0x8c8]
nop dword [rax]
mov r12d, dword [r14]
xor eax, eax
mov word [rbp + 0x60], ax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, r12d
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140035f10
cmp byte [0x1401776f0], al
je 0x140035edf
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, r12d
call qword [sym.imp.USER32.dll_LoadStringW]
xor r12d, r12d
test eax, eax
jne 0x140035f13
mov word [rbp + 0x60], r12w
jmp 0x140035f13
xor r12d, r12d
lea r9, [rbp + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
inc rbx
add r14, 4
sub r13, 1
jne 0x140035ea0
mov r13d, 3
xor r8d, r8d
mov edx, 0x86ce
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86cd
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8711
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86cc
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86ca
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86cb
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r14d, 8
cmp byte [0x14017ab18], 0
je 0x14003603a
mov eax, dword [0x14017ab48]
sub eax, 0x3c
je 0x140036029
sub eax, 0x3c
je 0x140036022
sub eax, 0x78
je 0x14003601b
sub eax, 0xf0
je 0x140036014
cmp eax, 0xf0
je 0x14003600d
cmp qword [0x14017bff8], 0
je 0x14003603a
lea rcx, [0x14017bfe8]
cmp qword [0x14017c000], 7
cmova rcx, qword [0x14017bfe8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003603a
mov edx, 0x86ce
jmp 0x14003602e
mov edx, 0x86cd
jmp 0x14003602e
mov edx, 0x8711
jmp 0x14003602e
mov edx, 0x86cc
jmp 0x14003602e
mov edx, 0x86cb
jmp 0x14003602e
mov edx, 0x86ca
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x85a2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8651
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8652
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8653
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8654
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8658
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r9b, 1
lea r8, [rbp + 0x8c8]
lea rdx, str.UpdateChecksEnabled
lea rcx, [0x14017c940]
call fcn.1400734c0
mov edx, 0x9c86
mov rcx, rdi
cmp byte [rbp + 0x8c8], 0
je 0x14003617f
xor r8d, r8d
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.UpdatePromptless
lea rcx, [0x14017c940]
call fcn.1400734c0
movzx eax, byte [rsp + 0x20]
neg al
sbb r8d, r8d
and r8d, r14d
mov edx, 0x85a2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov dword [rsp + 0x24], r12d
mov r9d, 0x15180
lea r8, [rsp + 0x24]
lea rdx, str.UpdateCheckIntervalSecs
lea rcx, [0x14017c600]
call fcn.1400736a0
mov eax, dword [rsp + 0x24]
cmp eax, 0xa8c0
je 0x140036177
cmp eax, 0x15180
je 0x140036170
cmp eax, 0x2a300
je 0x140036169
cmp eax, 0x93a80
je 0x140036162
cmp eax, 0x127500
jne 0x140036188
mov edx, 0x8658
jmp 0x14003617c
mov edx, 0x8654
jmp 0x14003617c
mov edx, 0x8653
jmp 0x14003617c
mov edx, 0x8652
jmp 0x14003617c
mov edx, 0x8651
mov rcx, rdi
mov r8d, r14d
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov ebx, r12d
nop dword [rax + rax]
mov dword [rbp - 0x20], 2
mov dword [rbp - 0x18], 0xffffffff
movsxd r8, ebx
lea r9, [rbp - 0x20]
mov edx, 0x105f
mov rcx, qword [rsi + 0x740]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rbx + 0x1f40]
mov rcx, rdi
cmp dword [rbp - 0x18], 0
jle 0x1400361cb
mov r8d, r14d
jmp 0x1400361ce
xor r8d, r8d
call qword [sym.imp.USER32.dll_CheckMenuItem]
inc ebx
cmp ebx, 0x1f
jb 0x140036190
mov ebx, r12d
nop
mov dword [rbp + 0x18], 2
mov dword [rbp + 0x20], 0xffffffff
movsxd r8, ebx
lea r9, [rbp + 0x18]
mov edx, 0x105f
mov rcx, qword [rsi + 0x7a0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rbx + 0x2134]
mov rcx, rdi
cmp dword [rbp + 0x20], 0
jle 0x14003621b
mov r8d, r14d
jmp 0x14003621e
xor r8d, r8d
call qword [sym.imp.USER32.dll_CheckMenuItem]
inc ebx
cmp ebx, 0xf
jb 0x1400361e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
cmp byte [rsi + 0x45c0], 0
je 0x140036332
xor ebx, ebx
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x48]
xor ecx, ecx
call qword [0x14017be38]
test eax, eax
jne 0x140036332
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036332
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rsi + 0x45b0]
call fcn.1400c9980
test al, al
je 0x1400362b5
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
cmp rax, qword [0x14013a170]
jne 0x1400362b5
mov rax, qword [rcx + 8]
cmp rax, qword [0x14013a178]
jne 0x1400362b5
lea rcx, [rsp + 0x58]
call qword [0x14017be20]
test eax, eax
jne 0x140036332
mov rdx, qword [rsi + 0x4880]
mov rax, qword [rsi + 0x4888]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x140036332
mov rcx, rbx
mov ebx, 0x9088
nop word [rax + rax]
add rcx, rcx
mov rax, qword [rsp + 0x58]
cmp rax, qword [rdx + rcx*8]
jne 0x1400362ff
mov rax, qword [rsp + 0x60]
cmp rax, qword [rdx + rcx*8 + 8]
jne 0x1400362ff
mov r8d, r14d
jmp 0x140036302
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
inc ebx
mov rdx, qword [rsi + 0x4880]
lea eax, [rbx - 0x9088]
movsxd rcx, eax
mov rax, qword [rsi + 0x4888]
sub rax, rdx
sar rax, 4
cmp rcx, rax
jb 0x1400362e0
xor r8d, r8d
mov edx, 0x8828
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
mov ebx, eax
mov rax, qword [rsi + 0x4888]
sub rax, qword [rsi + 0x4880]
sar rax, 4
test rax, rax
je 0x140036393
nop
cmp ebx, 0x64
jge 0x140036393
lea edx, [rbx + 0x9218]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
inc ebx
mov rcx, qword [rsi + 0x4888]
sub rcx, qword [rsi + 0x4880]
sar rcx, 4
movsxd rax, ebx
cmp rax, rcx
jb 0x140036360
call fcn.140002e00
mov rcx, rax
test rax, rax
je 0x140037993
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov rdx, qword [rsi + 0x3f50]
lea rcx, [rdx - 0x18]
lea r14, [rbx - 0x18]
cmp rcx, r14
je 0x140036419
cmp dword [r14 + 0x10], 0
jl 0x140036406
mov rax, qword [r14]
cmp qword [rcx], rax
jne 0x140036406
call fcn.140041570
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x1400363fb
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
add rbx, 0x18
mov qword [rsp + 0x50], rbx
jmp 0x140036419
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005a90
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
je 0x1400365cb
lea r8, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsi + 0x45b0]
call fcn.1400c8830
test al, al
je 0x140036481
xor eax, eax
mov edx, eax
mov r8, qword [rsi + 0x4880]
mov rcx, qword [rsi + 0x4888]
sub rcx, r8
sar rcx, 4
test rcx, rcx
je 0x140036481
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
add rax, rax
cmp qword [r8 + rax*8], r10
jne 0x140036477
cmp qword [r8 + rax*8 + 8], r9
je 0x1400365ae
inc edx
movsxd rax, edx
cmp rax, rcx
jb 0x140036463
mov r14d, 8
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400364a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov edx, 0x9c61
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c62
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c63
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c64
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c65
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c66
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8037
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8033
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8034
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8035
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x8036
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c49
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c4a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [rsi + 0x3edc]
mov dword [0x140173dac], eax
cmp eax, 0x3e8
jg 0x1400365f5
je 0x14003660a
test eax, eax
je 0x1400365ee
cmp eax, 0xfa
je 0x1400365e7
cmp eax, 0x1f4
jne 0x14003660a
mov edx, 0x8033
jmp 0x140036624
add edx, 0x9218
mov r14d, 8
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x140036487
mov r14d, 8
mov r8d, r14d
mov edx, 0x8828
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x140036487
mov edx, 0x8037
jmp 0x140036624
mov edx, 0x8036
jmp 0x140036624
cmp eax, 0x7d0
je 0x14003661f
cmp eax, 0x1388
je 0x140036618
cmp eax, 0x2710
je 0x140036611
mov edx, 0x8034
jmp 0x140036624
mov edx, 0x9c4a
jmp 0x140036624
mov edx, 0x9c49
jmp 0x140036624
mov edx, 0x8035
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86e1
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86d9
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86da
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86db
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86dc
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86df
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86dd
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x86de
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [rsi + 0x3ee0]
mov dword [0x140173d2c], eax
cmp eax, 0x3e8
jg 0x140036700
je 0x140036715
test eax, eax
je 0x1400366f9
cmp eax, 0x64
je 0x1400366f2
cmp eax, 0xfa
je 0x1400366eb
cmp eax, 0x1f4
jne 0x140036715
mov edx, 0x86da
jmp 0x14003672f
mov edx, 0x86d9
jmp 0x14003672f
mov edx, 0x86e1
jmp 0x14003672f
mov edx, 0x86df
jmp 0x14003672f
cmp eax, 0x7d0
je 0x14003672a
cmp eax, 0x1388
je 0x140036723
cmp eax, 0x2710
je 0x14003671c
mov edx, 0x86db
jmp 0x14003672f
mov edx, 0x86de
jmp 0x14003672f
mov edx, 0x86dd
jmp 0x14003672f
mov edx, 0x86dc
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9df3
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x85e6
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c73
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9cb7
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f75]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x882c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f45]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x880b
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f46]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x880f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f47]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8870
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f48]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8873
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f41]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8887
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f6f]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8725
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f9a]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8726
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f10]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8705
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f0a]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c71
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f12]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9d3a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f0f]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c6f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f09]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c70
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f15]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x86c9
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f44]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x877d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f0c]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8832
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.AlwaysOnTop
lea rcx, [0x14017c4f0]
call fcn.140073310
movzx ecx, byte [rax]
neg cl
sbb r8d, r8d
and r8d, 8
mov edx, 0x8824
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.DisallowBufferReuse
lea rcx, [0x14017c600]
call fcn.140073310
movzx ecx, byte [rax]
neg cl
sbb r8d, r8d
and r8d, 8
mov edx, 0x8868
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x460]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8835
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov byte [rbp + 0x8b0], 1
mov r9b, 1
lea r8, [rbp + 0x8b0]
lea rdx, str.PauseListOnRightClick
lea rcx, [0x14017c4f0]
call fcn.1400734c0
movzx eax, byte [rbp + 0x8b0]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x889d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f74]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8876
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f6c]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8646
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rcx, [rsi + 0xdb0]
call fcn.1400ac200
movzx r8d, al
shl r8d, 3
mov edx, 0x865c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.DarkMenubarDisabled
lea rcx, [0x14017c4f0]
call fcn.140073310
mov r8d, r14d
cmp byte [rax], 0
mov ebx, 0
cmovne r8d, ebx
mov edx, 0x8836
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.DarkStatusbarDisabled
lea rcx, [0x14017c4f0]
call fcn.140073310
mov r8d, r14d
cmp byte [rax], bl
cmovne r8d, ebx
mov edx, 0x8837
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x121]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x886d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.gridlines
lea rcx, [0x14017c4f0]
call fcn.140073310
movzx ecx, byte [rax]
neg cl
sbb r8d, r8d
and r8d, 8
mov edx, 0x87f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.NoProcessToolips
lea rcx, [0x14017c4f0]
call fcn.140073310
mov r8d, r14d
cmp byte [rax], bl
cmovne r8d, ebx
mov edx, 0x881c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.NoThemedProgressBars
lea rcx, [0x14017c4f0]
call fcn.140073310
movzx ecx, byte [rax]
neg cl
sbb r8d, r8d
and r8d, 8
mov edx, 0x8821
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.14003b510
mov ebx, eax
xor r8d, r8d
mov edx, 0x87e3
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x87e4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x87e2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
test ebx, ebx
jne 0x140036bb8
mov edx, 0x87e2
jmp 0x140036bc7
cmp ebx, 2
mov edx, 0x87e4
je 0x140036bc7
mov edx, 0x87e3
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f14]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c80
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov edx, 0x9c7e
mov rcx, rdi
cmp byte [rsi + 0x3f14], 0
jne 0x140036c3b
mov r8d, r14d
cmp byte [rsi + 0x3f17], 0
mov ebx, 0
cmovne r8d, ebx
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f17]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c7d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x140036c57
xor r8d, r8d
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0x9c7d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor ebx, ebx
movzx eax, byte [rsi + 0x3f49]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8865
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, r14d
cmp byte [rsi + 0x3f22], 0
cmovne r8d, ebx
mov edx, 0x9df3
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f99]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x85e6
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f0d]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c73
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f11]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9cb7
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f0b]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c72
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f43]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8667
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f40]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x86f0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3fc9]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8729
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3fc9]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8733
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3fc9]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8732
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3fe0]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x872b
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3ed1]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9d22
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3ed1]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9d20
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f98]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x860a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f98]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x860b
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, r14d
cmp byte [rsi + 0x3f3e], 0
cmovne r8d, ebx
mov edx, 0x853e
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f20]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9cf7
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f6a]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8875
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f69]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9e1d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f65]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9db5
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f66]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9db6
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f6b]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9dea
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f71]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x852b
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f68]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9db4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f67]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9ddf
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f6d]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8716
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f6e]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8811
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f73]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x882e
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, r14d
cmp byte [rsi + 0x3f26], 0
cmovne r8d, ebx
mov edx, 0x9fc4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea rdx, str.HideGraph
lea rcx, [0x14017c4f0]
call fcn.140073310
mov r8d, r14d
cmp byte [rax], 0
cmovne r8d, ebx
mov edx, 0x9de2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, ebx
cmp byte [rsi + 0x3f25], 0
cmove r8d, r14d
mov edx, 0x8535
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, ebx
cmp byte [rsi + 0x3f25], 0
cmove r8d, r14d
mov edx, 0x8536
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f13]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9c6d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f18]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x883b
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, ebx
cmp dword [rsi + 0x3fdc], 0x80
cmove r8d, r14d
mov edx, 0x883e
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f3c]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9cdc
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f1c]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9cd7
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3fc8]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8730
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f1a]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9cd8
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f16]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9cd9
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f1b]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x8859
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f05]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x888f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx eax, byte [rsi + 0x3f1d]
neg al
sbb r8d, r8d
and r8d, 8
mov edx, 0x9ce1
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140006530
test al, al
je 0x14003719d
call fcn.140075920
cmp eax, 0x55f0
jae 0x1400371bf
mov r8d, r13d
mov edx, 0x8888
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, r13d
mov edx, 0x888f
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.140081120
movzx r8d, al
shl r8d, 3
mov edx, 0x8897
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea r8, [rbp + 0x50]
lea rdx, [0x140148e78]
lea rcx, [rsi + 0x45b0]
call fcn.1400c8830
xor r12d, r12d
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov rcx, r15
mov word [rbp + 0x60], r12w
cmp al, 1
jne 0x140037252
movzx r14d, al
mov edx, 0x2a7
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400372af
cmp byte [0x1401776f0], r12b
je 0x14003723e
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], r12b
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x2a7
jmp 0x140037293
xor r14b, r14b
mov edx, 0x2a6
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400372af
cmp byte [0x1401776f0], r12b
je 0x140037281
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], r12b
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x2a6
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400372af
mov word [rbp + 0x60], r12w
call fcn.140002e00
mov rcx, rax
test rax, rax
je 0x14003799e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
cmp rax, 0x10000
lea rax, [rbp + 0x60]
jae 0x1400372ee
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.1400058a0
jmp 0x14003730f
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400372f5
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140005a90
nop
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x6c], r12
mov qword [rbp - 0x64], r12
mov qword [rbp - 0x5c], r12
mov qword [rbp - 0x54], r12
mov dword [rbp - 0x4c], r12d
mov qword [rbp - 0x3c], r12
mov dword [rbp - 0x34], r12d
mov dword [rbp - 0x80], 0x50
mov dword [rbp - 0x7c], 0x40
mov dword [rbp - 0x70], 0x87eb
mov rbx, qword [rsp + 0x28]
mov eax, dword [rbx - 0x10]
mov dword [rbp - 0x40], eax
cmp dword [rbx - 8], 1
jle 0x14003736b
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005760
mov rbx, qword [rsp + 0x28]
mov qword [rbp - 0x48], rbx
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0x87eb
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
test r14b, r14b
cmovne r13d, r12d
mov r8d, r13d
mov edx, 0x8898
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableMenuItem]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400373b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400c57d0
movzx r8d, al
shl r8d, 3
mov edx, 0x9e33
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
cmp byte [rsi + 0x3f00], 0
jne 0x1400373e4
mov edx, 0x9c61
jmp 0x140037430
mov eax, dword [rsi + 0x3efc]
cmp eax, 0x493e0
je 0x14003742b
cmp eax, 0x927c0
je 0x140037424
cmp eax, 0xdbba0
je 0x14003741d
mov r8d, 8
mov rcx, rdi
cmp eax, 0x1b7740
je 0x140037416
mov edx, 0x9c66
jmp 0x140037439
mov edx, 0x9c65
jmp 0x140037439
mov edx, 0x9c64
jmp 0x140037430
mov edx, 0x9c63
jmp 0x140037430
mov edx, 0x9c62
mov r8d, 8
mov rcx, rdi
call qword [sym.imp.USER32.dll_CheckMenuItem]
lea r8, str.GlobalPLProcessGovernorExists
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x140037475
lea r8, str.LocalPLProcessGovernorExists
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x140037475
xor bl, bl
jmp 0x140037480
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rcx, qword [rsi + 0x728]
call qword [sym.imp.USER32.dll_GetMenu]
cmp bl, byte [rsi + 0x4741]
je 0x1400374ae
mov byte [rsi + 0x4741], bl
movzx r8d, bl
mov rdx, rax
mov rcx, qword [rsi + 0x728]
call fcn.14001c3c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov ecx, 0x30
call fcn.1400ff088
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x38], rax
mov r14, qword [rsi + 0x3f0]
test r14, r14
jne 0x140037550
mov rcx, qword [rsi + 0x728]
test rcx, rcx
je 0x140037517
call qword [sym.imp.USER32.dll_GetMenu]
mov rcx, rax
lea edx, [r14 + 1]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov r14, rax
mov qword [rsi + 0x3f0], rax
test r14, r14
jne 0x140037550
lea edx, [r14 + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov r14, rax
mov qword [rsi + 0x3f0], rax
test rax, rax
je 0x1400378a2
nop word [rax + rax]
xor edx, edx
mov r8d, 0x400
mov rcx, r14
call qword [sym.imp.USER32.dll_DeleteMenu]
test eax, eax
jne 0x140037550
call fcn.140002e00
mov rcx, rax
test rax, rax
je 0x14003793a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
call fcn.1400ae4d0
mov word [rbp + 0x60], r12w
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
lea edx, [r9 + 0x59]
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400375f8
cmp byte [0x1401776f0], al
je 0x1400375cb
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
lea edx, [r9 + 0x59]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400375f8
mov word [rbp + 0x60], r12w
lea r9, [rbp + 0x60]
xor edx, edx
mov r8d, 0x87cf
mov rcx, r14
call qword [sym.imp.USER32.dll_AppendMenuW]
mov word [rbp + 0x60], r12w
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
lea edx, [r9 + 0x5a]
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140037676
cmp byte [0x1401776f0], al
je 0x140037649
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
lea edx, [r9 + 0x5a]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140037676
mov word [rbp + 0x60], r12w
lea r9, [rbp + 0x60]
xor edx, edx
mov r8d, 0x87d2
mov rcx, r14
call qword [sym.imp.USER32.dll_AppendMenuW]
mov word [rbp + 0x60], r12w
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, 0x4f7
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400376f6
cmp byte [0x1401776f0], al
je 0x1400376c8
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, 0x4f7
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400376f6
mov word [rbp + 0x60], r12w
lea r9, [rbp + 0x60]
xor edx, edx
mov r8d, 0x8845
mov rcx, r14
call qword [sym.imp.USER32.dll_AppendMenuW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, r14
call qword [sym.imp.USER32.dll_AppendMenuW]
mov word [rbp + 0x60], r12w
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, 0x48d
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14003778a
cmp byte [0x1401776f0], al
je 0x14003775c
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], 0
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x60]
mov edx, 0x48d
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14003778a
mov word [rbp + 0x60], r12w
lea r9, [rbp + 0x60]
xor edx, edx
mov r8d, 0x87d4
mov rcx, r14
call qword [sym.imp.USER32.dll_AppendMenuW]
xor r12b, r12b
lea rdx, [rsp + 0x38]
call fcn.1400ae700
mov rdi, qword [rsp + 0x30]
cmp al, 1
jne 0x140037871
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140037871
mov esi, 0xc350
nop
xor eax, eax
mov r15d, eax
test r12b, r12b
jne 0x1400377fc
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140037945
mov rcx, rdi
call fcn.1401103e4
test eax, eax
jne 0x1400377fc
mov r12b, 1
mov r15d, 8
movsxd r8, esi
mov r9, qword [rbx + 0x20]
mov edx, r15d
mov rcx, r14
call qword [sym.imp.USER32.dll_AppendMenuW]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14003783b
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140037836
cmp rbx, qword [rax + 0x10]
jne 0x140037836
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140037823
mov rbx, rax
jmp 0x14003785f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14003785f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140037850
inc esi
cmp rbx, qword [rsp + 0x38]
jne 0x1400377d0
test r12b, r12b
jne 0x140037886
mov edx, 0x87d4
mov r8d, 8
mov rcx, r14
call qword [sym.imp.USER32.dll_CheckMenuItem]
nop
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400378a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x8b8]
call qword [sym.imp.USER32.dll_DrawMenuBar]
nop
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14003791c
nop
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
mov rdi, rbx
mov rbx, qword [rbx]
lea rax, [rdi + 0x20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140037904
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x30
mov rcx, rdi
call fcn.1400ff054
cmp byte [rbx + 0x19], 0
je 0x1400378c0
mov rcx, qword [rsp + 0x38]
mov edx, 0x30
call fcn.1400ff054
add rsp, 0x968
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002b00
nop
mov ecx, 0x80004005
call fcn.140002b00
nop
lea rcx, [0x14017d3ec]
call fcn.1400feccc
cmp dword [0x14017d3ec], 0xffffffff
jne 0x140035c54
lea rcx, [0x14017d160]
call fcn.140082660
lea rcx, [0x1401374c0]
call fcn.1400ff03c
nop
lea rcx, [0x14017d3ec]
call fcn.1400fec60
jmp 0x140035c54
mov ecx, 0x80004005
call fcn.140002b00
int3
mov ecx, 0x80004005
call fcn.140002b00
int3