Function at 0x100594e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158625
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x101b90ec]
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.10112474
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 [0x101c7074]
test edi, edi
jne 0x10059569
push 0x1c8
call fcn.10109ed3
mov edi, eax
add esp, 4
mov dword [ebp - 0x360], edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1003f030
mov byte [ebp - 4], 0
mov dword [0x101c7074], edi
cmp dword [edi + 0xf8], 8
lea esi, [edi + 0xe4]
mov dword [ebp - 0x35c], esi
jb 0x10059586
mov esi, dword [esi]
mov dword [ebp - 0x35c], esi
test edi, edi
jne 0x100595ba
push 0x1c8
call fcn.10109ed3
mov esi, eax
add esp, 4
mov dword [ebp - 0x360], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1003f030
mov byte [ebp - 4], 0
mov dword [0x101c7074], esi
mov esi, dword [ebp - 0x35c]
cmp dword [ebp - 0x338], 0
jne 0x10059622
push esi
push 0x64
lea eax, [ebp - 0x1a0]
push eax
push 0x1018344c
push str.UserID
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1a0], 0
jne 0x100595f0
xor eax, eax
jmp 0x1005960f
lea eax, [ebp - 0x1a0]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10059600
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x348]
call fcn.10041f70
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0
push str.OutWordTotal
push 0x1018e340
call edi
push esi
push 0
push str.UseDayTotal
push 0x1018e340
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.1012b3b0
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1012b3b0
push 0x64
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1012b3b0
push 0x64
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.1012b3b0
push 0x64
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.1012b3b0
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.10041b30
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.10041b30
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.10041b30
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.10041b30
add esp, 0x24
lea eax, [ebp - 0x74]
push esi
push 0
push eax
push 0x1018e340
call edi
push esi
lea edi, [ebx + eax]
push 0
lea eax, [ebp - 0xd8]
push eax
push 0x1018e340
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 0x100597c9
test eax, eax
jle 0x10059887
cmp dword [ebp - 0x338], 0
jbe 0x10059887
push 0x64
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.1012b3b0
push 0x64
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.1012b3b0
push edi
lea eax, [ebp - 0x2cc]
push 0x10183420
push eax
call fcn.10041b30
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 0x1018e340
call esi
mov ecx, dword [ebp - 0x360]
lea eax, [ebp - 0x13c]
push ecx
push 0x10183420
push eax
call fcn.10041b30
add esp, 0xc
lea eax, [ebp - 0x13c]
push ebx
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x1018e340
call esi
push ebx
push 0x10183a68
push str.OutWordTotal
push 0x1018e340
call esi
push ebx
push 0x10183a68
push str.UseDayTotal
push 0x1018e340
call esi
mov ecx, dword [ebp - 0x360]
jmp 0x1005988d
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.10041b30
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x14
push ebx
push 0
push str.TodayOutWordTotal
push 0x1018e340
call esi
push ebx
push 0
push str.LastUseDate
push 0x1018e340
mov edi, eax
call esi
mov esi, eax
lea eax, [ebp - 0x330]
push eax
call fcn.10132c54
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 0x10059954
inc eax
lea ecx, [ebp - 0x348]
push eax
push dword [ebp - 0x348]
call fcn.10042110
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.10109ec2
mov esp, ebp
pop ebp
ret