Function at 0x40bfc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d86f
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d4], ecx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x234], eax
mov byte [ebp - 0x22c], 0
push 0x103
push 0
lea eax, [ebp - 0x22b]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call fcn.0044a710
add esp, 8
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call fcn.00486c20
add esp, 0xc
mov byte [ebp - 0x3ac], 0
push 0x103
push 0
lea ecx, [ebp - 0x3ab]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x3ac]
push eax
call fcn.00486b10
add esp, 8
push 0x54a950
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x3ac]
push edx
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0x54a960
push 0x54a970
push 0x54a980
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x54a98c
lea ecx, [ebp - 0x274]
call fcn.00405f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00404280
push 0x54a994
lea ecx, [ebp - 0x274]
call fcn.00404280
push 0x54a998
lea ecx, [ebp - 0x274]
call fcn.00404280
push 0x54a9a4
lea ecx, [ebp - 0x274]
call fcn.00404280
push str.tongbu_num
lea ecx, [ebp - 0x274]
call fcn.00404280
push 0x50
call fcn.0047b43a
add esp, 4
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3bc], 0
je 0x40c15b
mov ecx, dword [ebp - 0x3bc]
call fcn.00459160
mov dword [ebp - 0x3d8], eax
jmp 0x40c165
mov dword [ebp - 0x3d8], 0
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3b8], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x274]
call fcn.00405ff0
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004593e0
mov ecx, dword [ebp - 0x230]
call fcn.00459620
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00404120
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00404470
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40c1c9
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x275], 0
mov dword [ebp - 0x3b0], 0
jmp 0x40c22e
mov edx, dword [ebp - 0x3b0]
add edx, 1
mov dword [ebp - 0x3b0], edx
mov ecx, dword [ebp - 0x18]
call fcn.00404470
cmp dword [ebp - 0x3b0], eax
jae 0x40c26b
mov eax, dword [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0045d9c0
mov cl, byte [eax]
mov byte [ebp - 0x3b1], cl
mov edx, dword [ebp - 0x254]
add edx, dword [ebp - 0x3b0]
mov al, byte [ebp - 0x3b1]
mov byte [edx], al
jmp 0x40c21f
cmp dword [ebp - 0x230], 0
je 0x40c2c5
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x3c8], ecx
mov edx, dword [ebp - 0x3c8]
mov dword [ebp - 0x3c4], edx
cmp dword [ebp - 0x3c4], 0
je 0x40c2b1
push 1
mov eax, dword [ebp - 0x3c4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x3dc], eax
jmp 0x40c2bb
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x230], 0
xor ecx, ecx
mov word [ebp - 0x2a0], cx
xor edx, edx
mov dword [ebp - 0x29e], edx
mov dword [ebp - 0x29a], edx
mov dword [ebp - 0x296], edx
mov dword [ebp - 0x292], edx
mov dword [ebp - 0x28e], edx
mov dword [ebp - 0x28a], edx
mov dword [ebp - 0x286], edx
mov dword [ebp - 0x282], edx
mov dword [ebp - 0x27e], edx
mov word [ebp - 0x27a], dx
lea eax, [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.0044a6b0
add esp, 8
call fcn.004058c0
mov ecx, eax
call fcn.004478c0
push eax
lea ecx, [ebp - 0x250]
call fcn.00401280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.004012c0
push eax
lea edx, [ebp - 0x2a0]
push edx
push str.MaxNotePerDay
push str.Note
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x254], 0
je 0x40c390
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x3cc]
push ecx
call fcn.0047b474
add esp, 4
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x3d0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.00405fb0
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret