Function at 0x4f99f0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ecx, dword [eax]
push edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xe8]
lea ebp, [esi + 0x88]
mov dword [esi + 0xec], ecx
mov edi, ecx
push dword [eax]
mov dword [esp + 0x30], ecx
push 0xa
push ecx
call fcn.0053a3b0
mov ebx, dword [esp + 0x54]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x4fab9b
sub edi, eax
mov eax, dword [esp + 0x4c]
dec edi
add dword [eax], edi
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push ebp
push esi
call fcn.004fadd0
add esp, 0xc
test eax, eax
jne 0x4fa91d
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov edx, dword [esi + 0xca4]
mov dword [esi + 0xf4], edx
jne 0x4f9ae9
mov eax, dword [ebx + 0x2e8]
mov ecx, dword [esi + 0xe4]
test dword [eax + 0x40], 0x40000
je 0x4f9acd
cmp ecx, 5
mov eax, 5
mov ebp, 2
sbb edi, edi
inc edi
cmp ecx, 5
cmova ecx, eax
push ecx
push edx
push str.RTSP_
call fcn.004f2090
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x4f9ada
push ecx
push edx
push esi
call fcn.004fac20
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x4fa8e9
lea ebp, [esi + 0x88]
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x4fa54b
cmp al, 0xd
je 0x4fa54f
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x4f9dd4
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4f9c4b
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x48]
push eax
lea edi, [ebx + 0x184]
push edi
lea eax, [esp + 0x24]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004c1880
add esp, 0x18
cmp eax, 1
jne 0x4f9b8e
cmp dword [esp + 0x18], 2
jl 0x4fa949
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.004c1880
add esp, 0x10
cmp eax, 2
jne 0x4fa949
mov dword [edi], 0
mov byte [esp + 0x44], 0x20
jmp 0x4f9b9e
cmp eax, 4
jne 0x4f9bf4
cmp byte [esp + 0x44], 0x20
jne 0x4fa949
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
mov ecx, eax
cmp dword [esi + 0x11c], 2
jne 0x4f9bcc
cmp eax, 0x14
je 0x4f9bcc
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004ee810
mov ecx, dword [edi]
add esp, 8
cmp ecx, 0x14
jge 0x4f9cab
mov eax, dword [ebx + 0x57c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.004ee810
add esp, 8
jmp 0x4f9cab
test eax, eax
jne 0x4fa949
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.004c1880
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4f9cab
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.004fac20
add esp, 0xc
cmp eax, 1
jne 0x4fa9f6
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x4f9cab
test eax, 0x40000
je 0x4fa9f6
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x17]
push eax
lea edi, [ebx + 0x188]
push edi
lea eax, [esp + 0x28]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004c1880
add esp, 0x18
cmp eax, 4
jne 0x4fa9f6
cmp byte [esp + 0x13], 0x20
jne 0x4fa9f6
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x184]
mov eax, dword [ebp]
mov dword [esi + 0x1028], eax
mov eax, dword [edi]
mov dword [esi + 0x1030], eax
mov eax, dword [esi + 0xf7c]
test eax, eax
je 0x4f9cca
cmp eax, dword [edi]
jle 0x4f9cd2
mov eax, dword [edi]
mov dword [esi + 0xf7c], eax
mov eax, dword [esi + 0xf88]
or eax, dword [esi + 0xf8c]
je 0x4f9cfb
cmp dword [esi + 0x830], 1
jne 0x4f9cfb
cmp dword [ebp], 0x1a0
jne 0x4f9cfb
mov byte [esi + 0x58b], 1
jmp 0x4f9d36
cmp byte [esi + 0xabc], 0
je 0x4f9d36
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x4f9d36
cmp eax, 0x191
jne 0x4f9d1e
cmp byte [ebx + 0x2ac], 0
jne 0x4f9d36
cmp eax, 0x197
jne 0x4fa964
cmp byte [ebx + 0x2ad], 0
je 0x4fa964
mov eax, dword [edi]
cmp eax, 0xa
jne 0x4f9d55
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004ee810
push 1
push ebx
call fcn.004ef3f0
add esp, 0x10
jmp 0x4f9d75
cmp eax, 0x14
je 0x4f9d69
cmp dword [esi + 0x11c], 1
jne 0x4f9d75
cmp dword [ebp], 0x65
jne 0x4f9d75
mov eax, dword [ebx + 0x57c]
mov dword [eax], 2
mov ecx, dword [ebp]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x58c], al
sub ecx, 0xcc
je 0x4f9da3
sub ecx, 0x64
jne 0x4f9dd4
cmp dword [esi + 0x824], ecx
je 0x4f9da3
mov byte [esi + 0x10e8], 1
lea ebp, [esi + 0x88]
mov dword [esi + 0x90], 0
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x58c], 1
jmp 0x4f9dda
lea ebp, [esi + 0x88]
cmp byte [esi + 0x58c], 0
jne 0x4f9eb4
cmp byte [esi + 0xacc], 0
jne 0x4f9eb4
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4f9eb4
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004fe7d0
add esp, 0x10
test eax, eax
jne 0x4f9e7e
mov edi, dword [esi + 0x908]
mov eax, edi
mov edx, dword [esi + 0x90c]
or eax, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x4f9e5c
cmp ecx, edx
jg 0x4faa07
jl 0x4f9e5c
cmp eax, edi
ja 0x4faa07
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.004fb970
add esp, 0xc
jmp 0x4fa4ce
cmp eax, 1
jne 0x4faa22
mov eax, dword [esi + 0x908]
or eax, dword [esi + 0x90c]
jne 0x4faa07
push 2
push ebx
call fcn.004ef3f0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004ee810
add esp, 0x10
jmp 0x4fa4ce
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4f9f13
push dword [esi + 0xf4]
call fcn.004f9300
mov edi, eax
add esp, 4
test edi, edi
je 0x4faa3d
cmp byte [edi], 0
jne 0x4f9ef9
push edi
call dword [0x5df8b4]
add esp, 4
jmp 0x4fa4ce
push dword [esi + 0x105c]
call dword [0x5df8b4]
add esp, 4
mov dword [esi + 0x105c], edi
jmp 0x4fa4ce
cmp dword [ebx + 0x184], 0xa
jne 0x4f9f5c
cmp byte [ebx + 0x2aa], 0
je 0x4f9f5c
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004f9240
add esp, 0xc
test al, al
je 0x4f9f5c
push 0
push ebx
call fcn.004ef3f0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004ee810
add esp, 0x10
jmp 0x4fa4ce
cmp dword [ebx + 0x184], 0xb
jne 0x4f9fa5
cmp byte [ebx + 0x2aa], 0
je 0x4f9fa5
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004f9240
add esp, 0xc
test al, al
je 0x4f9fa5
push 1
push ebx
call fcn.004ef3f0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004ee810
add esp, 0x10
jmp 0x4fa4ce
cmp dword [ebx + 0x184], 0xa
jne 0x4f9fe5
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.004f9240
add esp, 0xc
test al, al
je 0x4f9fe5
push 0
push ebx
call fcn.004ef3f0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004ee810
add esp, 0x10
jmp 0x4fa4ce
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.004f9240
add esp, 0xc
test al, al
je 0x4fa011
push 2
push ebx
call fcn.004ef3f0
add esp, 8
jmp 0x4fa4ce
cmp byte [esi + 0x58c], 0
jne 0x4fa092
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa04d
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004f23e0
add esp, 0xc
jmp 0x4fa4c6
cmp byte [esi + 0x58c], 0
jne 0x4fa092
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa092
cmp dword [esi + 0x960], 0
je 0x4fa092
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004f23e0
add esp, 0xc
jmp 0x4fa4c6
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa128
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x20], xmm0
push 0
push eax
call fcn.004fe0a0
mov ebp, eax
add esp, 8
mov edi, edx
cmp ebp, 0xffffffff
jne 0x4fa109
cmp edi, eax
jne 0x4fa109
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004fe7d0
mov edi, dword [esp + 0x34]
add esp, 0x10
mov ebp, dword [esp + 0x20]
mov dword [esi + 0x1068], ebp
mov dword [esi + 0x106c], edi
jmp 0x4fa4ce
push 0
call fcn.0054db61
add esp, 4
sub ebp, eax
mov dword [esi + 0x1068], ebp
sbb edi, edx
mov dword [esi + 0x106c], edi
jmp 0x4fa4ce
cmp byte [esi + 0x58c], 0
jne 0x4fa1ed
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa1ed
mov edi, dword [esi + 0xf4]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x4fa17e
movzx eax, al
push eax
call fcn.00514940
add esp, 4
test eax, eax
jne 0x4fa17e
cmp byte [edi], 0x2a
je 0x4fa17e
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4fa161
movzx eax, byte [edi]
push eax
call fcn.00514940
add esp, 4
test eax, eax
je 0x4fa1d4
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push edi
call fcn.004fe7d0
add esp, 0x10
test eax, eax
jne 0x4fa4ce
mov eax, dword [esi + 0xf88]
cmp eax, dword [ebp]
jne 0x4fa4ce
mov eax, dword [esi + 0xf8c]
cmp eax, dword [ebp + 4]
jne 0x4fa4ce
mov byte [esi + 0x589], 1
jmp 0x4fa4ce
mov dword [esi + 0xf88], 0
mov dword [esi + 0xf8c], 0
jmp 0x4fa4ce
cmp dword [esi + 0xafc], 0
je 0x4fa27b
cmp byte [esi + 0xffa], 0
je 0x4fa27b
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa27b
push 2
push 2
push esi
call fcn.004f2600
mov ecx, dword [ebx + 0x330]
add esp, 0xc
test ecx, ecx
jne 0x4fa239
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xfd8]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xafc]
push esi
call fcn.004e3490
push 2
push esi
call fcn.004f2640
add esp, 0x28
jmp 0x4fa4ce
cmp byte [esi + 0x58c], 0
jne 0x4fa309
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa309
cmp dword [esi + 0x824], 0
jne 0x4fa2b3
cmp byte [esi + 0xab1], 0
je 0x4fa309
push 0
call fcn.0054db61
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi + 0xf4]
add eax, 0xe
mov dword [esp + 0x44], edx
push eax
call fcn.004fe0a0
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
cmp byte [esi + 0xab1], 0
je 0x4fa4ce
mov dword [esi + 0x1038], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x103c], eax
jmp 0x4fa4ce
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa330
mov edi, dword [esi + 0x100]
cmp edi, 0x191
je 0x4fa357
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa3a1
mov edi, dword [esi + 0x100]
cmp edi, 0x197
jne 0x4fa3a1
push dword [esi + 0xf4]
call fcn.004f9300
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4faa3d
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.004f9680
push ebp
mov edi, eax
call dword [0x5df8b4]
add esp, 0x10
test edi, edi
je 0x4fa4ce
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa41d
cmp dword [esi + 0xd2c], 4
jne 0x4fa4ce
push dword [esi + 0xf4]
call fcn.004f9300
mov edi, eax
add esp, 4
test edi, edi
je 0x4faa3d
push 5
push edi
push 0x5b71d8
call fcn.004f2090
test eax, eax
mov byte [ebx + 0x45d], 1
push edi
setne al
mov byte [ebx + 0x45c], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.004ee810
push edi
call dword [0x5df8b4]
add esp, 0x20
jmp 0x4fa4ce
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4fa4a8
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.004f2090
add esp, 0xc
test eax, eax
je 0x4fa4a8
cmp dword [esi + 0x13c], 0
jne 0x4fa4a8
push dword [esi + 0xf4]
call fcn.004f9300
add esp, 4
test eax, eax
je 0x4faa3d
cmp byte [eax], 0
jne 0x4fa476
push eax
call dword [0x5df8b4]
add esp, 4
jmp 0x4fa4ce
cmp byte [esi + 0xabe], 0
mov dword [esi + 0x13c], eax
je 0x4fa4ce
push eax
call dword [0x5df8bc]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x4faa3d
push ebx
call fcn.004fae90
add esp, 4
jmp 0x4fa4c6
mov eax, dword [ebx + 0x2e8]
test dword [eax + 0x40], 0x40000
je 0x4fa4ce
push dword [esi + 0xf4]
push ebx
call fcn.0050d400
add esp, 8
test eax, eax
jne 0x4fa91d
xor eax, eax
cmp byte [esi + 0xac1], al
setne al
add eax, 2
cmp byte [esi + 0xac6], 0
mov dword [esp + 0x20], eax
je 0x4fa504
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.004ee6a0
mov eax, dword [esp + 0x30]
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push eax
push ebx
call fcn.004ee670
add esp, 0x10
test eax, eax
jne 0x4fa91d
mov ecx, dword [esi + 0xe4]
mov eax, ecx
cdq
add dword [esi + 0x1040], eax
mov eax, ecx
adc dword [esi + 0x1044], edx
cdq
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x4fa8a9
cmp al, 0xd
jne 0x4fa558
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4fa565
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4fa5e4
sub ecx, 0x64
je 0x4fa5ac
sub ecx, 1
je 0x4fa593
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x4fa63f
cmp dword [esi + 0x11c], 1
je 0x4faa4a
mov byte [esi + 0x588], 0
jmp 0x4fa63f
cmp dword [esi + 0x118], 0
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jle 0x4fa63f
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.004e0910
add esp, 8
jmp 0x4fa63f
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0x588], 0
cmp eax, 0xffffffff
jne 0x4fa63f
cmp byte [esi + 0x58d], 0
jne 0x4fa63f
cmp byte [ebx + 0x2a4], 0
jne 0x4fa63f
cmp dword [ebx + 0x184], 0xb
jne 0x4fa63f
mov eax, dword [ebx + 0x2e8]
test dword [eax + 0x40], 0x40000
jne 0x4fa63f
cmp dword [esi + 0x830], 6
je 0x4fa63f
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004ee810
push 2
push ebx
call fcn.004ef3f0
add esp, 0x10
mov cl, byte [ebx + 0x2a4]
mov al, cl
test cl, cl
je 0x4fa68e
mov edx, dword [esi + 0x100]
cmp edx, 0x191
jne 0x4fa662
cmp dword [ebx + 0x38c], 2
je 0x4fa673
cmp edx, 0x197
jne 0x4fa68e
cmp dword [ebx + 0x390], 2
jne 0x4fa68e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004ee810
mov byte [esi + 0xff1], 1
add esp, 8
mov al, byte [ebx + 0x2a4]
test al, al
je 0x4fa6cf
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4fa6aa
cmp dword [ebx + 0x414], 1
je 0x4fa6ba
jmp 0x4fa6cf
cmp eax, 0x197
jne 0x4fa6cf
cmp dword [ebx + 0x418], 1
jne 0x4fa6cf
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004ee810
add esp, 8
mov byte [esi + 0xff1], 1
cmp dword [ebx + 0x414], 3
jne 0x4fa6ee
cmp dword [esi + 0x100], 0x191
je 0x4fa6ee
mov dword [ebx + 0x414], 4
cmp dword [ebx + 0x418], 3
jne 0x4fa70d
cmp dword [esi + 0x100], 0x197
je 0x4fa70d
mov dword [ebx + 0x418], 4
push ebx
call fcn.004fb0d0
add esp, 4
test eax, eax
jne 0x4fab7a
mov eax, dword [esi + 0xca4]
mov edi, dword [esi + 0xf4]
sub edi, eax
push edi
push eax
xor eax, eax
cmp byte [esi + 0xac1], al
setne al
add eax, 2
push eax
push ebx
call fcn.004ee670
add esp, 0x10
test eax, eax
jne 0x4fa91d
mov eax, edi
cdq
mov ecx, eax
add dword [esi + 0x1040], ecx
adc dword [esi + 0x1044], edx
add ecx, dword [esi + 0xa8]
mov dword [esi + 0xa8], ecx
adc edx, dword [esi + 0xac]
mov dword [esi + 0xac], edx
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x4fa796
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.004f93d0
add esp, 4
test eax, eax
jne 0x4fa91d
cmp dword [esi + 0x100], 0x12c
jl 0x4fa89c
cmp byte [ebx + 0x2b4], al
jne 0x4fa87e
cmp byte [ebx + 0x2a4], al
jne 0x4fa87e
cmp byte [ebx + 0x2b5], al
jne 0x4fa887
mov eax, dword [esi + 0x830]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4fa87e
push 0
push esi
call fcn.004e0910
add esp, 8
cmp byte [esi + 0x58a], 0
jne 0x4fa87e
cmp byte [esi + 0xabd], 0
je 0x4fa840
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004ee810
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x4fa87e
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x4fa87e
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004ee810
push 2
push ebx
call fcn.004ef3f0
push ebp
push ebx
call fcn.004f34d0
add esp, 0x18
test eax, eax
jne 0x4fa91d
mov byte [esi + 0x58a], 1
cmp byte [esi + 0xff4], al
je 0x4fa87e
mov dword [esi + 0x118], 3
cmp byte [ebx + 0x2b5], 0
je 0x4fa89c
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004ee810
add esp, 8
or dword [esi + 0x138], 2
cmp byte [esi + 0x588], 0
je 0x4faa80
mov eax, dword [esi + 0xca4]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov edi, dword [esi + 0xe8]
cmp byte [edi], 0
je 0x4fa91b
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xec], edi
push dword [eax]
push 0xa
push edi
call fcn.0053a3b0
lea ebp, [esi + 0x88]
jmp 0x4f9a2b
push 2
push ebx
call fcn.004ef3f0
add esp, 8
cmp byte [esi + 0xae2], 0
je 0x4fac02
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x588], 0
cmp dword [eax], 0
je 0x4fa925
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.004ee730
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call fcn.0054df30
add esp, 0xc
test eax, eax
jne 0x4fab7a
push 0x20
push edi
call fcn.0053d0a0
mov edi, eax
add esp, 8
test edi, edi
je 0x4fab7a
inc edi
cmp byte [edi], 0
je 0x4fab7a
push 0xd
push edi
mov byte [esp + 0x54], 0xd
call fcn.0053d0a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4fa9d1
push 0xa
push edi
mov byte [esp + 0x54], 0xa
call fcn.0053d0a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4fab7a
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.004ee730
mov al, byte [esp + 0x58]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
mov byte [esi + 0x588], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004ee730
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004ee730
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x30
ret
push str.Received_101_n
push esi
call fcn.004ee810
add esp, 8
mov dword [esi + 0x11c], 2
mov byte [esi + 0x588], 1
mov eax, 1
mov dword [esi + 0xdc], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp byte [esi + 0xac4], 0
mov ebp, dword [esp + 0x50]
jne 0x4faaec
mov eax, dword [ebx + 0x2e8]
test dword [eax + 0x40], 0x40000
je 0x4faab9
cmp dword [esi + 0xa50], 2
jne 0x4faab9
cmp dword [esi + 0x8c], 0xffffffff
jl 0x4faaec
jg 0x4faab9
cmp dword [esi + 0x88], 0xffffffff
jbe 0x4faaec
cmp byte [esi + 0x58d], 0
je 0x4faaf0
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x4faaf0
mov byte [ebp], 1
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
cmp ecx, 0xffffffff
jne 0x4fab13
cmp eax, ecx
jne 0x4fab13
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x4fab36
push eax
push ecx
push esi
call fcn.004fb970
mov ecx, dword [esi + 0x88]
add esp, 0xc
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x4fab44
test eax, eax
jne 0x4fab44
mov byte [ebp], 1
jmp 0x4fab4a
cmp byte [ebp], 0
je 0x4fab51
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0xac6], 0
je 0x4fa91b
push edi
push dword [esi + 0xec]
push 1
push esi
call fcn.004ee6a0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004ee730
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x4c]
push dword [eax]
push ebp
push esi
call fcn.004fadd0
add esp, 0xc
test eax, eax
jne 0x4fa91d
cmp dword [esi + 0xdc], eax
jne 0x4fa91b
push dword [esi + 0xe4]
push dword [esi + 0xca4]
push ebx
push esi
call fcn.004facd0
add esp, 0x10
cmp eax, 2
jne 0x4fa91b
push eax
push ebx
mov byte [esi + 0x588], 0
mov dword [esi + 0xd8], eax
call fcn.004ef3f0
add esp, 8
cmp byte [esi + 0xae2], 0
jne 0x4fa91b
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004ee730
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret