Function at 0x418520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xed4
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xeb4], ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xeb4]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x418587
push 0
push 0
push str.CONTEXT_MONITOR_SHOW
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x2774
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
jmp 0x4185b3
push 0
push 0
push str.CONTEXT_MONITOR_HIDE
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x27d8
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edx, dword [ebp - 0xeb4]
cmp dword [edx + 0xb08], 0
jne 0x4185da
jmp 0x4189a7
mov eax, dword [ebp - 0xeb4]
mov ecx, dword [eax + 0xb08]
call fcn.00401330
test eax, eax
jne 0x4187fd
push 0x208
push 0
lea ecx, [ebp - 0x438]
push ecx
call fcn.00401f60
add esp, 0xc
mov edx, dword [ebp - 0xeb4]
add edx, 0x4808
push edx
push 0x208
lea eax, [ebp - 0x438]
push eax
push 0x438b00
push 0x438b04
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x2bcc
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4186ad
mov edx, dword [ebp - 0xeb4]
add edx, 0x4808
push edx
push 0x208
lea eax, [ebp - 0x438]
push eax
push 0x438b18
push str.parent
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x2bcc
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4186ad
mov edx, dword [ebp - 0xeb4]
add edx, 0x4808
push edx
push 0x208
lea eax, [ebp - 0x438]
push eax
push 0x438b2c
push str.URLTITLE
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x438]
push edx
call fcn.00402006
add esp, 4
test eax, eax
jbe 0x4187b9
push 0x208
push 0
lea eax, [ebp - 0x640]
push eax
call fcn.00401f60
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
lea eax, [ebp - 0x640]
push eax
call fcn.00402006
add esp, 4
test eax, eax
jne 0x41872c
lea ecx, [ebp - 0x438]
push ecx
push 0x104
lea edx, [ebp - 0x640]
push edx
call fcn.004023ae
add esp, 0xc
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e3a0
test eax, eax
je 0x41876b
movzx eax, word [ebp - 0x640]
push eax
lea ecx, [ebp - 0x640]
push ecx
push str._s__c_
push 0x104
lea edx, [ebp - 0x848]
push edx
call fcn.00401d00
add esp, 0x14
jmp 0x41879f
push 0x438b54
push 0x104
lea eax, [ebp - 0x848]
push eax
call fcn.004023ae
add esp, 0xc
lea ecx, [ebp - 0x640]
push ecx
push 0x104
lea edx, [ebp - 0x848]
push edx
call fcn.00402588
add esp, 0xc
lea eax, [ebp - 0x848]
push eax
push 0x283c
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
jmp 0x4187e5
push 0
push 0
push 0x438b58
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x283c
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
jmp 0x4189a7
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x8f0
push ecx
call fcn.00402006
add esp, 4
test eax, eax
jbe 0x41886a
push 0
push 0
push 0x438b88
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x283c
mov ecx, dword [ebp - 0xeb4]
call fcn.00416810
neg eax
sbb eax, eax
neg eax
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
jmp 0x4189a7
mov ecx, dword [ebp - 0xeb4]
mov ecx, dword [ecx + 0xb08]
call fcn.00401310
test eax, eax
je 0x4189a7
push 0x104
lea edx, [ebp - 0xa50]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0xeb4]
mov ecx, dword [eax + 0xb08]
call fcn.00401310
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x4808
push ecx
push 0x104
mov edx, dword [ebp - 0xeb4]
add edx, 0x8f0
push edx
push 0
push str.CfgTool
lea eax, [ebp - 0xa50]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4189a7
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x8f0
push ecx
mov edx, dword [ebp - 0xeb4]
add edx, 0x6e8
push edx
push 0x438bc8
push 0x104
lea eax, [ebp - 0xc58]
push eax
call fcn.00402385
add esp, 0x14
lea ecx, [ebp - 0xeb0]
push ecx
lea edx, [ebp - 0xc58]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc5c], eax
cmp dword [ebp - 0xc5c], 0xffffffff
jne 0x41895b
push 0x208
push 0
mov eax, dword [ebp - 0xeb4]
add eax, 0x8f0
push eax
call fcn.00401f60
add esp, 0xc
jmp 0x41899a
push 0
push 0
push str.CONTEXT_CONFIG_PRINTER
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x283c
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp - 0xc5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x45f8
call fcn.0042dab0
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x45f8
call fcn.0042dba0
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x45f8
call fcn.0042dc80
mov dword [ebp - 0x228], 0
push 0x208
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.00401f60
add esp, 0xc
push 0x104
lea edx, [ebp - 0x220]
push edx
push str.CONFIG_TAB2_SHOWTOP_ENABLE
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
lea eax, [ebp - 0x220]
push eax
call fcn.00402006
add esp, 4
test eax, eax
jbe 0x418a4f
lea ecx, [ebp - 0x220]
mov dword [ebp - 0xeb8], ecx
jmp 0x418a59
mov dword [ebp - 0xeb8], str.Always_on_top
mov edx, dword [ebp - 0xeb8]
push edx
push 0x2716
mov eax, dword [ebp - 0x224]
sub eax, 1
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e310
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0x41f
je 0x418abb
mov dword [ebp - 0xebc], str.20_
jmp 0x418ac5
mov dword [ebp - 0xebc], str._20
mov edx, dword [ebp - 0xebc]
push edx
push 0x271a
xor eax, eax
cmp dword [ebp - 8], 0x14
setne al
sub eax, 1
and eax, 8
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [ebp - 0x22c], 0x41f
je 0x418b03
mov dword [ebp - 0xec0], str.40_
jmp 0x418b0d
mov dword [ebp - 0xec0], str._40
mov edx, dword [ebp - 0xec0]
push edx
push 0x271b
xor eax, eax
cmp dword [ebp - 8], 0x28
setne al
sub eax, 1
and eax, 8
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [ebp - 0x22c], 0x41f
je 0x418b4b
mov dword [ebp - 0xec4], str.60_
jmp 0x418b55
mov dword [ebp - 0xec4], str._60
mov edx, dword [ebp - 0xec4]
push edx
push 0x271c
xor eax, eax
cmp dword [ebp - 8], 0x3c
setne al
sub eax, 1
and eax, 8
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [ebp - 0x22c], 0x41f
je 0x418b93
mov dword [ebp - 0xec8], str.80_
jmp 0x418b9d
mov dword [ebp - 0xec8], str._80
mov edx, dword [ebp - 0xec8]
push edx
push 0x271d
xor eax, eax
cmp dword [ebp - 8], 0x50
setne al
sub eax, 1
and eax, 8
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [ebp - 0x22c], 0x41f
je 0x418bdb
mov dword [ebp - 0xecc], str.100_
jmp 0x418be5
mov dword [ebp - 0xecc], str._100
mov edx, dword [ebp - 0xecc]
push edx
push 0x271e
xor eax, eax
cmp dword [ebp - 8], 0x64
setne al
sub eax, 1
and eax, 8
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x208
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.00401f60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push str.CONTEXT_OPACITY
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
lea ecx, [ebp - 0x220]
push ecx
call fcn.00402006
add esp, 4
test eax, eax
jbe 0x418c64
lea edx, [ebp - 0x220]
mov dword [ebp - 0xed0], edx
jmp 0x418c6e
mov dword [ebp - 0xed0], str.Opacity
mov eax, dword [ebp - 0xed0]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x10
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push str.CONFIG_TAB2_DBSIZE_ENABLE
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x271f
mov eax, dword [ebp - 0x230]
neg eax
sbb eax, eax
and eax, 8
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x208
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.00401f60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push str.CONTEXT_SOUNDNOTIFY
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
lea ecx, [ebp - 0x220]
push ecx
call fcn.00402006
add esp, 4
cmp eax, 3
jae 0x418d22
push str.Sound_Notification...
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.004023ae
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x2710
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp - 0xeb4]
cmp dword [eax + 0x4a10], 0
jge 0x418d9b
push 0
push 0
push str.CONTEXT_WEB
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
push eax
push 0x2712
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x208
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00401f60
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push str.CONTEXT_EXIT
mov ecx, dword [ebp - 0xeb4]
add ecx, 0x40c8
call fcn.0042e720
lea edx, [ebp - 0x220]
push edx
call fcn.00402006
add esp, 4
test eax, eax
jbe 0x418df4
lea eax, [ebp - 0x220]
mov dword [ebp - 0xed4], eax
jmp 0x418dfe
mov dword [ebp - 0xed4], str.Exit
mov ecx, dword [ebp - 0xed4]
push ecx
push 0x2714
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret 4