Function at 0x2004eac1
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x2009f44a
call fcn.2007d394
sub esp, 0x50
mov eax, dword [0x200cc84c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x54], esi
mov ecx, dword [esi + 0x19938]
call fcn.2002c06d
mov dword [esi + 0x10898], 1
mov ecx, esi
call fcn.20041f63
mov ecx, esi
call fcn.20041db8
push str.msgtn.ini
push 0x200a4a9c
push 0x200a9c54
push 0x200a8b18
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x19024]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x50], eax
cmp eax, 0xa
jbe 0x2004ec7e
mov ebx, 0x200a6b94
push ebx
push 0
push str.totalusedsec
mov edi, str.stat
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add eax, dword [ebp - 0x50]
push eax
push 0x200a4c68
lea eax, [ebp - 0x48]
push eax
call fcn.2007d900
add esp, 0xc
push ebx
lea eax, [ebp - 0x48]
push eax
push str.totalusedsec
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
push 0
push str.usedsec
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add eax, dword [ebp - 0x50]
push eax
push 0x200a4c68
lea eax, [ebp - 0x48]
push eax
call fcn.2007d900
add esp, 0xc
push ebx
lea eax, [ebp - 0x48]
push eax
push str.usedsec
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [esi + 0x2c4], 0
je 0x2004ec7e
cmp dword [esi + 0x19550], 0xffffffff
jne 0x2004ec7e
lea eax, [esi + 0x19528]
push eax
lea ecx, [ebp - 0x58]
call fcn.200011c0
and dword [ebp - 4], 0
mov eax, dword [esi + 0x19548]
mov ebx, dword [eax]
cmp ebx, eax
je 0x2004ec69
push 0x60
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x2004ec0c
mov ecx, eax
call fcn.2000a24a
mov edi, eax
jmp 0x2004ec0e
xor edi, edi
mov byte [ebp - 4], 0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x440]
push eax
lea ecx, [edi + 0x1c]
call fcn.20002fc3
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x1924c]
push eax
mov ecx, edi
call fcn.20002fc3
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x38], eax
lea eax, [ebx + 8]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x40]
call fcn.20002fc3
push edi
mov ecx, dword [esi + 0x2c4]
add ecx, 0x2d0
call fcn.2000af0e
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x19548]
jne 0x2004ebee
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x2004ec7e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
mov ecx, esi
call fcn.2003b0df
mov ecx, dword [esi + 0x108f4]
xor edi, edi
cmp ecx, edi
je 0x2004ecc0
mov eax, dword [ecx]
push 0x200a9c40
push edi
push edi
call dword [eax]
mov ecx, dword [esi + 0x108f4]
mov eax, dword [ecx]
push 0x200a9c34
push edi
push 1
call dword [eax]
mov ecx, dword [esi + 0x108f4]
mov eax, dword [ecx]
push 0x200a9c28
push edi
push 2
call dword [eax]
push edi
xor eax, eax
mov ax, word [esi + 0x198c8]
push eax
mov ecx, dword [esi + 0x2c4]
call fcn.2004d14a
lea ecx, [esi + 0x10b5c]
call fcn.200762bd
cmp dword [esi + 0x10a8c], edi
je 0x2004ed2e
lea eax, [esi + 0x10d0c]
cmp dword [eax + 0x18], 0x10
jb 0x2004ecfa
mov eax, dword [eax + 4]
jmp 0x2004ecfd
add eax, 4
push eax
push edi
push str.deleteasx
push str.Http
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
je 0x2004ed2e
lea eax, [esi + 0x10a78]
cmp dword [eax + 0x18], 0x10
jb 0x2004ed24
mov eax, dword [eax + 4]
jmp 0x2004ed27
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x2a0], edi
jne 0x2004ed4e
cmp dword [esi + 0x548], edi
jne 0x2004ed4e
cmp dword [esi + 0x192e4], 1
je 0x2004ed4e
mov ecx, esi
call fcn.200438f6
lea eax, [esi + 0x10d0c]
cmp dword [eax + 0x18], 0x10
jb 0x2004ed5f
mov eax, dword [eax + 4]
jmp 0x2004ed62
add eax, 4
push eax
push edi
push str.forceadplay
push str.Network
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x4c], eax
cmp eax, edi
je 0x2004eda4
push str.
mov ebx, str.stoplog
push ebx
call fcn.20076019
push str.m_PSTrafficObj.Stop__
push ebx
call fcn.20076019
push str.m_nConnectTaskID
push ebx
call fcn.20076019
add esp, 0x18
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x108a8]
or eax, dword [esi + 0x108ac]
je 0x2004edea
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108ac]
push dword [esi + 0x108a8]
call fcn.2007509c
test eax, eax
je 0x2004ede4
mov dword [esi + 0x108a8], edi
mov dword [esi + 0x108ac], edi
jmp 0x2004edaa
push 0xa
call ebx
jmp 0x2004edaa
cmp dword [ebp - 0x4c], edi
je 0x2004ee32
push str.m_nUDPConnectTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004ee32
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108a4]
push dword [esi + 0x108a0]
call fcn.2007509c
test eax, eax
je 0x2004ee2e
mov dword [esi + 0x108a0], edi
mov dword [esi + 0x108a4], edi
jmp 0x2004ee32
push 0xa
call ebx
mov eax, dword [esi + 0x108a0]
or eax, dword [esi + 0x108a4]
jne 0x2004ee02
cmp dword [ebp - 0x4c], edi
je 0x2004ee88
push str.m_nUpdateSessionTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004ee88
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108b4]
push dword [esi + 0x108b0]
call fcn.2007509c
test eax, eax
je 0x2004ee84
mov dword [esi + 0x108b0], edi
mov dword [esi + 0x108b4], edi
jmp 0x2004ee88
push 0xa
call ebx
mov eax, dword [esi + 0x108b0]
or eax, dword [esi + 0x108b4]
jne 0x2004ee58
cmp dword [ebp - 0x4c], edi
je 0x2004eede
push str.m_nUpdateHttpTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004eede
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108bc]
push dword [esi + 0x108b8]
call fcn.2007509c
test eax, eax
je 0x2004eeda
mov dword [esi + 0x108b8], edi
mov dword [esi + 0x108bc], edi
jmp 0x2004eede
push 0xa
call ebx
mov eax, dword [esi + 0x108b8]
or eax, dword [esi + 0x108bc]
jne 0x2004eeae
jmp 0x2004ef1e
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108c4]
push dword [esi + 0x108c0]
call fcn.2007509c
test eax, eax
je 0x2004ef1a
mov dword [esi + 0x108c0], edi
mov dword [esi + 0x108c4], edi
jmp 0x2004ef1e
push 0xa
call ebx
mov eax, dword [esi + 0x108c0]
or eax, dword [esi + 0x108c4]
jne 0x2004eeee
jmp 0x2004ef5e
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108cc]
push dword [esi + 0x108c8]
call fcn.2007509c
test eax, eax
je 0x2004ef5a
mov dword [esi + 0x108c8], edi
mov dword [esi + 0x108cc], edi
jmp 0x2004ef5e
push 0xa
call ebx
mov eax, dword [esi + 0x108c8]
or eax, dword [esi + 0x108cc]
jne 0x2004ef2e
cmp dword [ebp - 0x4c], edi
je 0x2004efb4
push str.m_nSecondTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004efb4
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108d4]
push dword [esi + 0x108d0]
call fcn.2007509c
test eax, eax
je 0x2004efb0
mov dword [esi + 0x108d0], edi
mov dword [esi + 0x108d4], edi
jmp 0x2004efb4
push 0xa
call ebx
mov eax, dword [esi + 0x108d0]
or eax, dword [esi + 0x108d4]
jne 0x2004ef84
cmp dword [ebp - 0x4c], edi
je 0x2004f00a
push str.m_nUpdateMsgTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004f00a
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108dc]
push dword [esi + 0x108d8]
call fcn.2007509c
test eax, eax
je 0x2004f006
mov dword [esi + 0x108d8], edi
mov dword [esi + 0x108dc], edi
jmp 0x2004f00a
push 0xa
call ebx
mov eax, dword [esi + 0x108d8]
or eax, dword [esi + 0x108dc]
jne 0x2004efda
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x10870]
cmp ecx, edi
je 0x2004f03f
call fcn.20025fbd
jmp 0x2004f03f
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4c], edi
je 0x2004f08d
push str.m_nAdFileDownloadTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004f08d
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108ec]
push dword [esi + 0x108e8]
call fcn.2007509c
test eax, eax
je 0x2004f089
mov dword [esi + 0x108e8], edi
mov dword [esi + 0x108ec], edi
jmp 0x2004f08d
push 0xa
call ebx
mov eax, dword [esi + 0x108e8]
or eax, dword [esi + 0x108ec]
jne 0x2004f05d
cmp dword [ebp - 0x4c], edi
je 0x2004f0e3
push str.m_nReadStreamSourceTaskID
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
jmp 0x2004f0e3
mov ecx, dword [esi + 0x2c4]
add ecx, 0x48
push dword [esi + 0x108e4]
push dword [esi + 0x108e0]
call fcn.2007509c
test eax, eax
je 0x2004f0df
mov dword [esi + 0x108e0], edi
mov dword [esi + 0x108e4], edi
jmp 0x2004f0e3
push 0xa
call ebx
mov eax, dword [esi + 0x108e0]
or eax, dword [esi + 0x108e4]
jne 0x2004f0b3
mov dword [ebp - 4], 4
lea ecx, [esi + 0x19830]
call fcn.200631f8
jmp 0x2004f10e
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
je 0x2004f12a
push 0x200a9b14
push str.stoplog
call fcn.20076019
pop ecx
pop ecx
cmp dword [esi + 0x108f0], ebx
je 0x2004f17f
mov edi, 0x200a4a9c
push edi
lea ecx, [esi + 0x10a78]
call fcn.20003a20
push edi
lea ecx, [esi + 0x10a94]
call fcn.20003a20
mov ecx, dword [esi + 0x108f0]
call fcn.200773dd
test eax, eax
je 0x2004f169
mov ecx, dword [esi + 0x108f0]
call fcn.20077656
mov ecx, dword [esi + 0x108f0]
cmp ecx, ebx
je 0x2004f179
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108f0], ebx
mov ecx, esi
call fcn.2004e5c6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.2007c9ae
leave
ret