Function at 0x1003af60
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
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.100808f0
mov ebx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x1003bea7
nop dword [eax]
sub edi, eax
mov eax, dword [esp + 0x44]
dec edi
add dword [eax], edi
lea edi, [esi + 0x88]
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push edi
push esi
call fcn.1003c380
add esp, 0xc
test eax, eax
jne 0x1003bf51
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov edx, dword [esi + 0xcec]
mov dword [esi + 0xf4], edx
jne 0x1003b063
mov eax, dword [ebx + 0x548]
mov ecx, dword [esi + 0xe4]
test dword [eax + 0x40], 0x40000
je 0x1003b04d
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.100333f0
add esp, 0xc
test eax, eax
cmovne ebp, edi
lea edi, [esi + 0x88]
jmp 0x1003b05a
push ecx
push edx
push esi
call fcn.1003c1c0
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x1003bf21
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x1003baad
cmp al, 0xd
je 0x1003bab1
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x1003b34e
mov eax, dword [ebx + 0x548]
mov eax, dword [eax + 0x40]
test al, 3
je 0x1003b1c5
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x40]
push eax
lea edi, [ebx + 0x3e8]
push edi
lea eax, [esp + 0x24]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.10024ed0
add esp, 0x18
cmp eax, 1
jne 0x1003b108
cmp dword [esp + 0x18], 2
jl 0x1003bf7d
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.10024ed0
add esp, 0x10
cmp eax, 2
jne 0x1003bf7d
mov dword [edi], 0
mov byte [esp + 0x3c], 0x20
jmp 0x1003b118
cmp eax, 4
jne 0x1003b16e
cmp byte [esp + 0x3c], 0x20
jne 0x1003bf7d
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 0x1003b146
cmp eax, 0x14
je 0x1003b146
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.1002ee40
mov ecx, dword [edi]
add esp, 8
cmp ecx, 0x14
jge 0x1003b225
mov eax, dword [ebx + 0x7dc]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.1002ee40
add esp, 8
jmp 0x1003b225
test eax, eax
jne 0x1003bf7d
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.10024ed0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x1003b225
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.1003c1c0
add esp, 0xc
cmp eax, 1
jne 0x1003c02a
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x1003b225
test eax, 0x40000
je 0x1003c02a
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x17]
push eax
lea edi, [ebx + 0x3ec]
push edi
lea eax, [esp + 0x28]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.10024ed0
add esp, 0x18
cmp eax, 4
jne 0x1003c02a
cmp byte [esp + 0x13], 0x20
jne 0x1003c02a
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x3e8], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x3e8]
mov eax, dword [ebp]
mov dword [esi + 0x1070], eax
mov eax, dword [edi]
mov dword [esi + 0x1078], eax
mov eax, dword [esi + 0xfc4]
test eax, eax
je 0x1003b244
cmp eax, dword [edi]
jle 0x1003b24c
mov eax, dword [edi]
mov dword [esi + 0xfc4], eax
mov eax, dword [esi + 0xfd0]
or eax, dword [esi + 0xfd4]
je 0x1003b275
cmp dword [esi + 0x840], 1
jne 0x1003b275
cmp dword [ebp], 0x1a0
jne 0x1003b275
mov byte [esi + 0x58b], 1
jmp 0x1003b2b0
cmp byte [esi + 0xb08], 0
je 0x1003b2b0
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x1003b2b0
cmp eax, 0x191
jne 0x1003b298
cmp byte [ebx + 0x510], 0
jmp 0x1003b2aa
cmp eax, 0x197
jne 0x1003bf98
cmp byte [ebx + 0x511], 0
je 0x1003bf98
mov eax, dword [edi]
cmp eax, 0xa
jne 0x1003b2cf
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.1002ee40
push 1
push ebx
call fcn.1002fa40
add esp, 0x10
jmp 0x1003b2ef
cmp eax, 0x14
je 0x1003b2e3
cmp dword [esi + 0x11c], 1
jne 0x1003b2ef
cmp dword [ebp], 0x65
jne 0x1003b2ef
mov eax, dword [ebx + 0x7dc]
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 0x1003b31d
sub ecx, 0x64
jne 0x1003b34e
cmp dword [esi + 0x834], ecx
je 0x1003b31d
mov byte [esi + 0x1130], 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 0x1003b354
lea ebp, [esi + 0x88]
cmp byte [esi + 0x58c], 0
jne 0x1003b42e
cmp byte [esi + 0xb18], 0
jne 0x1003b42e
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b42e
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1003fdf0
add esp, 0x10
test eax, eax
jne 0x1003b3f8
mov edi, dword [esi + 0x920]
mov eax, edi
mov edx, dword [esi + 0x924]
or eax, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x1003b3d6
cmp ecx, edx
jg 0x1003c03b
jl 0x1003b3d6
cmp eax, edi
ja 0x1003c03b
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.1003d140
add esp, 0xc
jmp 0x1003ba35
cmp eax, 1
jne 0x1003c056
mov eax, dword [esi + 0x920]
or eax, dword [esi + 0x924]
jne 0x1003c03b
push 2
push ebx
call fcn.1002fa40
push str.Overflow_Content_Length:_value__n
push esi
call fcn.1002ee40
add esp, 0x10
jmp 0x1003ba35
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b48d
push dword [esi + 0xf4]
call fcn.1003a870
mov edi, eax
add esp, 4
test edi, edi
je 0x1003c071
cmp byte [edi], 0
jne 0x1003b473
push edi
call dword [0x100d009c]
add esp, 4
jmp 0x1003ba35
push dword [esi + 0x10a4]
call dword [0x100d009c]
add esp, 4
mov dword [esi + 0x10a4], edi
jmp 0x1003ba35
cmp dword [ebx + 0x3e8], 0xa
jne 0x1003b4d6
cmp byte [ebx + 0x50e], 0
je 0x1003b4d6
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.1003a7b0
add esp, 0xc
test al, al
je 0x1003b4d6
push 0
push ebx
call fcn.1002fa40
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.1002ee40
add esp, 0x10
jmp 0x1003ba35
cmp dword [ebx + 0x3e8], 0xb
jne 0x1003b51f
cmp byte [ebx + 0x50e], 0
je 0x1003b51f
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.1003a7b0
add esp, 0xc
test al, al
je 0x1003b51f
push 1
push ebx
call fcn.1002fa40
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.1002ee40
add esp, 0x10
jmp 0x1003ba35
cmp dword [ebx + 0x3e8], 0xa
jne 0x1003b55f
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.1003a7b0
add esp, 0xc
test al, al
je 0x1003b55f
push 0
push ebx
call fcn.1002fa40
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.1002ee40
add esp, 0x10
jmp 0x1003ba35
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.1003a7b0
add esp, 0xc
test al, al
je 0x1003b58b
push 2
push ebx
call fcn.1002fa40
add esp, 8
jmp 0x1003ba35
cmp byte [esi + 0x58c], 0
jne 0x1003b60c
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b5c7
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push ebx
call fcn.10033730
add esp, 0xc
jmp 0x1003ba2d
cmp byte [esi + 0x58c], 0
jne 0x1003b60c
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b60c
cmp dword [esi + 0x978], 0
je 0x1003b60c
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push ebx
call fcn.10033730
add esp, 0xc
jmp 0x1003ba2d
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b6a0
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x20], xmm0
push eax
call fcn.10040240
mov ebp, eax
add esp, 4
mov edi, edx
cmp ebp, 0xffffffff
jne 0x1003b681
cmp edi, eax
jne 0x1003b681
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.1003fdf0
mov edi, dword [esp + 0x34]
add esp, 0x10
mov ebp, dword [esp + 0x20]
mov dword [esi + 0x10b0], ebp
mov dword [esi + 0x10b4], edi
jmp 0x1003ba35
push 0
call fcn.1008c676
add esp, 4
sub ebp, eax
mov dword [esi + 0x10b0], ebp
sbb edi, edx
mov dword [esi + 0x10b4], edi
jmp 0x1003ba35
cmp byte [esi + 0x58c], 0
jne 0x1003b76c
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b76c
mov edi, dword [esi + 0xf4]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x1003b6fd
nop dword [eax]
movzx eax, al
push eax
call fcn.10056df0
add esp, 4
test eax, eax
jne 0x1003b6fd
cmp byte [edi], 0x2a
je 0x1003b6fd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b6e0
movzx eax, byte [edi]
push eax
call fcn.10056df0
add esp, 4
test eax, eax
je 0x1003b753
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push edi
call fcn.1003fdf0
add esp, 0x10
test eax, eax
jne 0x1003ba35
mov eax, dword [esi + 0xfd0]
cmp eax, dword [ebp]
jne 0x1003ba35
mov eax, dword [esi + 0xfd4]
cmp eax, dword [ebp + 4]
jne 0x1003ba35
mov byte [esi + 0x589], 1
jmp 0x1003ba35
mov dword [esi + 0xfd0], 0
mov dword [esi + 0xfd4], 0
jmp 0x1003ba35
cmp dword [esi + 0xb44], 0
je 0x1003b7fa
cmp byte [esi + 0x1043], 0
je 0x1003b7fa
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b7fa
push 2
push 2
push esi
call fcn.10033940
mov ecx, dword [ebx + 0x590]
add esp, 0xc
test ecx, ecx
jne 0x1003b7b8
mov ecx, dword [ebx + 0x304]
mov eax, dword [ebx + 0x548]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0x1020]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xb44]
push esi
call fcn.10022f50
push 2
push esi
call fcn.10033980
add esp, 0x28
jmp 0x1003ba35
cmp byte [esi + 0x58c], 0
jne 0x1003b870
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b870
cmp dword [esi + 0x834], 0
jne 0x1003b82e
cmp byte [esi + 0xafd], 0
je 0x1003b870
mov eax, dword [esi + 0xf4]
add eax, 0xe
push eax
call fcn.10040240
add esp, 4
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
cmp byte [esi + 0xafd], 0
je 0x1003ba35
mov dword [esi + 0x1080], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x1084], eax
jmp 0x1003ba35
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b897
mov edi, dword [esi + 0x100]
cmp edi, 0x191
je 0x1003b8be
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b908
mov edi, dword [esi + 0x100]
cmp edi, 0x197
jne 0x1003b908
push dword [esi + 0xf4]
call fcn.1003a870
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1003c071
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.1003abf0
push ebp
mov edi, eax
call dword [0x100d009c]
add esp, 0x10
test edi, edi
je 0x1003ba35
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003b984
cmp dword [esi + 0xd74], 4
jne 0x1003ba35
push dword [esi + 0xf4]
call fcn.1003a870
mov edi, eax
add esp, 4
test edi, edi
je 0x1003c071
push 5
push edi
push str.false
call fcn.100333f0
test eax, eax
mov byte [ebx + 0x6bd], 1
push edi
setne al
mov byte [ebx + 0x6bc], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.1002ee40
push edi
call dword [0x100d009c]
add esp, 0x20
jmp 0x1003ba35
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1003ba0f
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.100333f0
add esp, 0xc
test eax, eax
je 0x1003ba0f
cmp dword [esi + 0x13c], 0
jne 0x1003ba0f
push dword [esi + 0xf4]
call fcn.1003a870
add esp, 4
test eax, eax
je 0x1003c071
cmp byte [eax], 0
jne 0x1003b9dd
push eax
call dword [0x100d009c]
add esp, 4
jmp 0x1003ba35
cmp byte [esi + 0xb0a], 0
mov dword [esi + 0x13c], eax
je 0x1003ba35
push eax
call dword [0x100d00a4]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x1003c071
push ebx
call fcn.1003c440
add esp, 4
jmp 0x1003ba2d
mov eax, dword [ebx + 0x548]
test dword [eax + 0x40], 0x40000
je 0x1003ba35
push dword [esi + 0xf4]
push ebx
call fcn.1004f6d0
add esp, 8
test eax, eax
jne 0x1003bf51
xor eax, eax
cmp byte [esi + 0xb0d], al
setne al
add eax, 2
cmp byte [esi + 0xb12], 0
mov dword [esp + 0x20], eax
je 0x1003ba6b
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.1002ecd0
mov eax, dword [esp + 0x30]
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push eax
push ebx
call fcn.1002eca0
add esp, 0x10
test eax, eax
jne 0x1003bf51
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0x1088], eax
adc dword [esi + 0x108c], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x1003be57
cmp al, 0xd
jne 0x1003baba
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x1003bac7
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x1003bb46
sub ecx, 0x64
je 0x1003bb0e
sub ecx, 1
je 0x1003baf5
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x1003bba0
cmp dword [esi + 0x11c], 1
je 0x1003c07e
mov byte [esi + 0x588], 0
jmp 0x1003bba0
cmp dword [esi + 0x118], 0
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jle 0x1003bba0
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.100200b0
add esp, 8
jmp 0x1003bba0
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [esi + 0x588], 0
cmp eax, 0xffffffff
jne 0x1003bba0
cmp byte [esi + 0x58d], 0
jne 0x1003bba0
cmp byte [ebx + 0x508], 0
jne 0x1003bba0
cmp dword [ebx + 0x3e8], 0xb
jne 0x1003bba0
mov eax, dword [ebx + 0x548]
test dword [eax + 0x40], 0x40000
jne 0x1003bba0
cmp dword [esi + 0x840], 6
je 0x1003bba0
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.1002ee40
push 2
push ebx
call fcn.1002fa40
add esp, 0x10
mov al, byte [ebx + 0x508]
test al, al
je 0x1003bc32
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x1003bbc6
cmp dword [ebx + 0x5ec], 2
je 0x1003bbd6
jmp 0x1003bbf5
cmp eax, 0x197
jne 0x1003bbf5
cmp dword [ebx + 0x5f0], 2
jne 0x1003bbf5
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.1002ee40
mov byte [esi + 0x1039], 1
add esp, 8
mov al, byte [ebx + 0x508]
test al, al
je 0x1003bc32
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x1003bc0d
cmp dword [ebx + 0x674], 1
je 0x1003bc1d
jmp 0x1003bc32
cmp eax, 0x197
jne 0x1003bc32
cmp dword [ebx + 0x678], 1
jne 0x1003bc32
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.1002ee40
add esp, 8
mov byte [esi + 0x1039], 1
cmp dword [ebx + 0x674], 3
jne 0x1003bc51
cmp dword [esi + 0x100], 0x191
je 0x1003bc51
mov dword [ebx + 0x674], 4
cmp dword [ebx + 0x678], 3
jne 0x1003bc70
cmp dword [esi + 0x100], 0x197
je 0x1003bc70
mov dword [ebx + 0x678], 4
push ebx
call fcn.1003c670
add esp, 4
test eax, eax
jne 0x1003c19b
mov eax, dword [esi + 0xcec]
mov ebp, dword [esi + 0xf4]
sub ebp, eax
push ebp
push eax
xor eax, eax
cmp byte [esi + 0xb0d], al
setne al
add eax, 2
push eax
push ebx
call fcn.1002eca0
add esp, 0x10
test eax, eax
jne 0x1003bf51
mov eax, ebp
cdq
mov ecx, eax
add dword [esi + 0x1088], ecx
adc dword [esi + 0x108c], 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 0x1003bcf9
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.1003a940
add esp, 4
test eax, eax
jne 0x1003bf51
cmp dword [esi + 0x100], 0x12c
jl 0x1003be4a
cmp byte [ebx + 0x518], al
jne 0x1003be2c
cmp byte [ebx + 0x508], al
jne 0x1003be2c
cmp byte [ebx + 0x519], al
jne 0x1003be35
mov eax, dword [esi + 0x840]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1003be2c
push 0
push esi
call fcn.100200b0
add esp, 8
cmp byte [esi + 0x58a], 0
jne 0x1003be2c
cmp dword [esi + 0x100], 0x1a1
jne 0x1003bdbb
cmp byte [esi + 0x103c], 0
je 0x1003bdbb
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.1002ee40
mov byte [esi + 0x103d], 1
mov eax, dword [ebx]
push dword [eax + 0xb30]
call dword [0x100d00a4]
push edi
push ebx
mov dword [esi + 0x140], eax
call fcn.10034840
add esp, 0x14
jmp 0x1003be2c
cmp byte [esi + 0xb09], 0
je 0x1003bdee
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.1002ee40
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x1003be2c
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x1003be2c
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.1002ee40
push 2
push ebx
call fcn.1002fa40
push edi
push ebx
call fcn.10034840
add esp, 0x18
test eax, eax
jne 0x1003bf51
mov byte [esi + 0x58a], 1
cmp byte [esi + 0x103c], al
je 0x1003be2c
mov dword [esi + 0x118], 3
cmp byte [ebx + 0x519], 0
je 0x1003be4a
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.1002ee40
add esp, 8
or dword [esi + 0x138], 2
cmp byte [esi + 0x588], 0
je 0x1003c0b4
mov eax, dword [esi + 0xcec]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov edi, dword [esi + 0xe8]
cmp byte [edi], 0
je 0x1003bf4f
mov eax, dword [esp + 0x44]
mov dword [esi + 0xec], edi
push dword [eax]
push 0xa
push edi
call fcn.100808f0
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x1003afb0
lea ebp, [esi + 0x88]
mov eax, dword [esp + 0x44]
push dword [eax]
push ebp
push esi
call fcn.1003c380
add esp, 0xc
test eax, eax
jne 0x1003bf51
cmp dword [esi + 0xdc], eax
jne 0x1003bf4f
push dword [esi + 0xe4]
push dword [esi + 0xcec]
push ebx
push esi
call fcn.1003c270
add esp, 0x10
cmp eax, 2
jne 0x1003bf4f
push eax
push ebx
mov byte [esi + 0x588], 0
mov dword [esi + 0xd8], eax
call fcn.1002fa40
add esp, 8
cmp byte [esi + 0xb2e], 0
jne 0x1003bf4f
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.1002ed60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 2
push ebx
call fcn.1002fa40
add esp, 8
cmp byte [esi + 0xb2e], 0
je 0x1003bf06
mov eax, dword [esp + 0x44]
mov byte [esi + 0x588], 0
cmp dword [eax], 0
je 0x1003bf59
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
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, 0x28
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.1002ed60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call fcn.1008a6d0
add esp, 0xc
test eax, eax
jne 0x1003c19b
push 0x20
push edi
call fcn.10080410
mov edi, eax
add esp, 8
test edi, edi
je 0x1003c19b
inc edi
cmp byte [edi], 0
je 0x1003c19b
push 0xd
push edi
mov byte [esp + 0x4c], 0xd
call fcn.10080410
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003c005
push 0xa
push edi
mov byte [esp + 0x4c], 0xa
call fcn.10080410
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003c19b
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.1002ed60
mov al, byte [esp + 0x50]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
mov byte [esi + 0x588], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.1002ed60
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.1002ed60
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
push str.Received_101_n
push esi
call fcn.1002ee40
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, 0x28
ret
cmp byte [esi + 0xb10], 0
mov edi, dword [esp + 0x48]
jne 0x1003c118
mov eax, dword [ebx + 0x548]
lea ebx, [esi + 0x88]
test dword [eax + 0x40], 0x40000
je 0x1003c0ec
cmp dword [esi + 0xa9c], 2
jne 0x1003c0ec
cmp dword [ebx + 4], 0xffffffff
jl 0x1003c11e
jg 0x1003c0ec
cmp dword [ebx], 0xffffffff
jbe 0x1003c11e
cmp byte [esi + 0x58d], 0
je 0x1003c121
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x1003c121
lea ebx, [esi + 0x88]
mov byte [edi], 1
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
cmp ecx, 0xffffffff
jne 0x1003c13d
cmp eax, ecx
jne 0x1003c13d
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x1003c159
push eax
push ecx
push esi
call fcn.1003d140
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ebx + 4]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x1003c166
test eax, eax
jne 0x1003c166
mov byte [edi], 1
jmp 0x1003c16b
cmp byte [edi], 0
je 0x1003c172
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0xb12], 0
je 0x1003bf4f
push ebp
push dword [esi + 0xec]
push 1
push esi
call fcn.1002ecd0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.1002ed60
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret