Function at 0x462aa0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e83e5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push 0x4c
mov esi, ecx
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0
test eax, eax
je 0x462af6
mov ecx, eax
call fcn.00416dd0
jmp 0x462af8
xor eax, eax
or ebp, 0xffffffff
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x81c], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 1
test eax, eax
je 0x462b28
mov ecx, eax
call fcn.00416dd0
jmp 0x462b2a
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x820], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 2
test eax, eax
je 0x462b57
mov ecx, eax
call fcn.00416dd0
jmp 0x462b59
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x824], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 3
test eax, eax
je 0x462b86
mov ecx, eax
call fcn.00416dd0
jmp 0x462b88
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x828], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 4
test eax, eax
je 0x462bb5
mov ecx, eax
call fcn.00416dd0
jmp 0x462bb7
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x82c], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 5
test eax, eax
je 0x462be4
mov ecx, eax
call fcn.00416dd0
jmp 0x462be6
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x830], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 6
test eax, eax
je 0x462c13
mov ecx, eax
call fcn.00416dd0
jmp 0x462c15
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x834], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 7
test eax, eax
je 0x462c42
mov ecx, eax
call fcn.00416dd0
jmp 0x462c44
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x838], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 8
test eax, eax
je 0x462c71
mov ecx, eax
call fcn.00416dd0
jmp 0x462c73
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x83c], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 9
test eax, eax
je 0x462ca0
mov ecx, eax
call fcn.00416dd0
jmp 0x462ca2
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x840], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0xa
test eax, eax
je 0x462ccf
mov ecx, eax
call fcn.00416dd0
jmp 0x462cd1
xor eax, eax
push 0x4c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x844], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0xb
test eax, eax
je 0x462cfe
mov ecx, eax
call fcn.00416dd0
jmp 0x462d00
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esi + 0x848], eax
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x81c]
push 0x6061ec
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x820]
push 0x6061e4
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x824]
push str.jia_tou
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x828]
push str.ban_tou
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x82c]
push str.Note
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x830]
push str.NUM_BLACK
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x834]
push str.NUM_GRAY
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x838]
push str.NUM_ORANGE
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x83c]
push str.NUM_QORANGE
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x840]
push str.NUM_WHITE
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x844]
push str.SELECTED
push eax
call fcn.00416e60
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x848]
push 0x6095cc
push eax
call fcn.00416e60
mov eax, dword [esi + 0x518]
push 0
push eax
push 0
push 0
push ecx
mov dword [esp + 0x24], esp
mov eax, esp
lea ecx, [esi + 0x51c]
mov dword [eax], str.small_month_day_bar.xml
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov edx, dword [esi + 0x4a0]
lea ecx, [esi + 0x4a0]
mov edi, eax
mov eax, dword [edx + 0x10]
push edi
call eax
cmp byte [esp + 0x50], 0
je 0x462ea9
lea ecx, [esp + 0x14]
push 0x45f610
push ecx
call fcn.00405a00
add esp, 8
push eax
lea ecx, [edi + 0x28]
mov dword [esp + 0x4c], 0xc
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CEventSource::operator_class_DuiLib::CDelegateBase_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], ebp
call dword [sym.imp.DuiLib32.dll_public_virtual:_void___thiscall_DuiLib::CDelegateBase::destructor_void_]
push 0x3f04
call fcn.004ca5e4
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0xd
test eax, eax
je 0x462eea
push 0x448ca0
push 0x448fc0
push 0x2a
lea edi, [eax + 4]
push 0x180
push edi
mov dword [eax], 0x2a
call fcn.004ebd8d
mov eax, edi
jmp 0x462eec
xor eax, eax
push 0x16c
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x75c], eax
call fcn.004ca5e4
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0xe
test eax, eax
je 0x462f32
push 0x448e50
push 0x448e80
push 6
lea edi, [eax + 4]
push 0x3c
push edi
mov dword [eax], 6
call fcn.004ebd8d
jmp 0x462f34
xor edi, edi
push 0x1a8
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x764], edi
call fcn.004ca5e4
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0xf
test eax, eax
je 0x462f7c
push 0x448e50
push 0x448e80
push 7
lea edi, [eax + 4]
push 0x3c
push edi
mov dword [eax], 7
call fcn.004ebd8d
mov eax, edi
jmp 0x462f7e
xor eax, eax
push 9
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x760], eax
call fcn.004088f0
mov ecx, eax
call fcn.004c7380
test eax, eax
setne dl
mov byte [esi + 0x4f9], dl
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
xor ecx, ecx
mov word [esp + 0x24], cx
mov ecx, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x462fd0
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401c70
mov eax, dword [esp + 0x24]
mov edi, 8
mov dword [esp + 0x48], 0x10
cmp dword [esp + 0x38], edi
jae 0x463005
lea eax, [esp + 0x24]
push eax
push 2
push 0x609580
push 0x5ff194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, esi
mov dword [esi + 0x500], eax
call fcn.0045e2e0
mov ecx, esi
call fcn.00462500
cmp dword [esp + 0x38], edi
jb 0x46303f
mov edx, dword [esp + 0x24]
push edx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004e8c89
add esp, 0x3c
ret 4