Function at 0x41f342
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push dword [ebx + 4]
lea ecx, [ebx + 0x2d8]
call fcn.00530a61
mov esi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea edi, [ebx + 0x2c]
push str.user_icon
mov ecx, edi
call esi
push str.labVipUserTip
mov ecx, edi
mov dword [ebx + 0x328], eax
call esi
push str.labUserTip
mov ecx, edi
mov dword [ebx + 0x32c], eax
call esi
push str.labUserNick
mov ecx, edi
mov dword [ebx + 0x330], eax
call esi
push str.vip_icon
mov ecx, edi
mov dword [ebx + 0x334], eax
call esi
push str.labUserDay
mov ecx, edi
mov dword [ebx + 0x338], eax
call esi
push str.labTodayInputNum
mov ecx, edi
mov dword [ebx + 0x33c], eax
call esi
push str.labAllInputNum
mov ecx, edi
mov dword [ebx + 0x340], eax
call esi
pop edi
pop esi
mov dword [ebx + 0x344], eax
mov ecx, ebx
pop ebx
jmp 0x41f4eb
push 0x788
mov eax, 0x5f2930
call fcn.0044e95a
mov edi, ecx
lea ecx, [ebp - 0x78d]
call fcn.0040dba8
xor ebx, ebx
lea ecx, [ebp - 0x78d]
mov dword [ebp - 4], ebx
call fcn.004052d9
mov ecx, dword [edi + 0x32c]
test al, al
mov eax, dword [ecx]
je 0x41f53e
push 1
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x338]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd8]
push ebx
jmp 0x41f556
push ebx
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x338]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xd8]
push 1
mov ecx, dword [edi + 0x330]
mov eax, dword [ecx]
call dword [eax + 0xd8]
push 0x208
lea eax, [ebp - 0x2e0]
push ebx
push eax
call fcn.005426c0
add esp, 0xc
call fcn.00409a82
mov ecx, eax
call fcn.0041d986
call fcn.00409a82
mov ecx, eax
call fcn.004500be
mov ebx, eax
call fcn.00409a82
mov ecx, eax
call fcn.00424b86
mov esi, eax
call fcn.00409a82
mov ecx, eax
call fcn.0041d982
mov dword [ebp - 0x794], eax
cmp esi, 0x186a0
jb 0x41f5f4
cmp esi, 0x3b9aca00
jae 0x41f5fc
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
push ecx
push ecx
addsd xmm0, qword [esi*8 + 0x5fe320]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x5fe31c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x5fe198
jmp 0x41f633
cmp esi, 0x3b9aca00
jb 0x41f644
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
push ecx
push ecx
addsd xmm0, qword [esi*8 + 0x5fe320]
cvtpd2ps xmm1, xmm0
divss xmm1, dword [0x5fe31c]
divss xmm1, dword [0x5fe31c]
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push str._.1f
lea eax, [ebp - 0x2e0]
push eax
call fcn.00404de4
add esp, 0x10
jmp 0x41f659
push esi
lea eax, [ebp - 0x2e0]
push 0x5fa0b8
push eax
call fcn.00404de4
add esp, 0xc
push 0xffffffffffffffff
push 0x5f9ed8
lea ecx, [ebp - 0x78c]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
push ebx
mov ebx, dword [sym.imp.DuiLib32.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
lea eax, [ebp - 0x78c]
push 0x6025e4
push eax
mov byte [ebp - 4], 1
call ebx
mov esi, dword [edi + 0x33c]
add esp, 0xc
test esi, esi
je 0x41f6aa
mov esi, dword [esi]
lea ecx, [ebp - 0x78c]
call dword [sym.imp.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, dword [edi + 0x33c]
push eax
call dword [esi + 0x2c]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x78c]
push 0x6025f4
push eax
call ebx
mov esi, dword [edi + 0x344]
add esp, 0xc
test esi, esi
je 0x41f6e4
mov esi, dword [esi]
lea ecx, [ebp - 0x78c]
call dword [sym.imp.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, dword [edi + 0x344]
push eax
call dword [esi + 0x2c]
push dword [ebp - 0x794]
lea eax, [ebp - 0x78c]
push 0x602608
push eax
call ebx
mov esi, dword [edi + 0x340]
add esp, 0xc
test esi, esi
je 0x41f71d
mov esi, dword [esi]
lea ecx, [ebp - 0x78c]
call dword [sym.imp.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, dword [edi + 0x340]
push eax
call dword [esi + 0x2c]
call fcn.00403028
mov ecx, eax
call fcn.005164d5
push 0xc8
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0xd8]
push ebx
push eax
call fcn.005426c0
add esp, 0xc
lea eax, [ebp - 0xd8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x64
push eax
push 0x5f9ed8
push str.NickName
push str.UserLogin
call esi
push 0x208
lea eax, [ebp - 0x4e8]
push ebx
push eax
call fcn.005426c0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x4e8]
push 0x5f9f9c
push eax
call fcn.00404de4
lea eax, [ebp - 0x4e8]
push eax
call fcn.005454d1
add esp, 0x1c
cmp eax, 0xc
jle 0x41f7b4
lea eax, [ebp - 0x4d4]
push 0x5fe0e4
push eax
call fcn.00549ff0
pop ecx
pop ecx
mov ecx, dword [edi + 0x334]
lea edx, [ebp - 0x4e8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
call fcn.00403028
mov ecx, eax
call fcn.005164d5
push eax
lea ecx, [ebp - 0x708]
call fcn.00404479
cmp dword [ebp - 0x6f4], 8
lea eax, [ebp - 0x708]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x708]
push eax
push 0x104
lea eax, [ebp - 0x6f0]
push eax
push 0x5f9ed8
push str.UserFace
push str.UserLogin
call esi
lea eax, [ebp - 0x6f0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f83c
mov ecx, dword [edi + 0x328]
test ecx, ecx
je 0x41f83c
lea eax, [ebp - 0x6f0]
push eax
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__]
push ebx
push 1
lea ecx, [ebp - 0x708]
call fcn.004037bf
lea ecx, [ebp - 0x78c]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x78d]
call fcn.004509a0
call fcn.0044e904
ret