Function at 0x485a40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 0x70]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x70], eax
push dword [ecx]
push 0xa
push eax
call fcn.005f90c0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov edx, edi
mov dword [edi + 0x74], esi
mov ecx, ebx
test esi, esi
je 0x486b54
sub esi, dword [edi + 0x6c]
inc esi
sub dword [eax], esi
mov eax, dword [edi + 0x74]
inc eax
mov dword [edi + 0x6c], eax
sub eax, dword [edi + 0x70]
push eax
call fcn.004858d0
add esp, 4
test eax, eax
jne 0x486bb3
mov eax, dword [edi + 0x64]
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x6dc]
mov ebx, dword [edi + 0x60]
mov dword [edi + 0x78], eax
test ebx, ebx
jne 0x485b12
cmp dword [edi + 0x68], 5
jbe 0x485b12
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ecx + 0x6dc]
test dword [eax + 0x40], 0x40000
je 0x485b05
push 5
mov ecx, str.RTSP_
call fcn.0049a620
add esp, 4
test eax, eax
setne al
jmp 0x485b0a
call fcn.00485800
test al, al
je 0x48694e
mov ecx, dword [edi + 0x78]
mov al, byte [ecx]
cmp al, 0xa
je 0x4865eb
cmp al, 0xd
je 0x4865ef
lea eax, [ebx + 1]
mov dword [edi + 0x60], eax
test ebx, ebx
jne 0x485dcb
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2e0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x485c2b
lea ebx, [edi + 0x88]
push ebx
lea eax, [ebp - 5]
push eax
lea esi, [edx + 0x180]
push esi
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push ecx
call fcn.004316f0
add esp, 0x18
cmp eax, 1
jne 0x485ba2
cmp dword [ebp - 0xc], 2
jne 0x486990
push ebx
push str._HTTP_2__d
push dword [edi + 0x78]
call fcn.004316f0
add esp, 0xc
cmp eax, 1
jne 0x486990
mov dword [esi], 0
mov byte [ebp - 5], 0x20
jmp 0x485bb1
cmp eax, 4
jne 0x485be7
cmp byte [ebp - 5], 0x20
jne 0x486990
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
cmp dword [edi + 0xa4], 2
jne 0x485c78
cmp dword [esi], 0x14
je 0x485c78
mov ecx, dword [ebp - 0x18]
push str.Lying_server__not_serving_HTTP_2_n
push ecx
call fcn.0046c560
add esp, 8
jmp 0x485c78
test eax, eax
jne 0x486990
push ebx
push str._HTTP__3d
push dword [edi + 0x78]
call fcn.004316f0
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x485c78
mov edx, dword [edi + 0x78]
mov ecx, dword [ebp - 0x18]
call fcn.00485800
test al, al
je 0x486bad
mov dword [ebx], 0xc8
mov dword [esi], 0xa
jmp 0x485c78
test eax, 0x40000
je 0x486bad
lea ebx, [edi + 0x88]
push ebx
lea esi, [edx + 0x184]
push esi
lea eax, [ebp - 0x10]
push eax
push str._RTSP__d._d__3d
push ecx
call fcn.004316f0
add esp, 0x14
cmp eax, 3
jne 0x486bad
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
mov esi, dword [ebp - 0x14]
add esi, 0x180
mov dword [esi], 0xb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [edx + 0x4a18], eax
mov eax, dword [esi]
mov dword [edx + 0x4a20], eax
mov eax, dword [edx + 0x4998]
test eax, eax
je 0x485c99
cmp eax, dword [esi]
jle 0x485ca1
mov eax, dword [esi]
mov dword [edx + 0x4998], eax
cmp byte [edx + 0x380], 0
je 0x485d04
mov ecx, dword [ebx]
cmp ecx, 0x190
jl 0x485d04
mov eax, dword [ebp - 0x14]
cmp ecx, 0x191
jne 0x485cc8
cmp byte [eax + 0x2a4], 0
jne 0x485d04
cmp ecx, 0x197
jne 0x485cd9
cmp byte [eax + 0x2a5], 0
jne 0x485d04
mov eax, dword [edx + 0x49b0]
or eax, dword [edx + 0x49b4]
je 0x4869b6
cmp dword [edx + 0x288], 1
jne 0x4869b6
cmp ecx, 0x1a0
jne 0x4869b6
mov eax, dword [esi]
cmp eax, 0xa
jne 0x485d2e
push str.HTTP_1.0__assume_close_after_body_n
push edx
call fcn.0046c560
mov esi, dword [ebp - 0x14]
add esp, 8
cmp byte [esi + 0x29d], 1
je 0x485d86
mov byte [esi + 0x29d], 1
jmp 0x485d86
cmp eax, 0x14
je 0x485d77
cmp dword [edi + 0xa4], 1
jne 0x485d41
cmp dword [ebx], 0x65
je 0x485d77
cmp eax, 0xb
jl 0x485d86
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0x29d], 0
jne 0x485d86
cmp dword [esi + 0x560], 0
je 0x485d86
mov ecx, dword [ebp - 0x18]
mov edx, esi
call fcn.004804d0
test al, al
jne 0x485d86
mov eax, dword [esi + 0x560]
mov dword [eax], 1
jmp 0x485d86
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x560]
mov dword [eax], 2
mov eax, dword [ebx]
sub eax, 0xcc
je 0x485d94
sub eax, 0x64
jne 0x485dcb
mov ebx, dword [ebp - 0x18]
cmp dword [ebx + 0x27c], 0
je 0x485da7
mov byte [ebx + 0x4a28], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0xca], 1
jmp 0x485dce
mov ebx, dword [ebp - 0x18]
cmp byte [edi + 0xca], 0
jne 0x485ea3
cmp byte [ebx + 0x3a7], 0
jne 0x485ea3
mov esi, dword [edi + 0x78]
mov ecx, str.Content_Length:
push 0xf
mov edx, esi
call fcn.0049a620
add esp, 4
test eax, eax
je 0x485ea3
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.00611911
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov ebx, dword [ebx + 0x360]
add esp, 0xc
mov eax, ebx
mov ecx, dword [ecx + 0x364]
or eax, ecx
je 0x485e3d
cmp edx, ecx
jg 0x4869d3
jl 0x485e3d
cmp esi, ebx
ja 0x4869d3
test edx, edx
jl 0x485e64
jg 0x485e47
test esi, esi
jb 0x485e64
mov ecx, dword [ebp - 0x18]
push edx
push esi
mov dword [edi], esi
mov dword [edi + 4], edx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], edx
call fcn.004812a0
add esp, 8
jmp 0x485f4f
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x2e0]
mov eax, dword [eax + 0x44]
and eax, 0x200
sete cl
test eax, eax
jne 0x485e8a
cmp cl, byte [ebx + 0x29d]
je 0x485e8a
mov byte [ebx + 0x29d], cl
push edx
push esi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push dword [ebp - 0x18]
call fcn.0046c560
add esp, 0x10
mov esi, ebx
jmp 0x485f52
mov esi, dword [edi + 0x78]
mov ecx, str.Content_Type:
push 0xd
mov edx, esi
call fcn.0049a620
add esp, 4
test eax, eax
je 0x485ee5
mov ecx, esi
call fcn.00482570
mov esi, eax
test esi, esi
je 0x4869f9
cmp byte [esi], 0
je 0x485f45
push dword [ebx + 0x4a40]
call dword [0x725400]
mov dword [ebx + 0x4a40], esi
jmp 0x485f4c
push 7
mov edx, esi
mov ecx, str.Server:
call fcn.0049a620
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x485fcb
cmp dword [eax + 0x180], 0x14
jge 0x4865e4
mov ecx, esi
call fcn.00482570
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x560]
test ecx, ecx
je 0x485f45
cmp dword [ecx], 1
jne 0x485f45
mov edx, esi
mov ecx, ebx
call fcn.004806e0
test al, al
je 0x485f45
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x560]
mov dword [eax], 0xffffffff
push esi
call dword [0x725400]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor ebx, ebx
cmp byte [eax + 0x385], bl
setne bl
cmp byte [eax + 0x390], 0
je 0x485f7f
push esi
push dword [edi + 0x68]
mov edx, 1
mov ecx, eax
push dword [edi + 0x78]
call fcn.0046cf90
add esp, 0xc
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x78]
test ecx, ecx
jne 0x485f99
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485f90
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0x14]
push edx
lea edx, [ebx + 2]
call fcn.0046cc00
add esp, 8
test eax, eax
jne 0x486bb3
mov ebx, dword [ebp - 0x18]
mov eax, dword [edi + 0x68]
add dword [ebx + 0x4a2c], eax
mov eax, dword [edi + 0x68]
add dword [ebx + 0xa0], eax
jmp 0x48692a
cmp dword [eax + 0x180], 0xa
jne 0x48601b
cmp byte [eax + 0x2a2], 0
je 0x48601b
push str.keep_alive
mov edx, str.Proxy_Connection:
mov ecx, esi
call fcn.004835f0
add esp, 4
test al, al
je 0x48601b
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0x29d], 0
je 0x486008
mov byte [esi + 0x29d], 0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.0046c560
add esp, 8
jmp 0x485f52
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x180], 0xb
jne 0x48606c
cmp byte [esi + 0x2a2], 0
je 0x48606c
mov ecx, dword [edi + 0x78]
mov edx, str.Proxy_Connection:
push str.close
call fcn.004835f0
add esp, 4
test al, al
je 0x48606c
cmp byte [esi + 0x29d], 1
je 0x486059
mov byte [esi + 0x29d], 1
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.0046c560
add esp, 8
jmp 0x485f52
cmp dword [esi + 0x180], 0xa
jne 0x4860b1
mov ecx, dword [edi + 0x78]
mov edx, str.Connection:
push str.keep_alive
call fcn.004835f0
add esp, 4
test al, al
je 0x4860b1
cmp byte [esi + 0x29d], 0
je 0x48609e
mov byte [esi + 0x29d], 0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.0046c560
add esp, 8
jmp 0x485f52
mov ecx, dword [edi + 0x78]
mov edx, str.Connection:
push str.close
call fcn.004835f0
add esp, 4
test al, al
je 0x4860fa
mov eax, dword [esi + 0x2e0]
mov eax, dword [eax + 0x44]
and eax, 0x200
sete cl
test eax, eax
jne 0x485f52
cmp cl, byte [esi + 0x29d]
je 0x485f52
mov byte [esi + 0x29d], cl
jmp 0x485f52
mov esi, dword [edi + 0x78]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, esi
call fcn.0049a620
add esp, 4
test eax, eax
je 0x486237
add esi, 0x12
nop dword [eax]
mov al, byte [esi]
test al, al
je 0x486143
movzx eax, al
push eax
call fcn.0060f694
add esp, 4
test eax, eax
jne 0x48613b
cmp byte [esi], 0x2c
jne 0x486143
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x486126
push 7
mov edx, esi
mov ecx, str.chunked
call fcn.0049a620
add esp, 4
test eax, eax
je 0x48617a
mov eax, dword [ebp - 0x14]
add esi, 7
mov byte [edi + 0xdc], 1
mov dword [eax + 0x24], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x28], 0
cmp dword [edi + 0xa8], 0
jne 0x485f4f
push 8
mov edx, esi
mov ecx, str.identity
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4861b2
mov eax, 8
mov dword [edi + 0xa8], 0
add esi, eax
jmp 0x486120
push 7
mov edx, esi
mov ecx, str.deflate
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4861dd
mov eax, 7
mov dword [edi + 0xa8], 1
add esi, eax
jmp 0x486120
push 4
mov edx, esi
mov ecx, str.gzip
call fcn.0049a620
add esp, 4
test eax, eax
je 0x486208
mov eax, 4
mov dword [edi + 0xa8], 2
add esi, eax
jmp 0x486120
push 6
mov edx, esi
mov ecx, str.x_gzip
call fcn.0049a620
add esp, 4
test eax, eax
je 0x485f4f
mov eax, 6
mov dword [edi + 0xa8], 2
add esi, eax
jmp 0x486120
push 0x11
mov edx, esi
mov ecx, str.Content_Encoding:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x486304
cmp dword [ebx + 0x3e4], 0
je 0x486304
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x48627f
movzx eax, al
push eax
call fcn.0060f694
add esp, 4
test eax, eax
je 0x48627f
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x486267
push 8
mov edx, esi
mov ecx, str.identity
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4862a3
mov dword [edi + 0xa8], 0
jmp 0x485f4f
push 7
mov edx, esi
mov ecx, str.deflate
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4862c7
mov dword [edi + 0xa8], 1
jmp 0x485f4f
push 4
mov edx, esi
mov ecx, str.gzip
call fcn.0049a620
add esp, 4
test eax, eax
jne 0x4862f5
push 6
mov edx, esi
mov ecx, str.x_gzip
call fcn.0049a620
add esp, 4
test eax, eax
je 0x485f4f
mov dword [edi + 0xa8], 2
jmp 0x485f4f
push 0xe
mov edx, esi
mov ecx, str.Content_Range:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4863b0
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x486344
movzx eax, al
push eax
call fcn.0060f5af
add esp, 4
test eax, eax
jne 0x486344
cmp byte [esi], 0x2a
je 0x486344
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x486327
movzx eax, byte [esi]
push eax
call fcn.0060f5af
add esp, 4
test eax, eax
je 0x486397
push 0xa
push 0
push esi
call fcn.00611911
mov dword [edi + 0x80], eax
add esp, 0xc
mov dword [edi + 0x84], edx
mov eax, dword [ebx + 0x49b0]
cmp eax, dword [edi + 0x80]
jne 0x485f4f
mov esi, dword [ebp - 0x14]
cmp dword [ebx + 0x49b4], edx
jne 0x485f52
mov byte [edi + 0x7c], 1
jmp 0x485f52
mov dword [ebx + 0x49b0], 0
mov dword [ebx + 0x49b4], 0
jmp 0x485f4f
cmp dword [ebx + 0x528], 0
je 0x486422
push 0xb
mov edx, esi
mov ecx, str.Set_Cookie:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x486422
push ecx
mov edx, 2
mov ecx, ebx
call fcn.00489ae0
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [esi + 0x310]
test eax, eax
jne 0x4863f1
mov eax, dword [esi + 0xa0]
push dword [ebx + 0x49a4]
mov edx, dword [ebx + 0x528]
mov ecx, ebx
push eax
mov eax, dword [edi + 0x78]
add eax, 0xb
push eax
push 1
call fcn.004780f0
add esp, 0x10
mov edx, 2
mov ecx, ebx
call fcn.00489b20
jmp 0x485f52
push 0xe
mov edx, esi
mov ecx, str.Last_Modified:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x48648d
cmp dword [ebx + 0x27c], 0
jne 0x486449
cmp byte [ebx + 0x379], 0
je 0x48648d
push 0
call fcn.0061a074
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi + 0x78]
add eax, 0xe
push eax
call sym.hrkill.exe_curl_getdate
mov esi, dword [ebp - 0x14]
add esp, 8
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], edx
cmp byte [ebx + 0x379], 0
je 0x485f52
mov dword [ebx + 0x4a24], eax
jmp 0x485f52
push 0x11
mov edx, esi
mov ecx, str.WWW_Authenticate:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4864b0
mov ebx, dword [edi + 0x88]
cmp ebx, 0x191
je 0x4864d3
push 0x13
mov edx, esi
mov ecx, str.Proxy_authenticate:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x486520
mov ebx, dword [edi + 0x88]
cmp ebx, 0x197
jne 0x486520
mov ecx, esi
call fcn.00482570
mov esi, eax
test esi, esi
je 0x4869f9
mov ecx, dword [ebp - 0x14]
cmp ebx, 0x197
push esi
sete dl
call fcn.00482d60
add esp, 4
mov ebx, eax
push esi
call dword [0x725400]
add esp, 4
test ebx, ebx
je 0x485f4f
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x88]
cmp eax, 0x12c
jl 0x4865b5
cmp eax, 0x190
jge 0x4865b5
push 9
mov edx, esi
mov ecx, str.Location:
call fcn.0049a620
add esp, 4
test eax, eax
je 0x4865b5
mov ebx, dword [ebp - 0x18]
cmp dword [ebx + 0x13c], 0
jne 0x4865b5
mov ecx, esi
call fcn.00482570
test eax, eax
je 0x4869f9
cmp byte [eax], 0
jne 0x486573
push eax
jmp 0x485f46
cmp byte [ebx + 0x382], 0
mov dword [ebx + 0x13c], eax
je 0x485f4f
push eax
call dword [0x725404]
add esp, 4
mov dword [ebx + 0x140], eax
test eax, eax
je 0x4869f9
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.004827d0
test eax, eax
jne 0x486bb3
jmp 0x485f52
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2e0]
test dword [eax + 0x40], 0x40000
je 0x485f4f
mov edx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0048f550
test eax, eax
jne 0x486bb3
jmp 0x485f52
mov esi, eax
jmp 0x485f52
cmp al, 0xd
jne 0x4865f5
lea eax, [ecx + 1]
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x78]
cmp byte [eax], 0xa
jne 0x486601
inc eax
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x88]
cmp eax, 0x64
jl 0x486806
cmp eax, 0xc7
jg 0x486806
sub eax, 0x64
je 0x4867cc
sub eax, 1
je 0x4867b6
mov byte [edi + 0x58], 1
mov dword [edi + 0x60], 0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0x29d], 0
je 0x486682
mov eax, dword [ebx + 0xf8]
cmp eax, 0x191
jne 0x48665d
cmp dword [esi + 0x354], 2
je 0x48666d
cmp eax, 0x197
jne 0x486682
cmp dword [esi + 0x36c], 2
jne 0x486682
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.0046c560
add esp, 8
mov byte [ebx + 0x47ac], 1
mov ecx, esi
call fcn.00483020
test eax, eax
jne 0x486b2a
mov esi, dword [ebx + 0x6dc]
xor edx, edx
cmp byte [ebx + 0x385], dl
mov ebx, dword [edi + 0x78]
setne dl
add edx, 2
sub ebx, esi
mov dword [ebp - 0x24], ebx
mov ecx, ebx
jne 0x4866c2
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4866b6
sub ecx, ebx
mov ebx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0046cc00
add esp, 8
test eax, eax
jne 0x486bb3
mov esi, dword [ebp - 0x18]
add dword [esi + 0xa0], ebx
add dword [esi + 0x4a2c], ebx
mov eax, dword [edi + 0x88]
mov ecx, dword [esi + 0xa0]
cmp eax, 0x64
jl 0x4866fe
cmp eax, 0xc7
jle 0x486700
xor ecx, ecx
mov dword [esi + 0xa4], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00482980
test eax, eax
jne 0x486bb3
cmp dword [edi + 0x88], 0x12c
mov edx, dword [ebp - 0x14]
jl 0x48691e
cmp byte [edx + 0x2ae], al
jne 0x4868fd
cmp byte [edx + 0x29d], al
jne 0x4868fd
cmp byte [edx + 0x2af], al
jne 0x486906
mov eax, dword [esi + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4868fd
xor edx, edx
mov ecx, esi
call fcn.0046bd50
cmp byte [edi + 0xc8], 0
jne 0x4868fa
cmp byte [esi + 0x381], 0
je 0x4868a3
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.0046c560
mov edx, dword [ebp - 0x14]
add esp, 8
cmp dword [edi + 0xa0], 0
jle 0x4868fd
or dword [edi + 0xc4], 2
mov dword [edi + 0xa0], 0
jmp 0x4868fd
cmp dword [edi + 0xa4], 1
je 0x486a0f
mov byte [edi + 0x58], 0
jmp 0x486638
cmp dword [edi + 0xa0], 0
mov ebx, dword [ebp - 0x18]
mov byte [edi + 0x58], 1
mov dword [edi + 0x60], 0
jle 0x48663b
or dword [edi + 0xc4], 2
xor edx, edx
mov ecx, ebx
mov dword [edi + 0xa0], 0
call fcn.0046bd50
jmp 0x48663b
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x58], 0
cmp eax, 0xffffffff
jne 0x486638
cmp byte [edi + 0xdc], 0
mov esi, dword [ebp - 0x14]
jne 0x48689b
cmp byte [esi + 0x29d], 0
jne 0x48689b
cmp dword [esi + 0x180], 0xb
mov ebx, dword [ebp - 0x18]
jne 0x48663e
mov eax, dword [esi + 0x2e0]
test dword [eax + 0x40], 0x40000
jne 0x48663e
cmp dword [ebx + 0x288], 5
je 0x48663e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.0046c560
mov eax, dword [esi + 0x2e0]
add esp, 8
mov eax, dword [eax + 0x44]
and eax, 0x200
sete cl
test eax, eax
jne 0x48663e
cmp cl, byte [esi + 0x29d]
je 0x48663e
mov byte [esi + 0x29d], cl
jmp 0x48663e
mov ebx, dword [ebp - 0x18]
jmp 0x48663e
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.0046c560
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [edx + 0x2e0]
mov eax, dword [eax + 0x44]
and eax, 0x200
sete cl
test eax, eax
jne 0x4868d7
cmp cl, byte [edx + 0x29d]
je 0x4868d7
mov byte [edx + 0x29d], cl
and dword [edi + 0xc4], 0xfffffffd
mov byte [edi + 0xc8], 1
cmp byte [esi + 0x499c], 0
je 0x4868fd
mov dword [edi + 0xa0], 3
jmp 0x4868fd
mov edx, dword [ebp - 0x14]
cmp byte [edx + 0x2af], 0
je 0x48691e
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.0046c560
mov edx, dword [ebp - 0x14]
add esp, 8
or dword [edi + 0xc4], 2
cmp byte [edi + 0x58], 0
je 0x486a4a
mov ebx, esi
mov eax, dword [ebx + 0x6dc]
mov dword [edi + 0x64], eax
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x68], 0
cmp byte [eax], 0
je 0x486bb1
mov ecx, dword [ebp - 0x20]
jmp 0x485a70
mov eax, dword [ebp - 0x20]
mov byte [edi + 0x58], 0
cmp dword [eax], 0
je 0x486974
mov dword [edi + 0x5c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x5c], 2
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push dword [ebp - 0x18]
call fcn.0046c5e0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.004859a0
mov eax, 0x16
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push dword [ebp - 0x18]
call fcn.0046c5e0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push dword [ebp - 0x18]
call fcn.0046c560
add esp, 8
mov dword [edi + 0xa4], 2
mov byte [edi + 0x58], 1
mov eax, 1
mov dword [edi + 0x60], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x388], 0
je 0x486a5b
mov eax, dword [ebp - 0x1c]
mov byte [eax], 1
jmp 0x486aac
mov eax, dword [edx + 0x2e0]
test dword [eax + 0x40], 0x40000
je 0x486a88
cmp dword [esi + 0x4b8], 2
jne 0x486a88
cmp dword [edi + 4], 0xffffffff
jg 0x486a88
jl 0x486a80
cmp dword [edi], 0xffffffff
ja 0x486a88
mov eax, dword [ebp - 0x1c]
mov byte [eax], 1
jmp 0x486aac
cmp byte [edi + 0xdc], 0
je 0x486aac
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x486aba
cmp eax, ecx
je 0x486ad1
push eax
push ecx
mov ecx, esi
call fcn.004812a0
mov eax, dword [edi]
add esp, 8
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x486ae5
cmp dword [edi + 0x14], 0
jne 0x486ae5
mov eax, dword [ebp - 0x1c]
mov byte [eax], 1
jmp 0x486aed
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
je 0x486af4
and dword [edi + 0xc4], 0xfffffffe
cmp byte [esi + 0x390], 0
je 0x486bb1
push dword [ebp - 0x14]
mov edx, 1
mov ecx, esi
push ebx
push dword [edi + 0x70]
call fcn.0046cf90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push dword [edi + 0x88]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.0046c5e0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push dword [eax]
call fcn.004858d0
add esp, 4
test eax, eax
jne 0x486bb3
cmp dword [edi + 0x60], eax
jne 0x486bb1
cmp dword [edi + 0x68], 5
jbe 0x486bb1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x6dc]
mov eax, dword [eax + 0x2e0]
test dword [eax + 0x40], 0x40000
je 0x486b9b
push 5
mov ecx, str.RTSP_
call fcn.0049a620
add esp, 4
test eax, eax
setne al
jmp 0x486ba2
mov ecx, ebx
call fcn.00485800
test al, al
jne 0x486bb1
mov dword [edi + 0x5c], 2
mov byte [edi + 0x58], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret