Function at 0x536020
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 + 0x20], ecx
mov ecx, dword [esi + 0xe8]
lea ebp, [esi + 0x88]
mov dword [esi + 0xec], ecx
mov edi, ecx
push dword [eax]
mov dword [esp + 0x28], ecx
push 0xa
push ecx
call fcn.004ef8f0
mov ebx, dword [esp + 0x54]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x5371f4
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.00537450
add esp, 0xc
test eax, eax
jne 0x536f74
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov edx, dword [esi + 0xc5c]
mov dword [esi + 0xf4], edx
jne 0x536119
mov eax, dword [ebx + 0x2c8]
mov ecx, dword [esi + 0xe4]
test dword [eax + 0x40], 0x40000
je 0x5360fd
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.0052e4f0
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x53610a
push ecx
push edx
push esi
call fcn.00537290
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x536f3d
lea ebp, [esi + 0x88]
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x536b90
cmp al, 0xd
je 0x536b94
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x536423
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x53627b
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.0049e8c0
add esp, 0x18
cmp eax, 1
jne 0x5361be
cmp dword [esp + 0x18], 2
jl 0x536fa0
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.0049e8c0
add esp, 0x10
cmp eax, 2
jne 0x536fa0
mov dword [edi], 0
mov byte [esp + 0x44], 0x20
jmp 0x5361ce
cmp eax, 4
jne 0x536224
cmp byte [esp + 0x44], 0x20
jne 0x536fa0
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 0x5361fc
cmp eax, 0x14
je 0x5361fc
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.0052abb0
mov ecx, dword [edi]
add esp, 8
cmp ecx, 0x14
jge 0x5362db
mov eax, dword [ebx + 0x564]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.0052abb0
add esp, 8
jmp 0x5362db
test eax, eax
jne 0x536fa0
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.0049e8c0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x5362db
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.00537290
add esp, 0xc
cmp eax, 1
jne 0x53704d
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x5362db
test eax, 0x40000
je 0x53704d
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.0049e8c0
add esp, 0x18
cmp eax, 4
jne 0x53704d
cmp byte [esp + 0x13], 0x20
jne 0x53704d
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 + 0xfd0], eax
mov eax, dword [edi]
mov dword [esi + 0xfd8], eax
mov eax, dword [esi + 0xf34]
test eax, eax
je 0x5362fa
cmp eax, dword [edi]
jle 0x536302
mov eax, dword [edi]
mov dword [esi + 0xf34], eax
mov eax, dword [esi + 0xf40]
or eax, dword [esi + 0xf44]
je 0x53632b
cmp dword [esi + 0x828], 1
jne 0x53632b
cmp dword [ebp], 0x1a0
jne 0x53632b
or dword [esi + 0x588], 8
jmp 0x53636f
test dword [esi + 0xa98], 0x100000
je 0x53636f
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x53636f
cmp eax, 0x191
jne 0x536354
test dword [ebx + 0x29c], 0x100
jmp 0x536369
cmp eax, 0x197
jne 0x536fbb
test dword [ebx + 0x29c], 0x200
je 0x536fbb
mov eax, dword [edi]
cmp eax, 0xa
jne 0x53638e
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.0052abb0
push 1
push ebx
call fcn.0052b790
add esp, 0x10
jmp 0x5363ae
cmp eax, 0x14
je 0x5363a2
cmp dword [esi + 0x11c], 1
jne 0x5363ae
cmp dword [ebp], 0x65
jne 0x5363ae
mov eax, dword [ebx + 0x564]
mov dword [eax], 2
mov edx, dword [ebp]
mov ecx, 0x63
lea eax, [edx - 0x64]
cmp ecx, eax
mov eax, dword [esi + 0x588]
sbb ecx, ecx
and eax, 0xffffffef
and ecx, 0xfffffff0
add ecx, 0x10
or ecx, eax
mov dword [esi + 0x588], ecx
sub edx, 0xcc
je 0x5363f0
sub edx, 0x64
jne 0x536423
cmp dword [esi + 0x81c], edx
je 0x5363f0
or dword [esi + 0x1090], 1
lea ebp, [esi + 0x88]
or ecx, 0x10
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x588], ecx
jmp 0x536429
lea ebp, [esi + 0x88]
test byte [esi + 0x588], 0x10
jne 0x536503
test byte [esi + 0xa9c], 0x10
jne 0x536503
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x536503
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0053afa0
add esp, 0x10
test eax, eax
jne 0x5364cd
mov edi, dword [esi + 0x8f8]
mov eax, edi
mov edx, dword [esi + 0x8fc]
or eax, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x5364ab
cmp ecx, edx
jg 0x53705e
jl 0x5364ab
cmp eax, edi
ja 0x53705e
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.00538070
add esp, 0xc
jmp 0x536b19
cmp eax, 1
jne 0x537079
mov eax, dword [esi + 0x8f8]
or eax, dword [esi + 0x8fc]
jne 0x53705e
push 2
push ebx
call fcn.0052b790
push str.Overflow_Content_Length:_value__n
push esi
call fcn.0052abb0
add esp, 0x10
jmp 0x536b19
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x536562
push dword [esi + 0xf4]
call fcn.00535900
mov edi, eax
add esp, 4
test edi, edi
je 0x537094
cmp byte [edi], 0
jne 0x536548
push edi
call dword [0x6412b4]
add esp, 4
jmp 0x536b19
push dword [esi + 0x1004]
call dword [0x6412b4]
add esp, 4
mov dword [esi + 0x1004], edi
jmp 0x536b19
cmp dword [ebx + 0x184], 0xa
jne 0x5365ab
test byte [ebx + 0x29c], 0x40
je 0x5365ab
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.00535840
add esp, 0xc
test al, al
je 0x5365ab
push 0
push ebx
call fcn.0052b790
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.0052abb0
add esp, 0x10
jmp 0x536b19
cmp dword [ebx + 0x184], 0xb
jne 0x5365f4
test byte [ebx + 0x29c], 0x40
je 0x5365f4
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.00535840
add esp, 0xc
test al, al
je 0x5365f4
push 1
push ebx
call fcn.0052b790
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.0052abb0
add esp, 0x10
jmp 0x536b19
cmp dword [ebx + 0x184], 0xa
jne 0x536634
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.00535840
add esp, 0xc
test al, al
je 0x536634
push 0
push ebx
call fcn.0052b790
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.0052abb0
add esp, 0x10
jmp 0x536b19
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.00535840
add esp, 0xc
test al, al
je 0x536660
push 2
push ebx
call fcn.0052b790
add esp, 8
jmp 0x536b19
test byte [esi + 0x588], 0x10
jne 0x5366e1
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x53669c
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push ebx
call fcn.0052e830
add esp, 0xc
jmp 0x536b11
test byte [esi + 0x588], 0x10
jne 0x5366e1
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x5366e1
cmp dword [esi + 0x950], 0
je 0x5366e1
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push ebx
call fcn.0052e830
add esp, 0xc
jmp 0x536b11
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x536777
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x28], xmm0
push 0
push eax
call fcn.0053a8a0
mov ebp, eax
add esp, 8
mov edi, edx
cmp ebp, 0xffffffff
jne 0x536758
cmp edi, eax
jne 0x536758
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.0053afa0
mov edi, dword [esp + 0x3c]
add esp, 0x10
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x1010], ebp
mov dword [esi + 0x1014], edi
jmp 0x536b19
push 0
call fcn.004f7428
add esp, 4
sub ebp, eax
mov dword [esi + 0x1010], ebp
sbb edi, edx
mov dword [esi + 0x1014], edi
jmp 0x536b19
test byte [esi + 0x588], 0x10
jne 0x53683c
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x53683c
mov edi, dword [esi + 0xf4]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x5367cd
movzx eax, al
push eax
call fcn.005513c0
add esp, 4
test eax, eax
jne 0x5367cd
cmp byte [edi], 0x2a
je 0x5367cd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5367b0
movzx eax, byte [edi]
push eax
call fcn.005513c0
add esp, 4
test eax, eax
je 0x536823
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push edi
call fcn.0053afa0
add esp, 0x10
test eax, eax
jne 0x536b19
mov eax, dword [esi + 0xf40]
cmp eax, dword [ebp]
jne 0x536b19
mov eax, dword [esi + 0xf44]
cmp eax, dword [ebp + 4]
jne 0x536b19
or dword [esi + 0x588], 2
jmp 0x536b19
mov dword [esi + 0xf40], 0
mov dword [esi + 0xf44], 0
jmp 0x536b19
cmp dword [esi + 0xab4], 0
je 0x5368bd
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x5368bd
push 2
push 2
push esi
call fcn.0052ea40
mov ecx, dword [ebx + 0x310]
add esp, 0xc
test ecx, ecx
jne 0x53687b
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xf90]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xab4]
push esi
call fcn.0051e710
push 2
push esi
call fcn.0052ea80
add esp, 0x28
jmp 0x536b19
test byte [esi + 0x588], 0x10
jne 0x53694d
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x53694d
cmp dword [esi + 0x81c], 0
jne 0x5368f8
test dword [esi + 0xa98], 0x200
je 0x53694d
push 0
call fcn.004f7428
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.0053a8a0
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
test dword [esi + 0xa98], 0x200
je 0x536b19
mov ecx, edx
mov dword [esi + 0xfe0], eax
mov dword [esi + 0xfe4], ecx
jmp 0x536b19
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x536974
mov edi, dword [esi + 0x100]
cmp edi, 0x191
je 0x53699b
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x5369e5
mov edi, dword [esi + 0x100]
cmp edi, 0x197
jne 0x5369e5
push dword [esi + 0xf4]
call fcn.00535900
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x537094
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.00535c80
push ebp
mov edi, eax
call dword [0x6412b4]
add esp, 0x10
test edi, edi
je 0x536b19
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.0052e4f0
add esp, 0xc
test eax, eax
je 0x536a61
cmp dword [esi + 0xce4], 4
jne 0x536b19
push dword [esi + 0xf4]
call fcn.00535900
mov edi, eax
add esp, 4
test edi, edi
je 0x537094
push 5
push edi
push str.false
call fcn.0052e4f0
test eax, eax
mov byte [ebx + 0x43d], 1
push edi
setne al
mov byte [ebx + 0x43c], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.0052abb0
push edi
call dword [0x6412b4]
add esp, 0x20
jmp 0x536b19
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x536af3
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.0052e4f0
add esp, 0xc
test eax, eax
je 0x536af3
cmp dword [esi + 0x13c], 0
jne 0x536af3
push dword [esi + 0xf4]
call fcn.00535900
add esp, 4
test eax, eax
je 0x537094
cmp byte [eax], 0
jne 0x536abe
push eax
call dword [0x6412b4]
add esp, 4
jmp 0x536b19
test dword [esi + 0xa98], 0x400000
mov dword [esi + 0x13c], eax
je 0x536b19
push eax
call dword [0x6412bc]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x537094
push ebx
call fcn.00537510
add esp, 4
jmp 0x536b11
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x536b19
push dword [esi + 0xf4]
push ebx
call fcn.00549dc0
add esp, 8
test eax, eax
jne 0x536f74
mov eax, dword [esi + 0xa98]
mov edi, eax
and edi, 0x2000000
or edi, 0x4000000
shr edi, 0x19
test eax, 0x40000000
je 0x536b4e
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.0052aa30
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push edi
push ebx
call fcn.0052aa00
add esp, 0x10
test eax, eax
jne 0x536f74
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xfe8], eax
adc dword [esi + 0xfec], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x536efd
cmp al, 0xd
jne 0x536b9d
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x536baa
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x536c2d
sub ecx, 0x64
je 0x536bf1
sub ecx, 1
je 0x536bd8
or dword [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x536c8c
cmp dword [esi + 0x11c], 1
je 0x5370a1
and dword [esi + 0x588], 0xfffffffe
jmp 0x536c8c
or dword [esi + 0x588], 1
cmp dword [esi + 0x118], 0
mov dword [esi + 0xdc], 0
jle 0x536c8c
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.0051bb00
add esp, 8
jmp 0x536c8c
mov ecx, dword [esi + 0x588]
mov eax, dword [ebp]
and ecx, 0xfffffffe
and eax, dword [ebp + 4]
mov dword [esi + 0x588], ecx
cmp eax, 0xffffffff
jne 0x536c8c
test cl, 0x20
jne 0x536c8c
test byte [ebx + 0x29c], 1
jne 0x536c8c
cmp dword [ebx + 0x184], 0xb
jne 0x536c8c
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x536c8c
cmp dword [esi + 0x828], 6
je 0x536c8c
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.0052abb0
push 2
push ebx
call fcn.0052b790
add esp, 0x10
mov ecx, dword [ebx + 0x29c]
mov eax, ecx
test cl, 1
je 0x536cde
mov edx, dword [esi + 0x100]
cmp edx, 0x191
jne 0x536cb2
cmp dword [ebx + 0x36c], 2
je 0x536cc3
jmp 0x536cde
cmp edx, 0x197
jne 0x536cde
cmp dword [ebx + 0x370], 2
jne 0x536cde
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0052abb0
add esp, 8
or dword [esi + 0xfa4], 0x20
mov eax, dword [ebx + 0x29c]
test al, 1
je 0x536d1f
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x536cfa
cmp dword [ebx + 0x3f4], 1
je 0x536d0a
jmp 0x536d1f
cmp eax, 0x197
jne 0x536d1f
cmp dword [ebx + 0x3f8], 1
jne 0x536d1f
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0052abb0
add esp, 8
or dword [esi + 0xfa4], 0x20
cmp dword [ebx + 0x3f4], 3
jne 0x536d3e
cmp dword [esi + 0x100], 0x191
je 0x536d3e
mov dword [ebx + 0x3f4], 4
cmp dword [ebx + 0x3f8], 3
jne 0x536d5d
cmp dword [esi + 0x100], 0x197
je 0x536d5d
mov dword [ebx + 0x3f8], 4
push ebx
call fcn.005377a0
add esp, 4
test eax, eax
jne 0x5371d3
mov eax, dword [esi + 0xc5c]
mov edi, dword [esi + 0xf4]
sub edi, eax
push edi
push eax
mov eax, dword [esi + 0xa98]
and eax, 0x2000000
or eax, 0x4000000
shr eax, 0x19
push eax
push ebx
call fcn.0052aa00
add esp, 0x10
test eax, eax
jne 0x536f74
mov eax, edi
cdq
mov ecx, eax
add dword [esi + 0xfe8], ecx
adc dword [esi + 0xfec], 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 0x536deb
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.005359d0
add esp, 4
test eax, eax
jne 0x536f74
cmp dword [esi + 0x100], 0x12c
jl 0x536eee
test dword [ebx + 0x29c], 0x30001
jne case.default.0x536e3a
mov eax, dword [esi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x536e3a
jmp dword [eax*4 + 0x53727c]
push 0
push esi
call fcn.0051bb00
add esp, 8
test byte [esi + 0x588], 4
jne case.default.0x536e3a
test dword [esi + 0xa98], 0x200000
je 0x536e8b
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.0052abb0
add esp, 8
cmp dword [esi + 0x118], 0
jle case.default.0x536e3a
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp case.default.0x536e3a
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.0052abb0
push 2
push ebx
call fcn.0052b790
push ebp
push ebx
call fcn.0052f950
add esp, 0x18
test eax, eax
jne 0x536f74
or dword [esi + 0x588], 4
test dword [esi + 0xfa4], 0x100
je case.default.0x536e3a
mov dword [esi + 0x118], 3
test dword [ebx + 0x29c], 0x20000
je 0x536eee
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.0052abb0
add esp, 8
or dword [esi + 0x138], 2
mov ecx, dword [esi + 0x588]
test cl, 1
je 0x5370d7
mov eax, dword [esi + 0xc5c]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov edi, dword [esi + 0xe8]
cmp byte [edi], 0
je 0x536f72
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xec], edi
push dword [eax]
push 0xa
push edi
call fcn.004ef8f0
lea ebp, [esi + 0x88]
jmp 0x53605b
push 2
push ebx
call fcn.0052b790
add esp, 8
test dword [esi + 0xa9c], 0x4000000
je 0x53725e
mov eax, dword [esp + 0x4c]
and dword [esi + 0x588], 0xfffffffe
cmp dword [eax], 0
je 0x536f7c
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
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.0052aac0
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.005006a0
add esp, 0xc
test eax, eax
jne 0x5371d3
push 0x20
push edi
call fcn.004efc10
mov edi, eax
add esp, 8
test edi, edi
je 0x5371d3
inc edi
cmp byte [edi], 0
je 0x5371d3
push 0xd
push edi
mov byte [esp + 0x54], 0xd
call fcn.004efc10
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x537028
push 0xa
push edi
mov byte [esp + 0x54], 0xa
call fcn.004efc10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x5371d3
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.0052aac0
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
and dword [esi + 0x588], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.0052aac0
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.0052aac0
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.0052abb0
add esp, 8
mov dword [esi + 0x11c], 2
or dword [esi + 0x588], 1
mov eax, 1
mov dword [esi + 0xdc], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
test dword [esi + 0xa98], 0x10000000
mov ebp, dword [esp + 0x50]
jne 0x537142
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x537113
cmp dword [esi + 0xa40], 2
jne 0x537113
cmp dword [esi + 0x8c], 0xffffffff
jl 0x537142
jg 0x537113
cmp dword [esi + 0x88], 0xffffffff
jbe 0x537142
test cl, 0x20
je 0x537146
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x537146
mov byte [ebp], 1
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
cmp ecx, 0xffffffff
jne 0x537169
cmp eax, ecx
jne 0x537169
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x53718c
push eax
push ecx
push esi
call fcn.00538070
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 0x53719a
test eax, eax
jne 0x53719a
mov byte [ebp], 1
jmp 0x5371a0
cmp byte [ebp], 0
je 0x5371a7
and dword [esi + 0x138], 0xfffffffe
test dword [esi + 0xa98], 0x40000000
je 0x536f72
push edi
push dword [esi + 0xec]
push 1
push esi
call fcn.0052aa30
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.0052aac0
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.00537450
add esp, 0xc
test eax, eax
jne 0x536f74
cmp dword [esi + 0xdc], eax
jne 0x536f72
push dword [esi + 0xe4]
push dword [esi + 0xc5c]
push ebx
push esi
call fcn.00537340
add esp, 0x10
cmp eax, 2
jne 0x536f72
and dword [esi + 0x588], 0xfffffffe
push eax
push ebx
mov dword [esi + 0xd8], eax
call fcn.0052b790
add esp, 8
test dword [esi + 0xa9c], 0x4000000
jne 0x536f72
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.0052aac0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret