Function at 0x100595a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158f65
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x364], ecx
call fcn.10112e14
push 0
push 0x9b
lea ecx, [ebp - 0x348]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov dword [ebp - 4], 0
mov edi, dword [0x101c82ac]
test edi, edi
jne 0x10059629
push 0x1c8
call fcn.1010a843
mov edi, eax
add esp, 4
mov dword [ebp - 0x360], edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1003f040
mov byte [ebp - 4], 0
mov dword [0x101c82ac], edi
cmp dword [edi + 0xf8], 8
lea esi, [edi + 0xe4]
mov dword [ebp - 0x35c], esi
jb 0x10059646
mov esi, dword [esi]
mov dword [ebp - 0x35c], esi
test edi, edi
jne 0x1005967a
push 0x1c8
call fcn.1010a843
mov esi, eax
add esp, 4
mov dword [ebp - 0x360], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1003f040
mov byte [ebp - 4], 0
mov dword [0x101c82ac], esi
mov esi, dword [ebp - 0x35c]
cmp dword [ebp - 0x338], 0
jne 0x100596e2
push esi
push 0x64
lea eax, [ebp - 0x1a0]
push eax
push 0x1018444c
push str.UserID
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1a0], 0
jne 0x100596b0
xor eax, eax
jmp 0x100596cf
lea eax, [ebp - 0x1a0]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100596c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x348]
call fcn.10041f80
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0
push str.OutWordTotal
push 0x1018f350
call edi
push esi
push 0
push str.UseDayTotal
push 0x1018f350
mov ebx, eax
call edi
mov ecx, 1
cmp eax, ecx
push 0x64
cmovge eax, ecx
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.1012bd00
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1012bd00
push 0x64
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1012bd00
push 0x64
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.1012bd00
push 0x64
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.1012bd00
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x74]
push str.OutWordTotal_s
push eax
call fcn.10041b40
add esp, 0x48
lea eax, [ebp - 0x348]
cmp dword [ebp - 0x334], 8
cmovae eax, dword [ebp - 0x348]
push eax
lea eax, [ebp - 0xd8]
push str.UseDayTotal_s
push eax
call fcn.10041b40
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x204]
push str.LastNetOutWordTotal_s
push eax
call fcn.10041b40
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x268]
push str.LastNetUseDayTotal_s
push eax
call fcn.10041b40
add esp, 0x24
lea eax, [ebp - 0x74]
push esi
push 0
push eax
push 0x1018f350
call edi
push esi
lea edi, [ebx + eax]
push 0
lea eax, [ebp - 0xd8]
push eax
push 0x1018f350
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x35c]
mov esi, eax
lea eax, [ebp - 0x204]
push 0
push eax
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x364]
push dword [ebp - 0x35c]
push 0
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x268]
push eax
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x364]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x360]
lea ecx, [esi + eax]
mov dword [ebp - 0x360], ecx
test ebx, ebx
jg 0x10059889
test eax, eax
jle 0x10059947
cmp dword [ebp - 0x338], 0
jbe 0x10059947
push 0x64
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.1012bd00
push 0x64
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.1012bd00
push edi
lea eax, [ebp - 0x2cc]
push 0x10184420
push eax
call fcn.10041b40
mov ebx, dword [ebp - 0x35c]
lea eax, [ebp - 0x2cc]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x24
push ebx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x1018f350
call esi
mov ecx, dword [ebp - 0x360]
lea eax, [ebp - 0x13c]
push ecx
push 0x10184420
push eax
call fcn.10041b40
add esp, 0xc
lea eax, [ebp - 0x13c]
push ebx
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x1018f350
call esi
push ebx
push 0x10184a70
push str.OutWordTotal
push 0x1018f350
call esi
push ebx
push 0x10184a70
push str.UseDayTotal
push 0x1018f350
call esi
mov ecx, dword [ebp - 0x360]
jmp 0x1005994d
mov ebx, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x364]
add edi, dword [eax + 0xc]
add ecx, dword [eax + 8]
lea eax, [ebp - 0x358]
push eax
mov dword [ebp - 0x35c], edi
mov dword [ebp - 0x360], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x352]
push eax
movzx eax, word [ebp - 0x356]
push eax
movzx eax, word [ebp - 0x358]
push eax
lea eax, [ebp - 0x330]
push str._.4d_.2d_.2d
push eax
call fcn.10041b40
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x14
push ebx
push 0
push str.TodayOutWordTotal
push 0x1018f350
call esi
push ebx
push 0
push str.LastUseDate
push 0x1018f350
mov edi, eax
call esi
mov esi, eax
lea eax, [ebp - 0x330]
push eax
call fcn.1013359d
xor ecx, ecx
add esp, 4
cmp eax, esi
mov eax, dword [ebp - 0x364]
cmovne edi, ecx
mov ecx, dword [ebp - 0x360]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x35c]
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edi
mov eax, dword [ebp - 0x334]
cmp eax, 8
jb 0x10059a14
inc eax
lea ecx, [ebp - 0x348]
push eax
push dword [ebp - 0x348]
call fcn.10042120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a832
mov esp, ebp
pop ebp
ret