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

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x78
mov eax, 0x1017ea53
call fcn.1008546d
mov eax, dword [ecx + 0x884]
xor esi, esi
cmp dword [eax + 0x224], esi
mov dword [ebp - 0x30], ecx
je 0x1003c1ed
cmp dword [ecx + 0x870], esi
jne 0x1003c1ed
call fcn.1000ea44
mov edx, dword [eax]
push 0x27
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x1003c1ed
mov edi, 0x206
push edi
lea eax, [ebp + 0x25e]
push esi
push eax
mov word [ebp + 0x25c], si
call fcn.10085bc0
add esp, 0xc
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea eax, [ebp + 0x25c]
push eax
call fcn.100860cd
lea eax, [ebp + 0x25c]
push str.Config.ini
push eax
call fcn.100860a3
add esp, 0x10
lea eax, [ebp + 0x25c]
push eax
push esi
push str.IsCancelMiNiNews
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x1003c1ed
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea ecx, [ebp]
call fcn.100015f0
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push ebx
lea eax, [ebp - 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28], esp
push str..exe
mov byte [ebp - 4], bl
call fcn.10001580
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp]
mov dword [ebp - 0x10], esp
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.1001e821
pop ecx
pop ecx
mov byte [ebp - 4], bl
call fcn.10020f3a
add esp, 0x40
push esi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 7
call fcn.10001b40
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10051a72
jmp 0x1003c115
lea ecx, [ebp - 0x14]
call fcn.10005225
cmp dword [eax + 0x18], 0x10
jb 0x1003c093
mov eax, dword [eax + 4]
jmp 0x1003c096
add eax, 4
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001580
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 4
call fcn.1001e780
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 5
jb 0x1003c0c1
mov eax, dword [eax + 4]
jmp 0x1003c0c4
add eax, 4
push 0x101900fc
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.1001ee10
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0x68]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.10001770
push str.4Yag
lea ecx, [ebp + 0x1c]
call fcn.100059c8
test eax, eax
je 0x1003c13a
push esi
push ebx
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.100017c0
lea ecx, [ebp - 0x14]
call fcn.10005246
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.10051a72
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10054d99
test al, al
je 0x1003c080
jmp 0x1003c17c
lea ecx, [ebp - 0x14]
call fcn.10005225
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1001e780
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 9
call fcn.10001d30
push esi
push ebx
lea ecx, [ebp - 0x84]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.100017c0
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x1003c188
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003c1d1
push edi
lea eax, [ebp + 0x56]
push esi
push eax
mov word [ebp + 0x54], si
call fcn.10085bc0
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp dword [ebp + 0x50], 8
jae 0x1003c1b1
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.100860cd
mov edi, dword [ebp - 0x30]
pop ecx
pop ecx
lea eax, [ebp + 0x54]
push eax
mov ecx, edi
call fcn.1003d563
mov dword [edi + 0x870], ebx
push esi
push ebx
lea ecx, [ebp + 0x38]
call fcn.100017c0
lea ecx, [ebp - 0x24]
call fcn.100071e5
push esi
push ebx
lea ecx, [ebp]
call fcn.100017c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x468
leave
ret