Function at 0x40feb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42aa06
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x43b034]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x43b034]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
mov dword [esp + 0x18], ecx
push str.windowinit
mov ecx, esi
call ebx
test al, al
jne 0x410234
mov edi, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push str.click
mov ecx, esi
call edi
push eax
call fcn.004169f8
add esp, 8
test eax, eax
jne 0x41020c
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
call eax
push str.menuAstro
mov ecx, eax
mov dword [esp + 0x15c], 0
call ebx
mov dword [esp + 0x158], 0xffffffff
mov edi, dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], al
call edi
cmp byte [esp + 0x17], 0
je 0x410001
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.DuiLib_u.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
add esp, 4
push 0x433f30
lea ecx, [esp + 0x38]
mov dword [esp + 0x15c], 1
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
lea ecx, [esp + 0x34]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
push 0
push str.astro
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x278]
mov dword [edx + 0x290], eax
mov ecx, dword [esi + 0x278]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
mov ecx, dword [esi + 0x278]
push 1
push 1
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
lea ecx, [esp + 0x34]
mov dword [esp + 0x158], 0xffffffff
call edi
jmp 0x410234
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
call eax
push str.suspen
mov ecx, eax
mov dword [esp + 0x15c], 2
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], al
mov dword [esp + 0x158], 0xffffffff
call edi
cmp byte [esp + 0x17], 0
jne 0x410234
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x34]
push eax
call edx
push str.menuAbout
mov ecx, eax
mov dword [esp + 0x15c], 3
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], al
mov dword [esp + 0x158], 0xffffffff
call edi
cmp byte [esp + 0x17], 0
jne 0x410234
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
call eax
push str.menuSetup
mov ecx, eax
mov dword [esp + 0x15c], 4
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], al
mov dword [esp + 0x158], 0xffffffff
call edi
cmp byte [esp + 0x17], 0
je 0x4101a6
lea ecx, [esp + 0x1c]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CPoint::constructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebx + 0x278]
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add edx, 0xfffffff4
add eax, 0xc
push 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call edi
push 1
mov esi, eax
call edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
sub esi, dword [esp + 0x1c]
sub ecx, eax
xor edi, edi
cmp esi, ecx
jg 0x410149
add eax, 0xc
mov dword [esp + 0x1c], eax
mov edi, 1
mov ecx, dword [ebx + 0x278]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
mov ecx, dword [ebx + 0x278]
push 1
push 1
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0x2a0
call fcn.004170ee
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x158], 5
test eax, eax
je 0x410234
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
push edx
mov edx, dword [ebx + 0x278]
push ecx
push edx
push eax
call fcn.00410e80
jmp 0x410234
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0xbc]
push edx
call eax
push 0x434a18
mov ecx, eax
mov dword [esp + 0x15c], 6
call ebx
lea ecx, [esp + 0xbc]
mov bl, al
mov dword [esp + 0x158], 0xffffffff
call edi
test bl, bl
je 0x410234
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x278]
add edx, 0x2a4
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x410234
push str.valuechanged
mov ecx, esi
call edi
push eax
call fcn.004169f8
add esp, 8
test eax, eax
je 0x410234
push str.selectchanged
mov ecx, esi
call edi
push eax
call fcn.004169f8
add esp, 8
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.004167b2
mov esp, ebp
pop ebp
ret 4