Function at 0x4700c7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x537180
call fcn.004eec88
sub esp, 0x814
push ebx
push esi
push edi
mov edi, ecx
and dword [ebp - 4], 0
push 0x583988
lea ecx, [ebp - 0x10]
call fcn.00509ffe
push 0xa
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0050a457
mov esi, eax
test esi, esi
jle 0x470191
lea eax, [ebp - 0x14]
push esi
push eax
lea ecx, [ebp + 8]
call fcn.00505ae9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0050a0c9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
push 0x5887dc
lea ecx, [ebp - 0x10]
call fcn.00505b83
mov ebx, eax
test ebx, ebx
jl 0x470155
push 1
push ebx
lea ecx, [ebp - 0x10]
call fcn.005056b6
push 1
push ebx
lea ecx, [ebp + 8]
call fcn.005056b6
dec esi
test esi, esi
jle 0x470191
push 0x5d
push esi
lea ecx, [ebp + 8]
call fcn.0050a4d6
push 0x5855e4
push 0
lea ecx, [ebp + 8]
call fcn.0050570e
push 0x585ac8
push 0x5841c8
lea ecx, [ebp + 8]
call fcn.00505800
push 9
push 0xa
lea ecx, [ebp + 8]
call fcn.005057c3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00509d05
mov ecx, edi
call fcn.004706e7
test eax, eax
jne 0x4701b2
xor esi, esi
jmp 0x4702fe
call fcn.004acebd
mov edx, dword [eax]
push 0x14
mov ebx, str.System
push str.WT_NotiCount
push ebx
mov ecx, eax
call dword [edx + 0xa4]
mov esi, eax
call fcn.004acebd
mov edx, dword [eax]
push 0
push str.WT_NotiCurNum
push ebx
mov ecx, eax
call dword [edx + 0xa4]
test esi, esi
jle 0x4702cc
inc eax
cmp eax, esi
mov dword [ebp - 0x18], eax
jg 0x4701fc
cmp eax, 1
jge 0x470203
mov dword [ebp - 0x18], 1
mov eax, dword [0x5927d4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push 0x583b60
push eax
call fcn.00505f09
add esp, 0xc
lea eax, [ebp - 0x820]
push dword [edi + 0xa8]
push 0x800
push eax
push 0x59758c
push dword [ebp - 0x1c]
push str.WT_NotiNums
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov esi, dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
test eax, eax
je 0x470276
lea eax, [ebp - 0x820]
lea ecx, [ebp - 0x14]
push eax
call fcn.0050a119
push dword [edi + 0xa8]
push 0
push dword [ebp - 0x14]
push str.WT_NotiData
call esi
push dword [edi + 0xa8]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push str.WT_NotiNums
call esi
push dword [edi + 0xa8]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WT_NotiData
call esi
call fcn.004acebd
push dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, eax
push str.WT_NotiCurNum
push ebx
call dword [edx + 0xa8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00509f90
push 0
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00509d05
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 5
call fcn.00509d05
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0046fcf3
push 1
pop esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00509f90
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4