Function at 0x40bff0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4196c1
call fcn.0040f528
sub esp, 0x3c
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x43c]
push str.EPSON_Status_Monitor_3
mov ecx, edi
call fcn.00407f1a
push 0x41b390
mov ecx, edi
call fcn.00407f36
lea edi, [esi + 0x448]
push str._nUnable_to_open_Printer_Status_window_for_this_printer.
mov ecx, edi
call fcn.00407f1a
push 0x41b2e8
mov ecx, edi
call fcn.00407f36
lea edi, [esi + 0x454]
push str._nUnable_to_open_Monitoring_Preferences_window_for_this_printer.
mov ecx, edi
call fcn.00407f1a
push 0x41b228
mov ecx, edi
call fcn.00407f36
lea edi, [esi + 0x460]
push str.Insufficient_memory.
mov ecx, edi
call fcn.00407f1a
push 0x41b1e0
mov ecx, edi
call fcn.00407f36
lea edi, [esi + 0x46c]
push str.Could_not_find_specified_file.
mov ecx, edi
call fcn.00407f1a
push 0x41b180
mov ecx, edi
call fcn.00407f36
mov ecx, esi
call fcn.00409501
test eax, eax
je 0x40c171
push ebx
xor ebx, ebx
cmp dword [esi + 0x478], ebx
je 0x40c119
lea edi, [esi + 0x118]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp dword [0x41fd34], ebx
push eax
lea ecx, [esi + 8]
push 3
je 0x40c0e7
call fcn.00407f85
push eax
mov ecx, edi
call fcn.00407f85
push eax
push dword [esi + 0x438]
call fcn.004031c7
jmp 0x40c100
call fcn.00407f7d
push eax
mov ecx, edi
call fcn.00407f7d
push eax
push dword [esi + 0x438]
call fcn.00403197
add esp, 0x14
push dword [esi + 0x438]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x438], ebx
xor eax, eax
jmp 0x40c170
lea ecx, [ebp - 0x18]
call fcn.004046fe
cmp dword [0x41fd34], ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x118]
je 0x40c142
call fcn.00407f85
push eax
lea ecx, [ebp - 0x18]
call fcn.004047f1
jmp 0x40c150
call fcn.00407f7d
push eax
lea ecx, [ebp - 0x18]
call fcn.00404701
cmp eax, ebx
je 0x40c17f
push str.Stm_is_invalid._n
call fcn.004028a7
pop ecx
or ebx, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040dd39
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x124]
push eax
lea edi, [esi + 0x694]
push 0x104
push edi
call fcn.0040431e
push edi
push str.m_szDatPath
mov dword [ebp - 0x14], eax
call fcn.00402932
add esp, 0x18
cmp dword [ebp - 0x14], ebx
je 0x40c15f
cmp byte [edi], bl
je 0x40c15f
mov ecx, esi
call fcn.0040a09f
test eax, eax
je 0x40c15f
lea eax, [esi + 0x590]
push eax
mov ecx, esi
call fcn.00409785
test eax, eax
je 0x40c15f
push 1
push dword [esi + 0x48c]
mov ecx, esi
call fcn.00409f03
test eax, eax
je 0x40c162
push 0x321
push dword [esi + 0x584]
call dword [sym.imp.USER32.dll_LoadMenuA]
push ebx
push eax
mov dword [esi + 0x434], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x40c162
call fcn.004075e4
test eax, eax
lea ecx, [ebp - 0x14]
je 0x40c2e7
call fcn.00408064
lea edi, [esi + 0x118]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00407f85
push eax
call fcn.0040ef55
test eax, eax
pop ecx
lea ecx, [esi + 8]
je 0x40c249
mov ecx, edi
call fcn.00407f85
lea ecx, [ebp - 0x14]
push eax
call fcn.00408201
lea ecx, [ebp - 0x14]
call fcn.00407fe0
push eax
mov edi, 0x384
push edi
push 0x400
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push 0x30
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0040eef0
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x44], 0x11
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
cmp eax, ebx
je 0x40c2d7
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x1000
call fcn.0040821f
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
call fcn.00407fda
shl eax, 1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00408017
jmp 0x40c3a4
call fcn.004076f0
lea edi, [esi + 0x118]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00407f7d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
lea ecx, [esi + 8]
je 0x40c30d
mov ecx, edi
call fcn.00407f7d
lea ecx, [ebp - 0x14]
push eax
call fcn.004077ea
lea ecx, [ebp - 0x14]
call fcn.00407fe0
push eax
mov edi, 0x384
push edi
push 0x400
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ModifyMenuA]
push 0x30
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0040eef0
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x44], 0x11
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
cmp eax, ebx
je 0x40c399
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x1000
call fcn.004078da
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
call fcn.00407fda
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00407659
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0040b899
mov eax, dword [esi + 0x584]
cmp eax, ebx
je 0x40c3c5
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x584], ebx
mov eax, dword [esi + 0x588]
cmp eax, ebx
je 0x40c3e2
lea edi, [esi + 0x58c]
cmp dword [edi], ebx
je 0x40c3e2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi], ebx
lea eax, [esi + 0x694]
cmp byte [eax], bl
mov dword [esi + 0x588], ebx
je 0x40c409
push eax
push ebx
push str.TrayIconEndTime
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x79c], eax
mov eax, dword [esi + 0x79c]
cmp eax, ebx
mov edi, dword [sym.imp.USER32.dll_SetTimer]
je 0x40c42b
push ebx
push eax
push 2
push dword [esi + 0x430]
call edi
mov dword [esi + 0x798], eax
push ebx
push 0xbb8
push 4
push dword [esi + 0x430]
call edi
xor ebx, ebx
mov dword [esi + 0x7a4], eax
inc ebx
jmp 0x40c162