Function at 0x20042e81
Capabilities:
Create directory
Read .ini file

Disassembly:
mov eax, 0x2009ed09
call fcn.2007d394
mov eax, 0x1240
call fcn.2007eb40
mov eax, dword [0x200cc84c]
push ebx
push esi
xor eax, ebp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, str.true
jne 0x20042eb5
mov eax, str.false
push dword [esi + 0x192f4]
push eax
push str.XHttp_GetHttpURL__s___m_iInsideplaymode_d_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
mov eax, dword [esi + 0x19750]
add esp, 0x10
cmp eax, 3
je 0x2004350b
cmp eax, 4
je 0x2004350b
mov ecx, esi
call fcn.2003ae46
mov ebx, eax
cmp bx, di
jne 0x20042f12
mov ecx, dword [esi + 0x108f4]
cmp ecx, edi
je 0x20042f0b
mov eax, dword [ecx]
push 0x200a94f0
push 5
call dword [eax + 4]
xor eax, eax
jmp 0x2004351f
push edi
lea ecx, [ebp - 0x1170]
mov dword [ebp - 0x122c], edi
mov dword [ebp - 0x1158], 0xf
call fcn.20001bc0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x1170]
push eax
lea eax, [ebp - 0x122c]
push eax
lea ecx, [esi + 0x688]
call fcn.2001ccc3
test eax, eax
je 0x200434ac
lea eax, [esi + 0x10a5c]
push eax
lea ecx, [ebp - 0x118c]
call fcn.20003892
mov byte [ebp - 4], 1
cmp dword [ebp + 8], edi
je 0x20042fa9
cmp dword [esi + 0x192f4], 2
jne 0x20042fa9
cmp dword [esi + 0x194e8], edi
je 0x20042fa9
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x194d4]
push edi
lea ecx, [esi + 0x10a78]
call fcn.20002fc3
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x10a94]
call fcn.20002fc3
jmp 0x20043457
push str.localhost
lea ecx, [ebp - 0x118c]
call fcn.20001d33
test eax, eax
je 0x20042fe0
mov edi, dword [esi + 0x191d4]
lea eax, [ebp - 0x118c]
push eax
lea eax, [ebp - 0x1228]
push eax
lea ecx, [esi + 0x191d0]
call fcn.2001304d
cmp dword [eax], edi
jne 0x20042ff0
push str.127.0.0.1
lea ecx, [ebp - 0x118c]
call fcn.20003a20
cmp dword [ebp - 0x1158], 0x10
mov eax, dword [ebp - 0x116c]
jae 0x20043005
lea eax, [ebp - 0x116c]
cmp dword [ebp - 0x1174], 0x10
mov edi, dword [ebp - 0x1188]
jae 0x2004301a
lea edi, [ebp - 0x1188]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
and eax, 0xfff
push eax
push dword [ebp - 0x122c]
movzx eax, bx
push eax
push edi
lea eax, [ebp - 0x934]
push str.http:___s:_d_ps__d__d__s
push eax
call fcn.2007d900
mov eax, dword [esi + 0x19750]
add esp, 0x1c
cmp eax, 3
je 0x20043072
cmp eax, 4
jne 0x20043072
lea eax, [ebp - 0x934]
push str.http:__127.0.0.1:18080
push eax
call fcn.2007f120
pop ecx
pop ecx
lea eax, [ebp - 0x934]
lea ecx, [esi + 0x10a78]
push eax
call fcn.20003a20
lea eax, [ebp - 0x934]
push eax
lea ecx, [esi + 0x10a94]
call fcn.20003a20
lea eax, [ebp - 0x934]
push eax
push str.XHttp_GetHttpUrl__m_strASFHttpURL_s_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x200430ca
mov eax, dword [esi + 0x192f4]
cmp eax, 1
je 0x200430ca
cmp eax, ebx
jne 0x20043457
push str.XHttp_GetHttpURL_bNeedWriteAsxtrue_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
mov eax, dword [esi + 0x192f4]
xor edi, edi
inc edi
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x1228], ebx
jne 0x200430f8
cmp dword [ebp + 8], ebx
jne 0x2004318e
cmp dword [esi + 0x192f8], edi
jne 0x2004312b
cmp dword [ebp + 8], ebx
jne 0x2004312b
mov ecx, str.false
push dword [esi + 0x192f8]
push ecx
push eax
push str.XHttp_m_iInsideplaymode_d__bInsideMode_s__m_iOutsizeplaymode_d_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
mov dword [ebp - 0x1228], edi
push ebx
lea ecx, [ebp - 0x11d8]
call fcn.200162c7
mov byte [ebp - 4], 2
call fcn.2005ed9d
push eax
lea ecx, [ebp - 0x1138]
call fcn.20003c27
mov byte [ebp - 4], 3
push str.http
lea ecx, [ebp - 0x1138]
call fcn.20008f58
cmp dword [ebp - 0x1120], 0x10
mov eax, dword [ebp - 0x1134]
jae 0x20043175
lea eax, [ebp - 0x1134]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [esi + 0x10d24], 0x10
jb 0x20043198
mov eax, dword [esi + 0x10d10]
jmp 0x2004319e
mov ecx, str.true
jmp 0x2004310a
lea eax, [esi + 0x10d10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
xor edi, edi
push edi
push str.share
push str.Http
call ebx
cmp eax, edi
je 0x200431f1
cmp dword [esi + 0x10ac4], edi
je 0x200431f1
lea edi, [esi + 0x10ab0]
cmp dword [edi + 0x18], 0x10
jb 0x200431d1
mov eax, dword [edi + 4]
jmp 0x200431d4
lea eax, [edi + 4]
push eax
call fcn.20015ee4
test eax, eax
pop ecx
je 0x200431ef
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x1138]
call fcn.20002fc3
xor edi, edi
lea eax, [ebp - 0x1170]
push eax
lea ecx, [ebp - 0x1154]
call fcn.20003892
mov byte [ebp - 4], 4
push edi
push str..asf
lea ecx, [ebp - 0x1154]
call fcn.20001f68
cmp eax, edi
jge 0x2004322f
push edi
push str..wmv
lea ecx, [ebp - 0x1154]
call fcn.20001f68
cmp eax, edi
jle 0x2004326a
push eax
push edi
lea eax, [ebp - 0x124c]
push eax
lea ecx, [ebp - 0x1154]
call fcn.200039ea
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x1154]
call fcn.20002fc3
mov byte [ebp - 4], 4
push edi
push 1
lea ecx, [ebp - 0x124c]
call fcn.2000275e
cmp dword [esi + 0x10d24], 0x10
jb 0x2004327b
mov eax, dword [esi + 0x10d10]
jmp 0x20043281
lea eax, [esi + 0x10d10]
push eax
push edi
push str.deleteasx
push str.Http
call ebx
cmp eax, edi
je 0x200432d7
cmp dword [ebp - 0x1120], 0x10
mov eax, dword [ebp - 0x1134]
jae 0x200432a8
lea eax, [ebp - 0x1134]
push eax
lea ecx, [ebp - 0x1224]
call fcn.200162c7
mov byte [ebp - 4], 6
push str..asx
lea ecx, [ebp - 0x1224]
call fcn.20016852
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1224]
call fcn.200166a0
lea eax, [esi + 0x3b4]
cmp dword [eax + 0x18], 0x10
jb 0x200432e8
mov eax, dword [eax + 4]
jmp 0x200432eb
add eax, 4
cmp dword [ebp - 0x1120], 0x10
mov ecx, dword [ebp - 0x1134]
jae 0x20043300
lea ecx, [ebp - 0x1134]
push eax
push ecx
lea eax, [ebp - 0x114]
push str._s_s.asx
push eax
call fcn.2007d900
add esp, 0x10
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1138]
call fcn.20003a20
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11d8]
call fcn.20016852
push 1
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11d8]
call fcn.200166f6
test eax, eax
je 0x20043424
lea ebx, [esi + 0x10a78]
cmp dword [ebx + 0x18], 0x10
jb 0x20043367
mov edx, dword [ebx + 4]
jmp 0x2004336a
lea edx, [ebx + 4]
cmp dword [ebp - 0x113c], 0x10
mov eax, dword [ebp - 0x1150]
jb 0x20043381
mov dword [ebp - 0x1230], eax
jmp 0x2004338d
lea ecx, [ebp - 0x1150]
mov dword [ebp - 0x1230], ecx
cmp dword [ebp - 0x113c], 0x10
mov ecx, eax
jae 0x200433a0
lea ecx, [ebp - 0x1150]
mov eax, ecx
push edx
push dword [ebp - 0x1230]
push ecx
push eax
lea eax, [ebp - 0x111c]
push str._ASX_Version___3.0___Entry__Title__s__Title__author__s__author__Copyright__s__Copyright__MoreInfo_href___http:__www.ppStream.com__PPStream__MoreInfo__Ref_href____s_____Entry___ASX_
push eax
call fcn.2007d900
add esp, 0x18
push edi
lea ecx, [ebp - 0x11d8]
call fcn.20015f08
lea eax, [ebp - 0x111c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x111c]
push eax
lea ecx, [ebp - 0x11d8]
call fcn.200160a7
cmp dword [ebp - 0x1228], edi
je 0x20043419
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.20003a20
lea eax, [ebp - 0x114]
push eax
push str.XHttp_m_strHttpURL_s_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0xc
lea ecx, [ebp - 0x11d8]
call fcn.200164a6
mov byte [ebp - 4], 3
push edi
push 1
lea ecx, [ebp - 0x1154]
call fcn.2000275e
mov byte [ebp - 4], 2
push edi
push 1
lea ecx, [ebp - 0x1138]
call fcn.2000275e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11d8]
call fcn.200166a0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [esi + 0x3b4]
lea edi, [esi + 0x10acc]
push eax
mov ecx, edi
call fcn.20002fc3
push 0x200a92ec
mov ecx, edi
call fcn.20008f58
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x3ec]
push eax
mov ecx, edi
call fcn.20008e33
mov eax, dword [ebp - 0x122c]
mov dword [esi + 0x10b08], eax
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x118c]
call fcn.2000275e
jmp 0x200434d0
mov edi, 0x200a4a9c
push edi
lea ecx, [esi + 0x10a78]
call fcn.20003a20
push edi
lea ecx, [esi + 0x10acc]
call fcn.20003a20
and dword [esi + 0x10b08], 0
mov eax, dword [esi + 0x19750]
cmp eax, 3
je 0x200434de
cmp eax, 4
lea eax, [esi + 0x10a94]
cmp dword [eax + 0x18], 0x10
jb 0x200434ef
mov eax, dword [eax + 4]
jmp 0x200434f2
add eax, 4
mov esi, eax
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x1170]
call fcn.2000275e
mov eax, esi
jmp 0x2004351f
lea eax, [esi + 0x10a94]
cmp dword [eax + 0x18], 0x10
jb 0x2004351c
mov eax, dword [eax + 4]
jmp 0x2004351f
add eax, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.2007c9ae
leave
ret 4