Function at 0x4099d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x47e19f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9fc
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x488000
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
xor ebx, ebx
mov dword [esp + 0xa14], ebx
call fcn.004460a0
mov edi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00405620
add esp, 4
mov ebp, eax
push str.UserConfig.ini
mov ecx, edi
mov byte [esp + 0xa18], 1
call fcn.00444770
mov ecx, dword [ebp]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._sUsers_I64d_s
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0xa14], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push ebx
push str.IsShowTray
push str.UserSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
cmp ebp, ebx
jl 0x409ba5
cmp ebp, 2
jg 0x409ba5
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040d7f0
lea ecx, [esp + 0x18]
mov byte [esp + 0xa14], 2
call sub.MFC71U.DLL_CColorDialog::DoModal
cmp eax, 1
jne 0x409b71
mov eax, dword [esi + 0x5494]
cmp eax, 1
je 0x409ac4
cmp eax, 3
jne 0x409b95
mov ecx, dword [esi + 0x5498]
cmp ecx, ebx
je 0x409af3
call fcn.00443710
mov edi, dword [esi + 0x5498]
cmp edi, ebx
je 0x409aed
mov ecx, edi
call fcn.004436d0
push edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [esi + 0x5498], ebx
push 0x3b4
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa14], 3
je 0x409b19
mov ecx, eax
call fcn.004436b0
jmp 0x409b1b
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xa14], 2
mov dword [esi + 0x5498], eax
jne 0x409b42
lea ecx, [esp + 0x18]
mov byte [esp + 0xa14], bl
call fcn.0040d8b0
jmp 0x409c5c
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, eax
call fcn.004436f0
mov ecx, dword [esi + 0x5498]
push 1
call fcn.00443700
mov ecx, dword [esi + 0x5498]
call fcn.00443720
test eax, eax
je 0x409b95
push ebx
mov ecx, esi
call sub.MFC71U.DLL_COleControlSite::ShowWindow
lea ecx, [esp + 0x18]
mov byte [esp + 0xa14], bl
call fcn.0040d8b0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
jmp 0x409c68
lea ecx, [esp + 0x18]
mov byte [esp + 0xa14], bl
call fcn.0040d8b0
cmp ebp, 3
jne 0x409c56
mov ecx, dword [esi + 0x5498]
cmp ecx, ebx
je 0x409bdd
call fcn.00443710
mov edi, dword [esi + 0x5498]
cmp edi, ebx
je 0x409bd7
mov ecx, edi
call fcn.004436d0
push edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [esi + 0x5498], ebx
push 0x3b4
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa14], 4
je 0x409c03
mov ecx, eax
call fcn.004436b0
jmp 0x409c05
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xa14], bl
mov dword [esi + 0x5498], eax
je 0x409c5c
mov edx, dword [esi + 0x20]
push edx
mov ecx, eax
call fcn.004436f0
mov ecx, dword [esi + 0x5498]
push 1
call fcn.00443700
mov ecx, dword [esi + 0x5498]
call fcn.00443720
test eax, eax
je 0x409c56
push ebx
mov ecx, esi
call sub.MFC71U.DLL_COleControlSite::ShowWindow
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
jmp 0x409c68
mov dword [esi + 0x5494], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 0xa0c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa08
ret