Function at 0x46e74e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x532a90
call fcn.004ea774
sub esp, 0x814
push ebx
push esi
push edi
mov edi, ecx
and dword [ebp - 4], 0
push 0x57d978
lea ecx, [ebp - 0x10]
call fcn.00505b46
push 0xa
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00505f9f
mov esi, eax
test esi, esi
jle 0x46e818
lea eax, [ebp - 0x14]
push esi
push eax
lea ecx, [ebp + 8]
call fcn.005016a9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00505c11
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00505ad8
push 0x582678
lea ecx, [ebp - 0x10]
call fcn.00501743
mov ebx, eax
test ebx, ebx
jl 0x46e7dc
push 1
push ebx
lea ecx, [ebp - 0x10]
call fcn.00501276
push 1
push ebx
lea ecx, [ebp + 8]
call fcn.00501276
dec esi
test esi, esi
jle 0x46e818
push 0x5d
push esi
lea ecx, [ebp + 8]
call fcn.0050601e
push 0x57f5cc
push 0
lea ecx, [ebp + 8]
call fcn.005012ce
push 0x57fab0
push 0x57e1b0
lea ecx, [ebp + 8]
call fcn.005013c0
push 9
push 0xa
lea ecx, [ebp + 8]
call fcn.00501383
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0050584d
mov ecx, edi
call fcn.0046ed6e
test eax, eax
jne 0x46e839
xor esi, esi
jmp 0x46e985
call fcn.004a8ba0
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.004a8ba0
mov edx, dword [eax]
push 0
push str.WT_NotiCurNum
push ebx
mov ecx, eax
call dword [edx + 0xa4]
test esi, esi
jle 0x46e953
inc eax
cmp eax, esi
mov dword [ebp - 0x18], eax
jg 0x46e883
cmp eax, 1
jge 0x46e88a
mov dword [ebp - 0x18], 1
mov eax, dword [0x58c61c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push 0x57db50
push eax
call fcn.00501ac9
add esp, 0xc
lea eax, [ebp - 0x820]
push dword [edi + 0xa8]
push 0x800
push eax
push 0x5913bc
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 0x46e8fd
lea eax, [ebp - 0x820]
lea ecx, [ebp - 0x14]
push eax
call fcn.00505c61
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.004a8ba0
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.00505ad8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00505ad8
push 0
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0050584d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 5
call fcn.0050584d
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0046e37a
push 1
pop esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00505ad8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00505ad8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4