Function at 0x140006e20
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov r12d, 0x8200
cmp rdx, r12
jb 0x14000705e
mov eax, dword [rcx + 0x340]
add eax, r12d
cmp rdx, rax
jae 0x14000705e
lea r15, vtable.CMenu.0
mov qword [rbp - 9], r15
xor esi, esi
mov qword [rbp - 1], rsi
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rsi
mov rax, qword [rcx]
call qword [rax + 0xd8]
test rax, rax
mov edx, esi
je 0x140006ea8
mov rdx, qword [rax + 8]
lea rcx, [rbp - 9]
call fcn.1400841c4
mov edx, 6
mov rcx, qword [rbp - 1]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
call fcn.1400842b0
test rax, rax
mov rdx, rsi
je 0x140006ed4
mov rdx, qword [rax + 8]
lea rcx, [rbp - 0x39]
call fcn.1400841c4
xor edx, edx
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
call fcn.1400842b0
test rax, rax
mov rdx, rsi
je 0x140006efd
mov rdx, qword [rax + 8]
lea rcx, [rbp - 0x19]
call fcn.1400841c4
mov edx, 1
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rcx, rax
call fcn.1400842b0
test rax, rax
mov rdx, rsi
je 0x140006f29
mov rdx, qword [rax + 8]
lea rcx, [rbp - 0x29]
call fcn.1400841c4
lea rbx, [r14 - 0x8200]
test rbx, rbx
js 0x140007cd5
cmp rbx, qword [rdi + 0x340]
jge 0x140007cd5
mov rax, qword [rdi + 0x338]
lea rdx, [rax + rbx*8]
lea rcx, [rdi + 0x238]
call fcn.1400028e0
cmp rbx, qword [rdi + 0x340]
jge 0x140007ccf
mov rax, qword [rdi + 0x338]
mov rcx, qword [rax + rbx*8]
sub rcx, 0x18
call fcn.140002848
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.140024d3c
mov r8d, dword [rdi + 0x340]
add r8d, r12d
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov edx, r12d
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov r8d, dword [rdi + 0x340]
add r8d, r12d
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov edx, r12d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.USER32.dll_CheckMenuRadioItem]
lea rcx, [rbp - 0x29]
call fcn.14008426c
lea rcx, [rbp - 0x19]
call fcn.14008426c
lea rcx, [rbp - 0x39]
call fcn.14008426c
lea rcx, [rbp - 9]
call fcn.14008426c
nop
mov qword [rbp - 0x29], r15
lea rcx, [rbp - 0x29]
call fcn.140084244
nop
mov qword [rbp - 0x19], r15
lea rcx, [rbp - 0x19]
call fcn.140084244
nop
mov qword [rbp - 0x39], r15
lea rcx, [rbp - 0x39]
call fcn.140084244
nop
mov qword [rbp - 9], r15
lea rcx, [rbp - 9]
call fcn.140084244
nop
mov r8, qword [rbp + 0x77]
mov rdx, r14
mov rcx, rdi
call fcn.1400459e4
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r14, 0x9100
jne 0x1400070ad
call fcn.14001e1e4
xor esi, esi
cmp qword [rdi + 0x370], rsi
jle 0x14000708f
mov edx, esi
mov rcx, rdi
call fcn.14001d1b0
inc esi
movsxd rax, esi
cmp rax, qword [rdi + 0x370]
jl 0x140007077
lea rdx, [rdi + 0xa498]
lea rcx, [0x1400063d4]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, rdi
call fcn.1400411ec
jmp 0x140007034
cmp r14, 0x9101
jne 0x140007114
mov rcx, qword [rcx + 0x40]
xor esi, esi
cmp dword [rdi + 0x2f4], esi
je 0x1400070e0
call qword [sym.imp.USER32.dll_IsIconic]
mov dword [rdi + 0x138], 1
mov rcx, rdi
test eax, eax
jne 0x1400070fb
lea edx, [rsi + 6]
jmp 0x140007100
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [rdi + 0x138], 1
mov rcx, rdi
test eax, eax
je 0x1400070fb
xor edx, edx
jmp 0x140007100
mov edx, 9
call fcn.140073b08
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140007034
cmp r14, 0x9102
jne 0x140007127
call fcn.14001e0bc
jmp 0x140007034
cmp r14, 0x9540
jne 0x140007135
or edx, 0xffffffff
jmp 0x140007148
lea rax, [rdx - 0x9500]
cmp rax, 0x3f
ja 0x140007152
add edx, 0xffff6b00
call fcn.140015888
jmp 0x140007034
lea rax, [rdx - 0x9900]
cmp rax, 0x41
ja 0x14000737b
lea ebx, [rdx - 0x9900]
cmp ebx, 0x41
jne 0x140007204
xor esi, esi
mov r12d, esi
mov rcx, qword [rcx + 0x370]
test rcx, rcx
jle 0x140007034
mov r15d, esi
mov ebx, esi
test rbx, rbx
js 0x140007cc9
cmp r15, rcx
jge 0x140007cc9
mov rax, qword [rdi + 0x368]
mov dword [rbx + rax + 0x180c], esi
cmp r15, qword [rdi + 0x370]
jge 0x140007cc9
mov rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
lea r8, [0x1400eb3d8]
mov rdx, qword [rbx + rdx + 0x18b0]
lea rcx, str.AlarmHealthStatus
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc r12d
inc r15
add rbx, 0x1918
mov rcx, qword [rdi + 0x370]
movsxd rax, r12d
cmp rax, rcx
jl 0x14000718c
jmp 0x140007034
cmp ebx, 0x40
jne 0x1400072a3
xor esi, esi
mov r12d, esi
mov rcx, qword [rcx + 0x370]
test rcx, rcx
jle 0x140007034
mov r15d, esi
mov ebx, esi
test rbx, rbx
js 0x140007cc9
cmp r15, rcx
jge 0x140007cc9
mov rax, qword [rdi + 0x368]
mov dword [rbx + rax + 0x180c], 1
cmp r15, qword [rdi + 0x370]
jge 0x140007cc9
mov rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
lea r8, [0x1400eb3dc]
mov rdx, qword [rbx + rdx + 0x18b0]
lea rcx, str.AlarmHealthStatus
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc r12d
inc r15
add rbx, 0x1918
mov rcx, qword [rdi + 0x370]
movsxd rax, r12d
cmp rax, rcx
jl 0x140007227
jmp 0x140007034
call fcn.140071a10
mov rcx, rax
xor esi, esi
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x49], rax
movsxd rbx, ebx
test rbx, rbx
js 0x140007cdb
cmp rbx, qword [rdi + 0x370]
jge 0x140007cdb
mov rcx, qword [rdi + 0x368]
imul rax, rbx, 0x1918
lea rdx, [0x1400ea7b8]
cmp dword [rax + rcx + 0x180c], esi
je 0x140007317
imul rax, rbx, 0x1918
mov dword [rax + rcx + 0x180c], esi
xor r8d, r8d
lea rcx, [rbp - 0x49]
call fcn.1400042cc
jmp 0x140007338
imul rax, rbx, 0x1918
mov dword [rax + rcx + 0x180c], 1
mov r8d, 1
lea rcx, [rbp - 0x49]
call fcn.1400042cc
cmp rbx, qword [rdi + 0x370]
jge 0x140007cdb
imul rdx, rbx, 0x1918
add rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
mov rbx, qword [rbp - 0x49]
mov r8, rbx
mov rdx, qword [rdx + 0x18b0]
lea rcx, str.AlarmHealthStatus
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
jmp 0x1400075ac
mov ecx, 0x8100
cmp r14, 0xa000
jb 0x1400075cf
cmp r14, 0xb964
ja 0x140007c47
lea ecx, [rdx - 0xa000]
mov r8d, 0x51eb851f
mov eax, r8d
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
mov r15d, ecx
sub r15d, eax
lea eax, [rcx - 0x1900]
cmp eax, 0x64
jae 0x140007502
xor esi, esi
mov r12d, esi
mov rcx, qword [rdi + 0x370]
test rcx, rcx
jle 0x140007034
mov r13d, esi
mov ebx, esi
test rbx, rbx
js 0x140007cc9
cmp r13, rcx
jge 0x140007cc9
mov rax, qword [rdi + 0x368]
mov dword [rbx + rax + 0x1808], r15d
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x41], rax
mov r8d, r15d
lea rdx, [0x1400ea7b8]
lea rcx, [rbp - 0x41]
call fcn.1400042cc
movsxd rcx, r12d
test r12d, r12d
js 0x140007ce1
cmp rcx, qword [rdi + 0x370]
jge 0x140007ce1
mov rax, qword [rdi + 0x368]
imul r8, rcx, 0x1918
add r8, 0x1878
imul rdx, rcx, 0x1918
add rdx, 0x1898
add r8, rax
add rdx, rax
lea rcx, [rbp + 0x17]
call fcn.14000dcec
mov r9, qword [rdi + 0x160]
mov r8, qword [rbp - 0x41]
mov rdx, qword [rax]
lea rcx, str.AlarmTemperature
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400074bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400074dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r12d
inc r13
add rbx, 0x1918
mov rcx, qword [rdi + 0x370]
movsxd rax, r12d
cmp rax, rcx
jl 0x1400073e7
jmp 0x140007034
mov eax, r8d
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd rbx, edx
js 0x140007cc9
cmp rbx, qword [rdi + 0x370]
jge 0x140007cc9
imul rax, rbx, 0x1918
add rax, qword [rdi + 0x368]
mov dword [rax + 0x1808], r15d
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov r8d, r15d
lea rdx, [0x1400ea7b8]
lea rcx, [rbp - 0x49]
call fcn.1400042cc
cmp rbx, qword [rdi + 0x370]
jge 0x140007ce7
imul rdx, rbx, 0x1918
add rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
mov rbx, qword [rbp - 0x49]
mov r8, rbx
mov rdx, qword [rdx + 0x18b0]
lea rcx, str.AlarmTemperature
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007034
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140007034
lea rax, [rdx - 0x9200]
cmp rax, 0x41
ja 0x1400079c3
add edx, 0xffff6e00
xor esi, esi
cmp edx, 0x41
jne 0x14000770c
mov r15d, esi
cmp qword [rdi + 0x370], rsi
jle 0x1400076e3
mov r13d, esi
mov r12d, esi
lea rbx, [rdi + 0xa5c8]
mov qword [rbp + 0x6f], rbx
cmp dword [rbx], esi
je 0x1400076be
mov edx, r15d
mov rcx, rdi
call fcn.14001d1b0
test eax, eax
je 0x1400076be
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 7], rax
xor r8d, r8d
lea rdx, [0x1400ea7b8]
lea rcx, [rbp + 7]
call fcn.1400042cc
test r12, r12
js 0x140007ced
cmp r13, qword [rdi + 0x370]
jge 0x140007ced
mov rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
mov rbx, qword [rbp + 7]
mov r8, rbx
mov rdx, qword [r12 + rdx + 0x18b0]
lea rcx, str.TemperatureIcon
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400076ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x6f]
inc r15d
inc r13
add rbx, 4
mov qword [rbp + 0x6f], rbx
add r12, 0x1918
movsxd rax, r15d
cmp rax, qword [rdi + 0x370]
jl 0x140007612
cmp dword [rdi + 0xa80c], esi
je 0x140007034
mov rcx, rdi
call fcn.14001e220
test eax, eax
jne 0x140007034
mov rcx, rdi
call fcn.14001e174
jmp 0x140007034
cmp edx, 0x40
jne 0x14000785d
mov ecx, dword [0x140126bac]
mov dword [rbp + 0x6f], ecx
mov r15d, dword [rdi + 0x370]
sub r15d, 1
js 0x140007823
movsxd r12, r15d
imul rbx, r12, 0x1918
mov qword [rbp + 0x7f], rbx
lea r13, [rdi + 0xa5c8]
lea r13, [r13 + r12*4]
cmp dword [r13], esi
jne 0x140007807
mov edx, r15d
mov rcx, rdi
call fcn.14001cdec
test eax, eax
je 0x140007807
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0xf], rax
mov r8d, 1
lea rdx, [0x1400ea7b8]
lea rcx, [rbp + 0xf]
call fcn.1400042cc
test r12, r12
js 0x140007cf3
cmp r12, qword [rdi + 0x370]
jge 0x140007cf3
mov rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
mov rbx, qword [rbp + 0xf]
mov r8, rbx
mov rax, qword [rbp + 0x7f]
mov rdx, qword [rax + rdx + 0x18b0]
lea rcx, str.TemperatureIcon
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [r15 + 0x9200]
mov dword [rbp + 0x6f], eax
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007803
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x7f]
dec r12
sub r13, 4
sub rbx, 0x1918
mov qword [rbp + 0x7f], rbx
sub r15d, 1
jns 0x140007749
cmp dword [rdi + 0xa80c], esi
je 0x1400076ff
mov rcx, rdi
call fcn.14001e220
test eax, eax
je 0x1400076ff
mov rcx, rdi
call fcn.14001e1e4
test eax, eax
je 0x140007034
mov eax, dword [rbp + 0x6f]
mov dword [rdi + 0x1b58], eax
jmp 0x140007034
movsxd rbx, edx
mov rcx, rdi
cmp dword [rdi + rbx*4 + 0xa5c8], esi
je 0x14000790f
call fcn.14001d1b0
test eax, eax
je 0x140007034
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x49], rax
xor r8d, r8d
lea rdx, [0x1400ea7b8]
lea rcx, [rbp - 0x49]
call fcn.1400042cc
test rbx, rbx
js 0x140007cf9
cmp rbx, qword [rdi + 0x370]
jge 0x140007cf9
imul rdx, rbx, 0x1918
add rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
mov rbx, qword [rbp - 0x49]
mov r8, rbx
mov rdx, qword [rdx + 0x18b0]
lea rcx, str.TemperatureIcon
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, rdi
call fcn.14001e220
test eax, eax
jne 0x14000790a
mov rcx, rdi
call fcn.14001e174
nop
jmp 0x1400075ac
call fcn.14001cdec
test eax, eax
je 0x140007034
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140007cff
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov r8d, 1
lea rdx, [0x1400ea7b8]
lea rcx, [rbp - 0x49]
call fcn.1400042cc
test rbx, rbx
js 0x140007d0a
cmp rbx, qword [rdi + 0x370]
jge 0x140007d0a
imul rdx, rbx, 0x1918
add rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
mov rbx, qword [rbp - 0x49]
mov r8, rbx
mov rdx, qword [rdx + 0x18b0]
lea rcx, str.TemperatureIcon
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [rdi + 0xa80c], esi
je 0x1400079be
mov rcx, rdi
call fcn.14001e220
test eax, eax
je 0x1400079be
mov rcx, rdi
call fcn.14001e1e4
test eax, eax
je 0x1400079be
mov dword [rdi + 0x1b58], r14d
jmp 0x1400075ac
lea rax, [rdx - 0x9300]
cmp rax, 0x3f
ja 0x1400079f6
lea ecx, [rdx - 0x9300]
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rdi + 0xa47c], eax
mov edx, ecx
mov rcx, rdi
call fcn.140029e94
jmp 0x140007034
cmp r14, 0x9400
jb 0x140007c3e
cmp r14, 0x9441
ja 0x140007c47
lea ebx, [rdx - 0x9400]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd8]
mov r15, rax
xor esi, esi
cmp ebx, 0x40
jne 0x140007ad5
mov ebx, esi
cmp qword [rdi + 0x370], rsi
jle 0x140007c20
mov r13d, esi
mov r12d, esi
lea rcx, [rdi + 0xa6c8]
mov qword [rbp + 0x6f], rcx
mov dword [rcx], 1
lea edx, [rbx + 0x9400]
mov r8d, 8
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_CheckMenuItem]
test r12, r12
js 0x140007cc9
cmp r13, qword [rdi + 0x370]
jge 0x140007cc9
mov rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
lea r8, [0x1400eb3dc]
mov rdx, qword [rdx + r12 + 0x18b0]
lea rcx, str.AutoRefreshTarget
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc ebx
inc r13
mov rcx, qword [rbp + 0x6f]
add rcx, 4
mov qword [rbp + 0x6f], rcx
add r12, 0x1918
movsxd rax, ebx
cmp rax, qword [rdi + 0x370]
jl 0x140007a50
jmp 0x140007c20
cmp ebx, 0x41
jne 0x140007b7c
mov ebx, esi
cmp qword [rdi + 0x370], rsi
jle 0x140007c20
mov r13, rsi
mov r12, rsi
lea rcx, [rdi + 0xa6c8]
mov qword [rbp + 0x6f], rcx
mov dword [rcx], esi
lea edx, [rbx + 0x9400]
xor r8d, r8d
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_CheckMenuItem]
test r12, r12
js 0x140007cc9
cmp r13, qword [rdi + 0x370]
jge 0x140007cc9
mov rdx, qword [rdi + 0x368]
mov r9, qword [rdi + 0x160]
lea r8, [0x1400eb3d8]
mov rdx, qword [rdx + r12 + 0x18b0]
lea rcx, str.AutoRefreshTarget
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc ebx
inc r13
mov rcx, qword [rbp + 0x6f]
add rcx, 4
mov qword [rbp + 0x6f], rcx
add r12, 0x1918
movsxd rax, ebx
cmp rax, qword [rdi + 0x370]
jl 0x140007afe
jmp 0x140007c20
movsxd rbx, ebx
mov edx, r14d
cmp dword [rdi + rbx*4 + 0xa6c8], esi
je 0x140007bbe
mov dword [rdi + rbx*4 + 0xa6c8], esi
xor r8d, r8d
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_CheckMenuItem]
test rbx, rbx
js 0x140007cc9
cmp rbx, qword [rdi + 0x370]
jge 0x140007cc9
lea r8, [0x1400eb3d8]
jmp 0x140007bf6
mov dword [rdi + rbx*4 + 0xa6c8], 1
mov r8d, 8
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_CheckMenuItem]
test rbx, rbx
js 0x140007cc9
cmp rbx, qword [rdi + 0x370]
jge 0x140007cc9
lea r8, [0x1400eb3dc]
mov rdx, qword [rdi + 0x368]
imul rax, rbx, 0x1918
mov r9, qword [rdi + 0x160]
mov rdx, qword [rax + rdx + 0x18b0]
lea rcx, str.AutoRefreshTarget
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rax, qword [rdi]
mov rdx, r15
mov rcx, rdi
call qword [rax + 0xe0]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x140007034
cmp r14, rcx
jb 0x140007034
mov eax, dword [rdi + 0x318]
add eax, ecx
cmp r14, rax
jae 0x140007034
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd8]
xor r8d, r8d
mov edx, 0x816d
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetMenuState]
shr eax, 3
and eax, 1
mov dword [rdi + 0xa81c], eax
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.1400459e4
lea rdx, str.Simplicity
mov rcx, qword [rdi + 0x210]
call fcn.1400b303c
test eax, eax
jne 0x140007cb1
mov dword [rdi + 0xa81c], 1
mov edx, dword [rdi + 0xa478]
mov rcx, rdi
call fcn.1400200a4
mov eax, 1
jmp 0x140007043
call fcn.1400713c8
nop
call fcn.1400713c8
int3
call fcn.1400713c8
nop
call fcn.1400713c8
nop
call fcn.1400713c8
nop
call fcn.1400713c8
nop
call fcn.1400713c8
nop
call fcn.1400713c8
nop
call fcn.1400713c8
nop
mov ecx, 0x80004005
call fcn.140002f7c
nop
call fcn.1400713c8
int3