Function at 0x4ab80c
Capabilities:
Read .ini file

Disassembly:
push 0x764
mov eax, 0x500ad0
call fcn.004e336a
call fcn.004303ca
test al, al
jne 0x4abae3
mov eax, dword [0x542750]
mov dword [ebp - 0x758], eax
push str.Channel.ini
push 0x547f70
lea eax, [ebp - 0x758]
xor ebx, ebx
push 0x50de04
push eax
mov dword [ebp - 4], ebx
call fcn.0040301c
mov eax, dword [0x542750]
add esp, 0x10
mov dword [ebp - 0x754], eax
mov esi, 0x104
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0x754]
call fcn.00402b10
push dword [ebp - 0x758]
push esi
push eax
push 0x50e6f0
push str.oldversion
push 0x520f64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
lea ecx, [ebp - 0x754]
call fcn.00402cbc
mov eax, dword [ebp - 0x754]
lea ecx, [ebp - 0x754]
cmp dword [eax - 8], ebx
jle 0x4ab8b7
push 0x50e100
jmp 0x4ab8bc
push 0x50f298
call fcn.004028a2
push esi
lea eax, [ebp - 0x720]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x720]
lea ecx, [ebp - 0x764]
call fcn.004ac469
push ebx
call fcn.004d96a8
pop ecx
mov ecx, dword [0x542750]
mov esi, eax
mov dword [ebp - 0x76c], esi
mov dword [ebp - 0x768], ecx
lea ecx, [ebp - 0x760]
mov byte [ebp - 4], 3
call fcn.004322f9
push str.DQJlHJZ1qvaAGvsl4efbGDYQ4lhWTF45
push esi
mov byte [ebp - 4], 4
mov edi, 0x5478e8
push dword [ebp - 0x754]
push dword [ebp - 0x764]
push dword [eax]
lea eax, [ebp - 0x768]
push edi
push str._s_s_s_s_ld_s
push eax
call fcn.0040301c
add esp, 0x20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x760]
call fcn.00403030
push 0x3ff
lea eax, [ebp - 0x517]
mov byte [ebp - 0x518], bl
push ebx
push eax
call fcn.004db6f0
mov eax, dword [ebp - 0x768]
lea ecx, [ebp - 0x518]
add esp, 0xc
push ebx
push ebx
push 0x400
push ecx
push dword [eax - 8]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x103
lea eax, [ebp - 0x117]
mov byte [ebp - 0x118], bl
push ebx
push eax
call fcn.004db6f0
lea edx, [ebp - 0x518]
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4ab9ab
lea eax, [ebp - 0x118]
sub edx, ecx
push eax
lea ecx, [ebp - 0x518]
call fcn.00404d57
mov eax, dword [0x542750]
pop ecx
mov dword [ebp - 0x760], eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 5
push eax
call fcn.004d6c45
mov dword [ebp - 0x770], eax
pop ecx
test eax, eax
je 0x4aba06
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ab9f2
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4aba0a
mov esi, ebx
jmp 0x4aba24
lea eax, [esi + esi]
call fcn.004dfec0
mov edx, dword [ebp - 0x770]
mov ecx, esp
push 3
push esi
call fcn.00404c22
mov esi, eax
lea ecx, [ebp - 0x75c]
call fcn.004322f9
push esi
push dword [ebp - 0x76c]
mov byte [ebp - 4], 6
push dword [ebp - 0x754]
push dword [ebp - 0x764]
push dword [eax]
lea eax, [ebp - 0x760]
push edi
push str.http:__cusbox.6wan.com_Home_Count_install_channel_suid_sversion_sold_version_stime_ldsign_s
push eax
call fcn.0040301c
add esp, 0x20
lea ecx, [ebp - 0x75c]
call fcn.00403030
mov dword [ebp - 0x724], 0xf
mov dword [ebp - 0x728], ebx
mov byte [ebp - 0x738], bl
mov byte [ebp - 4], 7
lea edx, [ebp - 0x738]
mov ecx, dword [ebp - 0x760]
push 0x7530
call fcn.00413676
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x738]
call fcn.00406ae3
lea ecx, [ebp - 0x760]
call fcn.00403030
lea ecx, [ebp - 0x768]
call fcn.00403030
lea ecx, [ebp - 0x764]
call fcn.00403030
lea ecx, [ebp - 0x754]
call fcn.00403030
lea ecx, [ebp - 0x758]
call fcn.00403030
jmp 0x4abd39
xor ebx, ebx
lea ecx, [ebp - 0x730]
push ebx
call fcn.004bc970
lea eax, [ebp - 0x730]
mov dword [ebp - 4], 8
push eax
mov edx, str.Install
mov ecx, str.doc_type
call fcn.0041137c
pop ecx
mov edi, 0x5478e8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4abb19
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4abb37
mov eax, ebx
jmp 0x4abb4c
add esi, esi
mov eax, esi
call fcn.004dfec0
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.00404eea
lea ecx, [ebp - 0x730]
mov edx, eax
push ecx
mov ecx, str.channel
call fcn.0041137c
pop ecx
lea ecx, [ebp - 0x75c]
call fcn.004322f9
mov byte [ebp - 4], 9
mov edi, dword [eax]
test edi, edi
je 0x4abb94
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4abb7a
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4abb98
mov eax, ebx
jmp 0x4abbad
add esi, esi
mov eax, esi
call fcn.004dfec0
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.00404eea
lea ecx, [ebp - 0x730]
mov edx, eax
push ecx
mov ecx, 0x52a91c
call fcn.0041137c
pop ecx
lea ecx, [ebp - 0x75c]
call fcn.00403030
mov eax, dword [0x542750]
mov dword [ebp - 0x758], eax
push str.Channel.ini
push 0x547f70
lea eax, [ebp - 0x758]
mov byte [ebp - 4], 0xa
push 0x50de04
push eax
call fcn.0040301c
mov eax, dword [0x542750]
add esp, 0x10
mov dword [ebp - 0x754], eax
mov esi, 0x104
mov byte [ebp - 4], 0xb
push esi
lea ecx, [ebp - 0x754]
call fcn.00402b10
push dword [ebp - 0x758]
push esi
push eax
push 0x50e6f0
push str.oldversion
push 0x520f64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
lea ecx, [ebp - 0x754]
call fcn.00402cbc
mov esi, dword [ebp - 0x754]
mov eax, dword [esi - 8]
cmp eax, 2
jle 0x4abc89
dec eax
lea ecx, [ebp - 0x754]
push eax
lea eax, [ebp - 0x75c]
push eax
call fcn.0040fb27
push eax
lea ecx, [ebp - 0x754]
mov byte [ebp - 4], 0xc
call fcn.00402a9f
lea ecx, [ebp - 0x75c]
mov byte [ebp - 4], 0xb
call fcn.00403030
mov esi, dword [ebp - 0x754]
test esi, esi
je 0x4abcac
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4abc92
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x4abcb0
mov eax, ebx
jmp 0x4abcc5
add edi, edi
mov eax, edi
call fcn.004dfec0
mov ecx, esp
mov edx, esi
push 3
push edi
call fcn.00404eea
lea ecx, [ebp - 0x730]
mov edx, eax
push ecx
mov ecx, str.old_version
call fcn.0041137c
pop ecx
lea edx, [ebp - 0x730]
lea ecx, [ebp - 0x750]
call fcn.004113df
cmp dword [ebp - 0x73c], 0x10
lea eax, [ebp - 0x750]
cmovae eax, dword [ebp - 0x750]
push eax
call dword [sym.imp.Http.dll_PostDocs]
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x750]
call fcn.00406ae3
lea ecx, [ebp - 0x754]
call fcn.00403030
lea ecx, [ebp - 0x758]
call fcn.00403030
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x730]
call fcn.004bcaa0
lea esp, [ebp - 0x780]
call fcn.004e3319
ret