Function at 0x20079175
Capabilities:
Check for time delay via gettickcount
Read .ini file

Disassembly:
mov eax, 0x200a2edf
call fcn.2007d394
push ecx
mov eax, 0x4454
call fcn.2007eb40
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 - 0x4380], esi
xor ebx, ebx
cmp dword [esi + 0x81b8], ebx
je 0x2007a839
cmp dword [esi + 0xa8], ebx
jne 0x2007a841
lea edi, [esi + 0x38]
push 0x200abb58
mov ecx, edi
call fcn.20001d33
test eax, eax
je 0x200791e3
push str.POST
mov ecx, edi
call fcn.20001d33
test eax, eax
jne 0x2007a839
cmp dword [esi + 0xf4], ebx
je 0x2007a839
cmp dword [esi + 0xfc], ebx
je 0x2007a839
cmp byte [esi + 0x14], 0
je 0x20079227
cmp dword [esi + 0x82b4], 9
jb 0x20079227
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x8220]
add ecx, 0x2710
cmp eax, ecx
jbe 0x20079227
mov ecx, esi
call fcn.20079100
mov ecx, esi
call fcn.20077963
lea edi, [esi + 0x18]
mov dword [ebp - 0x4368], edi
inc dword [edi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x81b4], ebx
jne 0x20079738
mov eax, dword [esi + 0x82d4]
cmp eax, ebx
je 0x2007955d
mov eax, dword [eax + 0xcc]
cmp eax, ebx
je 0x2007955d
mov ecx, dword [esi + 0x8290]
cmp ecx, ebx
jne 0x20079275
mov ecx, esi
push ecx
push dword [esi + 0xfc]
lea ecx, [eax + 0x688]
call fcn.2001c91a
mov ebx, eax
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
mov edi, 0x688
add ecx, edi
call fcn.2001bb16
mov dword [ebp - 0x438c], eax
test eax, eax
je 0x20079482
mov ecx, eax
call fcn.2001a280
test eax, eax
je 0x20079482
push ebx
push dword [esi + 0x826c]
push esi
push str.XHttp___p__GetProgramFirstBlock__u__u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
mov dword [eax + 0x6c8], ebx
and dword [esi + 0x8228], 0
and dword [esi + 0x822c], 0
xor ebx, ebx
cmp dword [esi + 0x8184], ebx
jne 0x20079338
lea eax, [esi + 0x180]
push eax
push dword [esi + 0xfc]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001cb61
test eax, eax
je 0x20079fe4
cmp dword [esi + 0x8184], ebx
je 0x20079fe4
lea edi, [esi + 0x184]
cmp byte [edi], 0
je 0x20079fe4
lea ecx, [ebp - 0x4354]
call fcn.2000ba50
mov dword [ebp - 4], ebx
push dword [esi + 0x8184]
push edi
lea ecx, [ebp - 0x4354]
call fcn.2000bc40
test eax, eax
je 0x200793ce
mov eax, dword [ebp - 0x4304]
mov dword [esi + 0x81bc], eax
mov eax, dword [ebp - 0x42cc]
mov dword [esi + 0x81e0], eax
mov eax, dword [ebp - 0x42d0]
mov dword [esi + 0x81dc], eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x42ec]
push eax
lea ecx, [esi + 0x81c0]
call fcn.20002fc3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x42c8]
push eax
lea ecx, [esi + 0x81e4]
call fcn.20002fc3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4290]
push eax
lea ecx, [esi + 0x8200]
call fcn.20002fc3
push dword [esi + 0x8184]
push edi
lea ecx, [ebp - 0x4448]
call fcn.200030b0
mov byte [ebp - 4], 1
push 0x4000
lea eax, [ebp - 0x4014]
push eax
lea ecx, [ebp - 0x4464]
call fcn.200030b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4464]
push eax
lea eax, [ebp - 0x4448]
push eax
lea ecx, [ebp - 0x4354]
call fcn.2000d6a0
test eax, eax
je 0x200796cd
mov eax, dword [ebp - 0x4344]
add eax, 0x32
mov ecx, dword [esi + 0x8184]
cmp eax, ecx
jge 0x20079567
push eax
push dword [esi + 0x8188]
push esi
push str.XHttp___p_
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
mov ecx, dword [ebp - 0x4344]
add ecx, 0x32
push ecx
lea ecx, [ebp - 0x4014]
push ecx
cmp dword [esi + 0x82b4], 9
jae 0x200795ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0x81b4], eax
jmp 0x200795e2
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x2007948e
mov eax, esi
push 1
push eax
push ebx
push dword [esi + 0x826c]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bdcc
push 1
push dword [esi + 0xfc]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001b875
mov dword [ebp - 0x43bc], eax
cmp dword [esi + 0x8290], 0
jne 0x200794e2
cmp dword [esi + 0x8278], 1
jbe 0x200792fa
mov edi, dword [ebp - 0x4368]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
mov eax, dword [ebp - 0x43bc]
cmp eax, dword [esi + 0xfc]
jbe 0x20079526
push dword [ebp - 0x438c]
push ebx
push str.XHttp
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x2007a8a9
lea eax, [esi + 0x82bc]
cmp byte [eax], 0
jne 0x2007954e
mov byte [eax], 1
push dword [ebp - 0x438c]
push ebx
push 0x200ac1dc
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
mov dword [esi + 0x8268], 0x64
jmp 0x2007a8a9
mov edi, 0x688
jmp 0x200792fc
push ecx
push dword [esi + 0x8188]
push esi
push 0x200ac19c
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
cmp dword [esi + 0x82b4], 9
jae 0x2007959d
push dword [esi + 0x8184]
lea ecx, [ebp - 0x4014]
push ecx
jmp 0x20079470
xor ecx, ecx
mov cx, word [esi + 0x8184]
push ecx
lea ecx, [ebp - 0x4014]
push ecx
mov eax, dword [esi + 0xfc]
push dword [esi + 0x81bc]
push eax
mov dword [esi + 0x826c], eax
mov dword [esi + 0x81b4], 1
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, 0x19754
call fcn.200274d8
mov ecx, esi
call fcn.20077963
cmp dword [esi + 0x81b4], ebx
je 0x200796c1
mov eax, dword [ebp - 0x42fc]
cmp eax, 0x2710
jb 0x20079615
cmp eax, 0x2dc6c0
ja 0x20079615
lea eax, [eax + eax*4]
xor edx, edx
push 3
pop ecx
div ecx
jmp 0x20079618
or eax, 0xffffffff
push ebx
push 5
push eax
lea ecx, [esi + 0x82d8]
call fcn.20073221
mov eax, dword [esi + 0x8188]
mov dword [esi + 0x826c], eax
mov eax, dword [esi + 0x8190]
mov dword [esi + 0x8270], eax
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
mov ecx, dword [esi + 0x8184]
mov dword [eax + 0x8750], ecx
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
mov ecx, dword [esi + 0x826c]
mov dword [eax + 0x8758], ecx
xor edi, edi
inc edi
push edi
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
call fcn.2003b939
push 0x200a6b94
push ebx
push str.rppts
push str.Http
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x8230], eax
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
mov eax, dword [eax + 0x19820]
cmp eax, 0xffffffff
je 0x200796c1
cmp eax, edi
jne 0x200796c1
mov dword [esi + 0x8230], edi
mov dword [esi + 0x8268], 0x64
jmp 0x20079706
push str.XHttp_Header
call fcn.2002eb98
push eax
call fcn.2002ebe0
pop ecx
pop ecx
push dword [esi + 0xfc]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
call fcn.2003b92e
cmp dword [esi + 0x82b4], 9
jb 0x20079706
mov ecx, esi
call fcn.20079100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4464]
call fcn.200030f4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4448]
call fcn.200030f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4354]
call fcn.2000bb50
jmp 0x20079fe4
cmp dword [esi + 0x8290], ebx
jne 0x2007975c
cmp dword [esi + 0x82b4], 9
jb 0x2007975c
mov byte [esi + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
jmp 0x2007a8a9
lea edi, [esi + 0x82d8]
push ebx
mov ecx, edi
call fcn.20073751
push ebx
mov ecx, edi
call fcn.2007384f
mov ecx, edi
call fcn.20073b49
cmp eax, ebx
je 0x20079fe4
mov ebx, dword [esi + 0x8224]
mov dword [ebp - 0x4360], ebx
test ebx, ebx
jne 0x200798ca
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x200797a1
mov eax, esi
push eax
push dword [esi + 0x826c]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
mov edi, 0x688
add ecx, edi
call fcn.2001c91a
mov ebx, eax
mov dword [ebp - 0x4360], ebx
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bb16
test eax, eax
je 0x200797eb
mov ecx, eax
call fcn.2001a280
test eax, eax
jne 0x20079847
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x200797f7
mov eax, esi
push 1
push eax
push ebx
push dword [esi + 0x826c]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bdcc
mov ebx, eax
mov dword [ebp - 0x4360], ebx
test ebx, ebx
je 0x20079a7b
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bb16
test eax, eax
je 0x20079887
mov ecx, eax
call fcn.2001a280
test eax, eax
je 0x20079887
push ebx
push dword [esi + 0x826c]
push esi
push str.XHttp___p__GetProgramFirstBlock__u__u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
mov dword [eax + 0x6c8], ebx
and dword [esi + 0x8228], 0
and dword [esi + 0x822c], 0
jmp 0x20079a58
mov edi, dword [ebp - 0x4368]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
lea eax, [esi + 0x8268]
add dword [eax], 0xc8
cmp dword [eax], 0xbb8
jle 0x200798b1
mov dword [eax], 0x3e8
push esi
push 0x200ac148
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0xc
jmp 0x2007a8a9
cmp dword [esi + 0x8284], ebx
je 0x200798f7
cmp ebx, 0xffffffff
je 0x200798e0
cmp dword [esi + 0x8228], 0xffffffff
je 0x200798f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x8288]
cmp eax, 0xea60
jbe 0x20079a53
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
mov edi, 0x688
add ecx, edi
call fcn.2001bb16
mov dword [ebp - 0x4384], eax
test eax, eax
je 0x20079952
mov ecx, eax
call fcn.2001a280
test eax, eax
je 0x20079952
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x20079931
mov eax, esi
push 0
push eax
push ebx
push dword [esi + 0x8188]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bdcc
mov ebx, eax
jmp 0x200799c4
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x2007995e
mov eax, esi
push 1
push eax
push ebx
push dword [esi + 0x8188]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bdcc
mov dword [ebp - 0x43a4], eax
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bb16
test eax, eax
je 0x200799ca
mov ecx, eax
call fcn.2001a280
test eax, eax
je 0x200799ca
push dword [ebp - 0x43a4]
push ebx
push 0x200ac110
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
mov ebx, dword [ebp - 0x43a4]
mov dword [ebp - 0x4360], ebx
mov eax, dword [esi + 0x8224]
cmp ebx, eax
jbe 0x20079a10
push ebx
push eax
push dword [esi + 0x8188]
push esi
push str.XHttp___p__GetProgramNextBlock__u__u__u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
mov dword [esi + 0x8224], ebx
and dword [esi + 0x8228], 0
and dword [esi + 0x822c], 0
mov dword [esi + 0x8268], 0x96
jmp 0x20079a58
test ebx, ebx
je 0x20079a2f
lea eax, [esi + 0x8268]
add dword [eax], 0x12c
mov edx, dword [eax]
mov ecx, 0x5dc
cmp edx, ecx
jl 0x20079a58
mov dword [eax], ecx
jmp 0x20079a58
cmp dword [ebp - 0x4384], 0
je 0x20079a7b
mov ecx, dword [ebp - 0x4384]
call fcn.2001a280
test eax, eax
je 0x20079a7b
mov dword [esi + 0x8268], 0x3e8
jmp 0x20079a58
mov edi, 0x688
test ebx, ebx
je 0x20079a7b
cmp dword [esi + 0x8284], ebx
je 0x20079a7b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x8288]
cmp eax, 0xea60
jbe 0x20079ff9
push 0
push dword [esi + 0x826c]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001b875
mov dword [ebp - 0x4378], eax
test eax, eax
je 0x20079fb2
mov eax, dword [esi + 0x826c]
cmp dword [ebp - 0x4378], eax
je 0x20079fb2
push dword [esi + 0x825c]
push eax
mov ebx, dword [ebp - 0x4378]
push ebx
push esi
push str.XHttp___p__dwCurH_u__m_dwSendHeaderTime_u__m_wDuration_u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001b9b0
cmp dword [esi + 0x8270], eax
jne 0x20079f34
mov eax, dword [esi + 0x82d4]
add eax, 0xcc
mov ecx, dword [eax]
cmp dword [ecx + 0x19500], 0
jne 0x20079f34
cmp dword [esi + 0x825c], 0
je 0x20079f34
mov dword [esi + 0xfc], ebx
lea ecx, [esi + 0x180]
push ecx
push ebx
mov ecx, dword [eax]
add ecx, edi
call fcn.2001cb61
test eax, eax
jne 0x20079bd1
lea eax, [esi + 0x8278]
cmp dword [eax], 1
jne 0x20079b5f
push 0
push eax
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001dc2a
mov edi, dword [ebp - 0x4368]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
cmp dword [esi + 0x82b4], 9
jb 0x20079bac
push ebx
push dword [esi + 0x826c]
push dword [esi + 0x8290]
push esi
push str.XHttp___p__HttpPlayerClientId_u__EndOfStream_HeaderTime:_u__u___r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
mov ecx, esi
call fcn.20077963
mov ecx, esi
call fcn.20079100
jmp 0x2007a8a9
push dword [esi + 0xfc]
push dword [esi + 0x826c]
push esi
push 0x200ac010
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
jmp 0x2007951a
lea ecx, [ebp - 0x41b4]
call fcn.2000ba50
mov dword [ebp - 4], 3
lea ecx, [esi + 0x81c0]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x414c]
push eax
call fcn.20002fc3
lea ecx, [esi + 0x81e4]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4128]
push eax
call fcn.20002fc3
lea ebx, [esi + 0x8200]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40f0]
push eax
mov ecx, ebx
call fcn.20002fc3
push dword [esi + 0x8184]
lea eax, [esi + 0x184]
push eax
lea ecx, [ebp - 0x41b4]
call fcn.2000bc40
test eax, eax
je 0x20079dcf
mov eax, dword [esi + 0x81bc]
cmp eax, dword [ebp - 0x4164]
jne 0x20079dcf
mov eax, dword [esi + 0x81e0]
cmp eax, dword [ebp - 0x412c]
jne 0x20079dcf
mov eax, dword [esi + 0x81dc]
cmp eax, dword [ebp - 0x4130]
jne 0x20079dcf
lea eax, [ebp - 0x414c]
push eax
lea ecx, [esi + 0x81c0]
call fcn.2000176e
test eax, eax
jne 0x20079dcf
lea eax, [ebp - 0x4128]
push eax
lea ecx, [esi + 0x81e4]
call fcn.2000176e
test eax, eax
jne 0x20079dcf
lea eax, [ebp - 0x40f0]
push eax
mov ecx, ebx
call fcn.2000176e
test eax, eax
jne 0x20079dcf
cmp dword [esi + 0x8290], eax
jne 0x20079dcf
cmp dword [esi + 0x82b4], 9
jae 0x20079dcf
mov dword [esi + 0x8224], eax
mov dword [esi + 0x8220], eax
mov dword [esi + 0x8280], eax
mov dword [esi + 0x825c], eax
lea ebx, [esi + 0x8188]
push esi
push dword [ebx]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001c91a
mov ebx, dword [ebx]
mov dword [esi + 0x826c], ebx
mov eax, dword [esi + 0x8190]
mov dword [esi + 0x8270], eax
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
mov dword [eax + 0x8758], ebx
mov eax, dword [esi + 0x82d4]
mov eax, dword [eax + 0xcc]
and dword [eax + 0x8750], 0
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x20079d59
mov eax, esi
lea ebx, [esi + 0x8278]
push eax
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001dc2a
mov dword [ebp - 0x43c0], eax
cmp dword [ebx], 1
jne 0x20079d95
push 0
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001dc2a
push dword [ebp - 0x43c0]
push dword [esi + 0x826c]
push dword [ebp - 0x4378]
push esi
push str.XHttp___p__dwCurH_u__m_dwSendHeaderTime_u__headerTime_u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41b4]
call fcn.2000bb50
jmp 0x2007a8a9
lea eax, [esi + 0x8278]
cmp dword [eax], 1
jne 0x20079df0
push 0
push eax
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001dc2a
mov edi, dword [ebp - 0x4368]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
push 0x10
pop edi
cmp dword [ebp - 0x40d8], edi
mov eax, dword [ebp - 0x40ec]
jae 0x20079e17
lea eax, [ebp - 0x40ec]
mov dword [ebp - 0x43a0], eax
cmp dword [ebx + 0x18], edi
jb 0x20079e27
mov ebx, dword [ebx + 4]
jmp 0x20079e2a
add ebx, 4
cmp dword [ebp - 0x4110], edi
mov eax, dword [ebp - 0x4124]
jae 0x20079e3e
lea eax, [ebp - 0x4124]
mov dword [ebp - 0x43a8], eax
lea eax, [esi + 0x81e4]
cmp dword [eax + 0x18], edi
jb 0x20079e54
mov ecx, dword [eax + 4]
jmp 0x20079e57
lea ecx, [eax + 4]
cmp dword [ebp - 0x4134], edi
mov edx, dword [ebp - 0x4148]
jae 0x20079e6b
lea edx, [ebp - 0x4148]
lea eax, [esi + 0x81c0]
cmp dword [eax + 0x18], edi
jb 0x20079e7b
mov eax, dword [eax + 4]
jmp 0x20079e7e
add eax, 4
push dword [ebp - 0x43a0]
push ebx
push dword [ebp - 0x43a8]
push ecx
push edx
push eax
push dword [ebp - 0x4130]
push dword [esi + 0x81dc]
push dword [ebp - 0x412c]
push dword [esi + 0x81e0]
push dword [ebp - 0x4164]
push dword [esi + 0x81bc]
push dword [esi + 0xfc]
push esi
push str.XHttp___p__r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x40
cmp dword [esi + 0x82b4], 9
jb 0x20079f0e
push dword [ebp - 0x4378]
push dword [esi + 0x826c]
push dword [esi + 0x8290]
push esi
push str.XHttp___p__HttpPlayerClientId_u__EndOfStream_HeaderTime:_u__u___r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
mov ecx, esi
call fcn.20077963
mov ecx, esi
call fcn.20079100
jmp 0x20079dbb
push dword [esi + 0x826c]
push esi
push 0x200abe9c
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x20079dbb
mov ebx, dword [ebp - 0x4368]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [ebx + 0x18]
push dword [ebp - 0x4378]
push dword [esi + 0x826c]
push dword [esi + 0x8290]
push esi
push str.XHttp___p__HttpPlayerClientId_u__EndOfStream_HeaderTime:_u__u___r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
lea eax, [esi + 0x8278]
cmp dword [eax], 1
jne 0x20079f8b
push 0
push eax
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001dc2a
mov ecx, esi
call fcn.20077963
mov ecx, esi
cmp dword [esi + 0x82b4], 9
jb 0x2007951c
call fcn.20079100
mov ecx, esi
call fcn.2007876b
jmp 0x2007a8a9
push dword [esi + 0x8224]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bb16
test eax, eax
je 0x20079ff9
mov ecx, eax
call fcn.2001a280
test eax, eax
je 0x20079ff9
mov dword [esi + 0x8268], 0x3e8
mov esi, dword [ebp - 0x4368]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
jmp 0x2007a8a9
test ebx, ebx
jne 0x2007a009
mov ebx, dword [esi + 0x8224]
mov dword [ebp - 0x4360], ebx
cmp ebx, 0xffffffff
jne 0x2007a023
mov edi, dword [ebp - 0x4368]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
jmp 0x20079b99
push dword [ebp - 0x4360]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bb16
mov ebx, eax
mov dword [ebp - 0x43b0], ebx
test ebx, ebx
je 0x2007a82a
mov eax, dword [ebx + 0x88]
mov dword [esi + 0x8288], eax
lea eax, [ebx + 0xb4]
cmp byte [eax], 0
je 0x2007a071
mov ecx, dword [ebx + 0x18]
mov dword [esi + 0x8284], ecx
cmp byte [eax], 0
jne 0x2007a078
or dword [esi + 0x8284], 0xffffffff
mov eax, dword [ebp - 0x4360]
mov dword [esi + 0x8224], eax
mov eax, dword [esi + 0x8228]
mov dword [ebp - 0x43b8], eax
and dword [ebp - 0x4370], 0
cmp dword [esi + 0x8254], 0
jne 0x2007a0fe
mov ecx, ebx
call fcn.2001a280
test eax, eax
je 0x2007a0fe
inc dword [esi + 0x8254]
jmp 0x2007a0fe
push dword [esi + 0x8228]
lea ecx, [ebx + 0x40]
call fcn.2003ab56
test eax, eax
je 0x2007a109
inc dword [esi + 0x8228]
mov eax, dword [esi + 0x8228]
inc eax
mov ecx, dword [ebx + 0xc]
cmp dword [ebx + 0x70], eax
jne 0x2007a0e9
mov eax, dword [ebx + 0x10]
xor edx, edx
div ecx
add dword [ebp - 0x4370], edx
jmp 0x2007a0ef
add dword [ebp - 0x4370], ecx
mov eax, 0x100000
sub eax, ecx
cmp dword [ebp - 0x4370], eax
jae 0x2007a109
mov eax, dword [esi + 0x8228]
cmp eax, dword [ebx + 0x70]
jb 0x2007a0b3
mov ecx, dword [esi + 0x81bc]
test ecx, ecx
je 0x2007a6ab
mov eax, dword [esi + 0x8228]
cmp eax, 0xffffffff
je 0x2007a6ab
cmp eax, dword [ebp - 0x43b8]
jbe 0x2007a6ab
mov eax, dword [ebp - 0x4370]
mov dword [ebp - 0x4394], eax
mov eax, dword [esi + 0x822c]
xor edx, edx
div ecx
imul eax, ecx
mov dword [ebp - 0x4358], eax
mov eax, dword [esi + 0x822c]
mov edx, dword [ebp - 0x4370]
add eax, edx
xor edx, edx
div ecx
imul eax, ecx
mov dword [ebp - 0x4364], eax
and dword [ebp - 0x4390], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x4404]
call fcn.2000d8d0
mov byte [ebp - 4], 5
and dword [ebp - 0x4388], 0
mov eax, dword [ebp - 0x4358]
mov dword [ebp - 0x437c], eax
mov eax, dword [ebp - 0x4364]
cmp dword [ebp - 0x437c], eax
jge 0x2007a1f8
push dword [esi + 0x81bc]
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x437c]
push eax
lea ecx, [ebp - 0x4404]
call fcn.2000d910
test eax, eax
je 0x2007a1e3
mov eax, dword [ebp - 0x43e4]
add dword [esi + 0x825c], eax
mov eax, dword [ebp - 0x43e8]
mov dword [ebp - 0x4388], eax
jmp 0x2007a1ea
mov byte [ebx + 0xb4], 1
mov eax, dword [esi + 0x81bc]
add eax, dword [ebp - 0x437c]
jmp 0x2007a196
mov eax, dword [ebp - 0x4388]
cmp dword [esi + 0x8258], 0
jne 0x2007a20d
mov dword [esi + 0x8258], eax
mov ecx, dword [esi + 0x8258]
cmp eax, ecx
jbe 0x2007a239
mov edx, eax
sub edx, ecx
cmp edx, 0x1d4c0
jbe 0x2007a22f
mov dword [ebp - 0x4390], 1
jmp 0x2007a239
cmp eax, ecx
jbe 0x2007a239
mov dword [esi + 0x8258], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4404]
call fcn.2000d8f0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4390], 0
jne 0x2007a6ab
cmp dword [esi + 0x8280], 0
je 0x2007a287
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x2007a26e
mov eax, esi
push eax
mov ecx, ebx
call fcn.20019c98
test al, al
jne 0x2007a287
cmp dword [ebp - 0x4358], 0
je 0x2007a6ab
cmp dword [esi + 0x8230], 0
je 0x2007a570
mov eax, dword [esi + 0x81bc]
mov dword [ebp - 0x436c], eax
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x4358]
mov dword [ebp - 0x43b4], eax
lea ecx, [ebp - 0x442c]
call fcn.2000d8d0
mov dword [ebp - 4], 7
cmp dword [esi + 0x8264], 0
je 0x2007a2f8
push dword [ebp - 0x436c]
push dword [ebp - 0x43b4]
lea ecx, [ebp - 0x442c]
call fcn.2000d910
test eax, eax
je 0x2007a2f8
mov eax, dword [ebp - 0x4410]
sub dword [esi + 0x8260], eax
and dword [esi + 0x8264], 0
mov eax, dword [ebp - 0x436c]
sub eax, dword [ebp - 0x4358]
add eax, dword [ebp - 0x4364]
push eax
call fcn.2008f9f9
pop ecx
mov dword [ebp - 0x43ac], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x4398], eax
mov ecx, dword [ebp - 0x4364]
sub ecx, dword [ebp - 0x4358]
inc ecx
push ecx
push eax
lea ecx, [ebp - 0x43dc]
call fcn.200030b0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x43d8]
mov dword [ebp - 0x43d4], eax
mov byte [eax], 0
and dword [ebp - 0x4374], 0
mov byte [ebp - 0x4359], 0
mov eax, dword [ebp - 0x4374]
imul eax, dword [ebp - 0x436c]
add eax, dword [ebp - 0x4358]
add eax, dword [ebx + 0x14]
inc dword [ebp - 0x4374]
mov ecx, dword [ebp - 0x4374]
imul ecx, dword [ebp - 0x436c]
add ecx, dword [ebp - 0x4358]
cmp dword [ebp - 0x4364], ecx
jl 0x2007a43e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x43dc]
push ecx
push dword [esi + 0x8260]
push dword [ebp - 0x436c]
push eax
lea ecx, [ebp - 0x442c]
call fcn.2000e3c0
test eax, eax
je 0x2007a3c4
mov byte [ebp - 4], 9
jmp 0x2007a35c
push dword [ebp - 0x436c]
push dword [ebp - 0x4374]
push dword [ebp - 0x4358]
push esi
push str.XHttp___p__asfpp.write_iPacketStart_d__i_d__dwPackageLen_u_failed___r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x18
mov byte [ebx + 0xb4], 1
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x8284], eax
mov byte [ebp - 0x4359], 1
mov byte [ebp - 4], 9
jmp 0x2007a43e
mov eax, dword [ebp - 0x43d4]
sub eax, dword [ebp - 0x43d8]
cmp eax, dword [ebp - 0x436c]
jb 0x2007a53d
xor edx, edx
div dword [ebp - 0x436c]
test edx, edx
jne 0x2007a53d
cmp byte [ebp - 0x4359], dl
jne 0x2007a53d
lea eax, [esi + 0x8280]
cmp dword [eax], edx
jne 0x2007a482
mov dword [eax], 1
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x2007a48e
mov eax, esi
push eax
mov ecx, ebx
call fcn.2001a100
cmp dword [esi + 0x82b4], 9
jae 0x2007a4bb
mov eax, dword [esi]
mov ecx, dword [ebp - 0x43d4]
sub ecx, dword [ebp - 0x43d8]
push ecx
push dword [ebp - 0x4398]
mov ecx, esi
call dword [eax + 4]
jmp 0x2007a4f9
lea eax, [esi + 0x82b8]
push eax
mov eax, dword [ebp - 0x43d4]
sub eax, dword [ebp - 0x43d8]
push eax
push dword [ebp - 0x4398]
push dword [esi + 0x826c]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, 0x19754
call fcn.200275d4
mov ecx, esi
call fcn.20077963
mov ecx, dword [ebp - 0x4360]
test ecx, ecx
jne 0x2007a509
mov ecx, dword [esi + 0x8224]
mov eax, dword [ebp - 0x43d4]
sub eax, dword [ebp - 0x43d8]
push eax
push dword [ebp - 0x4364]
push dword [ebp - 0x4358]
push ecx
push dword [esi + 0x826c]
push esi
push 0x200abde8
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x43dc]
call fcn.200030f4
mov byte [ebp - 4], 7
push dword [ebp - 0x43ac]
call fcn.2008f9fe
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x442c]
call fcn.2000d8f0
jmp 0x2007a644
mov eax, dword [ebp - 0x4358]
cmp dword [ebp - 0x4364], eax
jle 0x2007a644
cmp dword [esi + 0x8280], 0
jne 0x2007a595
mov dword [esi + 0x8280], 1
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x2007a5a1
mov eax, esi
push eax
mov ecx, ebx
call fcn.2001a100
mov eax, dword [ebp - 0x4364]
sub eax, dword [ebp - 0x4358]
mov dword [ebp - 0x439c], eax
cmp dword [esi + 0x82b4], 9
jae 0x2007a5d8
mov edx, dword [esi]
push eax
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x4358]
push eax
mov ecx, esi
call dword [edx + 4]
jmp 0x2007a607
lea ecx, [esi + 0x82b8]
push ecx
push eax
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x4358]
push eax
push dword [esi + 0x826c]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, 0x19754
call fcn.200275d4
mov eax, dword [ebp - 0x4360]
test eax, eax
jne 0x2007a617
mov eax, dword [esi + 0x8224]
push dword [ebp - 0x439c]
push dword [ebp - 0x4364]
push dword [ebp - 0x4358]
push eax
push dword [esi + 0x826c]
push esi
push str.XHttp___p__
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x20
mov ecx, dword [ebp - 0x4360]
test ecx, ecx
jne 0x2007a654
mov ecx, dword [esi + 0x8224]
lea eax, [esi + 0x82d4]
mov edx, dword [eax]
mov edx, dword [edx + 0xcc]
mov dword [edx + 0x875c], ecx
mov eax, dword [eax]
mov eax, dword [eax + 0xcc]
mov ecx, dword [ebp - 0x4364]
sub ecx, dword [ebp - 0x4358]
add dword [eax + 0x8750], ecx
mov eax, dword [ebp - 0x4394]
add dword [esi + 0x822c], eax
lea ecx, [esi + 0x82d8]
push eax
call fcn.20073751
push dword [ebp - 0x4394]
lea ecx, [esi + 0x82d8]
call fcn.2007384f
mov eax, dword [esi + 0x8228]
cmp eax, dword [ebx + 0x70]
jb 0x2007a6bd
or dword [esi + 0x8228], 0xffffffff
mov ecx, ebx
call fcn.2001a280
test eax, eax
je 0x2007a78d
push dword [esi + 0x8224]
push 0x200abd88
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0xc
or dword [esi + 0x8228], 0xffffffff
mov dword [esi + 0x8268], 0xa
jmp 0x2007a831
mov ebx, dword [ebp - 0x4360]
test ebx, ebx
je 0x2007a6ec
mov eax, dword [esi + 0x8290]
test eax, eax
jne 0x2007a7a7
mov eax, esi
push 1
push eax
push ebx
push dword [esi + 0x8188]
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bdcc
mov ebx, eax
test ebx, ebx
je 0x2007a6ec
cmp ebx, 0xffffffff
je 0x2007a79b
cmp ebx, dword [ebp - 0x4360]
jbe 0x2007a79b
push ebx
mov eax, dword [esi + 0x82d4]
mov ecx, dword [eax + 0xcc]
add ecx, edi
call fcn.2001bb16
test eax, eax
je 0x2007a79b
mov ecx, eax
call fcn.2001a280
test eax, eax
je 0x2007a79b
push ebx
push dword [ebp - 0x4360]
push 0x200abce4
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
mov dword [esi + 0x8224], ebx
and dword [esi + 0x8228], 0
jmp 0x2007a79b
or dword [esi + 0x8228], 0xffffffff
add esi, 0x18
jmp 0x20079fea
cmp dword [esi + 0xa8], ebx
je 0x2007a848
mov edx, str.TRUE
jmp 0x2007a84d
mov edx, str.FALSE
cmp dword [esi + 0x81b8], ebx
mov ebx, str.TRUE
jne 0x2007a85f
mov ebx, str.FALSE
lea eax, [esi + 0xe0]
push 0x10
pop edi
cmp dword [eax + 0x18], edi
jb 0x2007a872
mov eax, dword [eax + 4]
jmp 0x2007a875
add eax, 4
cmp dword [esi + 0x50], edi
jb 0x2007a87f
mov ecx, dword [esi + 0x3c]
jmp 0x2007a882
lea ecx, [esi + 0x3c]
push dword [esi + 0xfc]
push eax
push ecx
push edx
push ebx
push str.m_bSendHttpHeader:_s__m_bExecute_s__m_strMethod_s__m_strFullPath_s__m_dwFileTime_u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x1c
mov dword [esi + 0x8268], 0x5dc
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