Function at 0x418390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xba
mov dword [ebp - 0x2dc], ecx
call fcn.00406dcd
mov ecx, eax
call fcn.00407de7
mov edi, eax
mov dword [ebp - 0x2e0], edi
call fcn.004059a6
mov ecx, eax
call fcn.0044a301
mov esi, eax
mov dword [ebp - 0x2d8], esi
call fcn.004059a6
mov ecx, eax
call fcn.0044a2f2
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test edi, edi
jne 0x418406
push esi
push 0
push 0x5a0e74
push str.UserLogin
call ebx
mov edi, eax
mov dword [ebp - 0x2e0], eax
push esi
push 0
push str.OutWordTotal
push str.Setting
call ebx
push esi
push 0
push str.UseDayTotal
push str.Setting
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
inc ecx
cmp eax, ecx
push 0x64
cmovge eax, ecx
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0x68]
push str.OutWordTotal_d
push eax
call fcn.004065f3
add esp, 0x48
lea eax, [ebp - 0xcc]
push edi
push str.UseDayTotal_d
push eax
call fcn.004065f3
push edi
lea eax, [ebp - 0x130]
push str.LastNetOutWordTotal_d
push eax
call fcn.004065f3
push edi
lea eax, [ebp - 0x194]
push str.LastNetUseDayTotal_d
push eax
call fcn.004065f3
add esp, 0x24
lea eax, [ebp - 0x68]
push esi
push 0
push eax
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0
lea edi, [ebx + eax]
lea eax, [ebp - 0xcc]
push eax
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x2d8]
mov esi, eax
lea eax, [ebp - 0x130]
push 0
push eax
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x2dc]
push dword [ebp - 0x2d8]
push 0
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x194]
push eax
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x2dc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x2d4]
lea ecx, [esi + eax]
mov dword [ebp - 0x2d4], ecx
test ebx, ebx
jg 0x41855d
test eax, eax
jle 0x41861b
cmp dword [ebp - 0x2e0], 0
jle 0x41861b
push 0x64
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0x1f8]
push 0x60903c
push eax
call fcn.004065f3
mov ebx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x24
push ebx
push eax
lea eax, [ebp - 0x68]
push eax
push str.Setting
call esi
mov ecx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x25c]
push ecx
push 0x60903c
push eax
call fcn.004065f3
add esp, 0xc
lea eax, [ebp - 0x25c]
push ebx
push eax
lea eax, [ebp - 0xcc]
push eax
push str.Setting
call esi
push ebx
push 0x5a0e70
push str.OutWordTotal
push str.Setting
call esi
push ebx
push 0x5a0e70
push str.UseDayTotal
push str.Setting
call esi
mov ecx, dword [ebp - 0x2d4]
jmp 0x418621
mov ebx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2dc]
add edi, dword [eax + 0xc]
add ecx, dword [eax + 8]
lea eax, [ebp - 0x2d0]
push eax
mov dword [ebp - 0x2e0], edi
mov dword [ebp - 0x2d4], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x2ca]
push eax
movzx eax, word [ebp - 0x2ce]
push eax
movzx eax, word [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2c0]
push str._.4d_.2d_.2d
push eax
call fcn.004065f3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x14
push ebx
push 0
push str.TodayOutWordTotal
push str.Setting
call esi
push ebx
push 0
push str.LastUseDate
push str.Setting
mov edi, eax
call esi
mov esi, eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0046bbe8
pop ecx
xor ecx, ecx
cmp eax, esi
mov eax, dword [ebp - 0x2dc]
cmovne edi, ecx
mov ecx, dword [ebp - 0x2d4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2e0]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0x10], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00448575
mov esp, ebp
pop ebp
ret