Function at 0x52a030
Capabilities:
Check http status code

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ebx, dword [esi + 0xe0]
lea ebp, [esi + 0x88]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [edi]
mov dword [esp + 0x28], eax
nop dword [eax]
push dword [edi]
push 0xa
push ebx
call fcn.0057c850
add esp, 0xc
test eax, eax
je 0x52b0f0
mov ecx, dword [ebp + 0x58]
sub ecx, eax
inc eax
dec ecx
add dword [edi], ecx
lea edi, [esi + 0xd1c]
mov dword [ebp + 0x58], eax
sub eax, ebx
push eax
push ebx
push edi
call fcn.00514a80
add esp, 0xc
test eax, eax
jne 0x52af25
cmp dword [ebp + 0x54], eax
jne 0x52a1c2
push edi
call fcn.00514ae0
mov edi, eax
lea eax, [esi + 0xd1c]
push eax
mov dword [esp + 0x28], edi
call fcn.00514af0
mov ebx, dword [esp + 0x50]
add esp, 8
mov edx, eax
mov ecx, dword [ebx + 0x560]
test dword [ecx + 0x40], 0x40000
je 0x52a103
mov eax, edi
mov ecx, 5
cmp eax, 5
sbb edi, edi
inc edi
cmp eax, 5
cmova eax, ecx
push eax
push edx
push str.RTSP_
call fcn.00521da0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
jmp 0x52a10e
push edi
push edx
push esi
call fcn.0052b250
add esp, 0xc
cmp eax, 2
je 0x52aef4
lea edi, [esi + 0xd1c]
push edi
call fcn.00514af0
mov edi, eax
add esp, 4
mov al, byte [edi]
cmp al, 0xa
je 0x52ab39
cmp al, 0xd
je 0x52ab39
mov edx, dword [ebp + 0x54]
lea ecx, [edx + 1]
mov dword [ebp + 0x54], ecx
test edx, edx
jne 0x52a439
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
test al, 3
je 0x52a2b9
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea eax, [ebx + 0x3e8]
push eax
lea eax, [esp + 0x28]
push eax
push str._HTTP__1d._1d_c_3d
push edi
call fcn.00423550
add esp, 0x18
cmp eax, 1
jne 0x52a1cb
cmp dword [esp + 0x1c], 2
jl 0x52af4b
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push edi
call fcn.00423550
add esp, 0x10
cmp eax, 2
jne 0x52af4b
lea ecx, [ebx + 0x3e8]
mov byte [esp + 0x44], 0x20
mov dword [ecx], 0
jmp 0x52a1e1
mov ebx, dword [esp + 0x48]
jmp 0x52a11d
cmp eax, 4
jne 0x52a240
cmp byte [esp + 0x44], 0x20
jne 0x52af4b
lea ecx, [ebx + 0x3e8]
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [ebp + 0x84], 2
jne 0x52a212
cmp dword [ecx], 0x14
je 0x52a316
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.0051ef30
add esp, 8
lea ecx, [ebx + 0x3e8]
cmp dword [ecx], 0x14
jge 0x52a316
mov eax, dword [ebx + 0x7dc]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.0051ef30
add esp, 8
lea ecx, [ebx + 0x3e8]
jmp 0x52a316
test eax, eax
jne 0x52af4b
lea eax, [ebp + 0x68]
push eax
push str._HTTP__3d
push edi
call fcn.00423550
add esp, 0xc
mov dword [ebx + 0x3e8], 0xa
lea ecx, [ebx + 0x3e8]
test eax, eax
jne 0x52a316
lea eax, [esi + 0xd1c]
push eax
call fcn.00514ae0
add esp, 4
push eax
lea eax, [esi + 0xd1c]
push eax
call fcn.00514af0
add esp, 4
push eax
push esi
call fcn.0052b250
add esp, 0xc
cmp eax, 1
jne 0x52af7c
lea ecx, [ebx + 0x3e8]
mov dword [ebp + 0x68], 0xc8
mov dword [ecx], 0xa
jmp 0x52a316
test eax, 0x40000
je 0x52af7c
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [ebx + 0x3ec]
push ecx
lea eax, [esp + 0x30]
push eax
push str._RTSP__1d._1d_c_3d
push edi
call fcn.00423550
add esp, 0x18
cmp eax, 4
jne 0x52af7c
cmp byte [esp + 0x13], 0x20
jne 0x52af7c
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0x3e8]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x3ec], eax
mov eax, dword [ebp + 0x68]
mov dword [esi + 0x1120], eax
mov eax, dword [ecx]
mov dword [esi + 0x1128], eax
mov eax, dword [esi + 0x103c]
test eax, eax
je 0x52a335
cmp eax, dword [ecx]
jle 0x52a33d
mov eax, dword [ecx]
mov dword [esi + 0x103c], eax
mov eax, dword [esi + 0x1048]
or eax, dword [esi + 0x104c]
je 0x52a366
cmp dword [esi + 0x10a0], 1
jne 0x52a366
cmp dword [ebp + 0x68], 0x1a0
jne 0x52a366
mov byte [ebp + 0x4ff], 1
jmp 0x52a3a1
cmp byte [esi + 0xb38], 0
je 0x52a3a1
mov eax, dword [ebp + 0x68]
cmp eax, 0x190
jl 0x52a3a1
cmp eax, 0x191
jne 0x52a389
cmp byte [ebx + 0x51b], 0
jne 0x52a3a1
cmp eax, 0x197
jne 0x52af66
cmp byte [ebx + 0x512], 0
je 0x52af66
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x52a3c0
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.0051ef30
push 1
push ebx
call fcn.0051f9c0
add esp, 0x10
jmp 0x52a3e0
cmp eax, 0x14
je 0x52a3d4
cmp dword [ebp + 0x84], 1
jne 0x52a3e0
cmp dword [ebp + 0x68], 0x65
jne 0x52a3e0
mov eax, dword [ebx + 0x7dc]
mov dword [eax], 2
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x52a3f3
cmp eax, 0xc8
jge 0x52a3f3
mov cl, 1
jmp 0x52a3f5
xor cl, cl
mov byte [ebp + 0x500], cl
sub eax, 0xcc
je 0x52a416
sub eax, 0x64
jne 0x52a439
cmp dword [esi + 0x82c], eax
je 0x52a416
mov byte [esi + 0x11e0], 1
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov byte [ebp + 0x500], 1
cmp byte [ebp + 0x500], 0
jne 0x52a504
cmp byte [esi + 0xb48], 0
jne 0x52a504
push 0xf
push edi
push 0x76702c
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a504
lea eax, [esp + 0x38]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.005302e0
add esp, 0x10
test eax, eax
jne 0x52a4ce
mov eax, dword [esi + 0x938]
mov edx, dword [esi + 0x93c]
or eax, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
je 0x52a4b2
cmp ecx, edx
jg 0x52af8d
jl 0x52a4b2
cmp eax, dword [esi + 0x938]
ja 0x52af8d
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
call fcn.0052c170
add esp, 0xc
jmp 0x52aaa8
cmp eax, 1
jne 0x52afa8
mov eax, dword [esi + 0x938]
or eax, dword [esi + 0x93c]
jne 0x52af8d
push 2
push ebx
call fcn.0051f9c0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.0051ef30
add esp, 0x10
jmp 0x52aaa8
push 0xd
push edi
push str.Content_Type:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a55f
push edi
call fcn.00529960
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x52afc3
cmp byte [eax], 0
jne 0x52a541
push eax
call dword [0x823878]
add esp, 4
jmp 0x52aaa8
push dword [esi + 0x1154]
call dword [0x823878]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1154], eax
jmp 0x52aaa8
cmp dword [ebx + 0x3e8], 0xa
jne 0x52a5a3
cmp byte [ebx + 0x510], 0
je 0x52a5a3
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.00529890
add esp, 0xc
test al, al
je 0x52a5a3
push 0
push ebx
call fcn.0051f9c0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.0051ef30
add esp, 0x10
jmp 0x52aaa8
cmp dword [ebx + 0x3e8], 0xb
jne 0x52a5e7
cmp byte [ebx + 0x510], 0
je 0x52a5e7
push str.close
push str.Proxy_Connection:
push edi
call fcn.00529890
add esp, 0xc
test al, al
je 0x52a5e7
push 1
push ebx
call fcn.0051f9c0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.0051ef30
add esp, 0x10
jmp 0x52aaa8
cmp dword [ebx + 0x3e8], 0xa
jne 0x52a622
push str.keep_alive
push str.Connection:
push edi
call fcn.00529890
add esp, 0xc
test al, al
je 0x52a622
push 0
push ebx
call fcn.0051f9c0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.0051ef30
add esp, 0x10
jmp 0x52aaa8
push str.close
push str.Connection:
push edi
call fcn.00529890
add esp, 0xc
test al, al
je 0x52a649
push 2
push ebx
call fcn.0051f9c0
add esp, 8
jmp 0x52aaa8
cmp byte [ebp + 0x500], 0
jne 0x52a6b4
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a67a
push 1
lea eax, [edi + 0x12]
push eax
push ebx
call fcn.005223e0
add esp, 0xc
jmp 0x52aaa0
cmp byte [ebp + 0x500], 0
jne 0x52a6b4
push 0x11
push edi
push str.Content_Encoding:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a6b4
cmp dword [esi + 0x990], 0
je 0x52a6b4
push 0
lea eax, [edi + 0x11]
push eax
push ebx
call fcn.005223e0
add esp, 0xc
jmp 0x52aaa0
push 0xc
push edi
push str.Retry_After:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a743
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call fcn.00530740
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
jne 0x52a71c
cmp edx, eax
jne 0x52a71c
lea eax, [esp + 0x30]
push eax
push 0xa
lea eax, [edi + 0xc]
push 0
push eax
call fcn.005302e0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1160], ecx
mov dword [esi + 0x1164], eax
jmp 0x52aaa8
push 0
call fcn.005aa1d5
mov ecx, dword [esp + 0x24]
add esp, 4
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1160], ecx
sbb eax, edx
mov dword [esi + 0x1164], eax
jmp 0x52aaa8
cmp byte [ebp + 0x500], 0
jne 0x52a818
push 0xe
push edi
push str.Content_Range:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a818
mov cl, byte [edi + 0xe]
lea eax, [edi + 0xe]
mov dword [esp + 0x18], eax
test cl, cl
je 0x52a7a9
mov ebx, eax
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.0054ac60
add esp, 4
test eax, eax
jne 0x52a79d
cmp byte [ebx], 0x2a
je 0x52a79d
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x52a780
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
push eax
call fcn.0054ac60
add esp, 4
test eax, eax
je 0x52a7ff
lea eax, [ebp + 0x60]
push eax
push 0xa
push 0
push dword [esp + 0x24]
call fcn.005302e0
add esp, 0x10
test eax, eax
jne 0x52aaa8
mov eax, dword [esi + 0x1048]
cmp eax, dword [ebp + 0x60]
jne 0x52aaa8
mov eax, dword [esi + 0x104c]
cmp eax, dword [ebp + 0x64]
jne 0x52aaa8
mov byte [ebp + 0x4fd], 1
jmp 0x52aaa8
mov dword [esi + 0x1048], 0
mov dword [esi + 0x104c], 0
jmp 0x52aaa8
cmp dword [esi + 0xb74], 0
je 0x52a897
cmp byte [esi + 0x10f3], 0
je 0x52a897
push 0xb
push edi
push str.Set_Cookie:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a897
push 2
push 2
push esi
call fcn.00522b10
mov ecx, dword [esi + 0x10d8]
add esp, 0xc
test ecx, ecx
jne 0x52a85b
mov ecx, dword [ebx + 0x304]
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0x1098]
lea eax, [edi + 0xb]
push ecx
push eax
push 0
push 1
push dword [esi + 0xb74]
push esi
call fcn.00511f20
push 2
push esi
call fcn.00522b50
add esp, 0x28
jmp 0x52aaa8
cmp byte [ebp + 0x500], 0
jne 0x52a902
push 0xe
push edi
push str.Last_Modified:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a902
cmp dword [esi + 0x82c], 0
jne 0x52a8c6
cmp byte [esi + 0xb2d], 0
je 0x52a902
lea eax, [edi + 0xe]
push eax
call fcn.00530740
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], edx
cmp byte [esi + 0xb2d], 0
je 0x52aaa8
mov dword [esi + 0x1130], eax
mov eax, dword [ebp + 0x94]
mov dword [esi + 0x1134], eax
jmp 0x52aaa8
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a924
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x191
je 0x52a946
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52a98b
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x197
jne 0x52a98b
push edi
call fcn.00529960
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x52afc3
cmp dword [esp + 0x18], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.00529cd0
push dword [esp + 0x2c]
mov dword [esp + 0x28], eax
call dword [0x823878]
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x52aaa0
push 0xf
push edi
push str.Persistent_Auth
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52aa05
cmp dword [esi + 0xdc4], 4
jne 0x52aaa8
push edi
call fcn.00529960
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x52afc3
push 5
push eax
push str.false
call fcn.00521da0
push dword [esp + 0x24]
test eax, eax
mov byte [ebx + 0x6ad], 1
setne al
mov byte [ebx + 0x6ac], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.0051ef30
push dword [esp + 0x34]
call dword [0x823878]
add esp, 0x20
jmp 0x52aaa8
mov eax, dword [ebp + 0x68]
cmp eax, 0x12c
jl 0x52aa87
cmp eax, 0x190
jge 0x52aa87
push 9
push edi
push str.Location:
call fcn.00521da0
add esp, 0xc
test eax, eax
je 0x52aa87
cmp dword [esi + 0x128], 0
jne 0x52aa87
push edi
call fcn.00529960
add esp, 4
test eax, eax
je 0x52afc3
cmp byte [eax], 0
jne 0x52aa55
push eax
call dword [0x823878]
add esp, 4
jmp 0x52aaa8
cmp byte [esi + 0xb3a], 0
mov dword [esi + 0x128], eax
je 0x52aaa8
push eax
call dword [0x823880]
add esp, 4
mov dword [esi + 0x12c], eax
test eax, eax
je 0x52afc3
push ebx
call fcn.0052b640
add esp, 4
jmp 0x52aaa0
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x52aaa8
push edi
push ebx
call fcn.00548c70
add esp, 8
test eax, eax
jne 0x52af25
xor eax, eax
cmp byte [esi + 0xb3d], al
setne al
add eax, 2
cmp byte [esi + 0xb42], 0
mov dword [esp + 0x20], eax
je 0x52aadc
lea eax, [esi + 0xd1c]
push eax
call fcn.00514ae0
push eax
push edi
push 1
push esi
call fcn.0051edc0
add esp, 0x14
lea eax, [esi + 0xd1c]
push eax
call fcn.00514ae0
push eax
push edi
push dword [esp + 0x2c]
push ebx
call fcn.0051ed90
add esp, 0x14
test eax, eax
jne 0x52af25
lea ebx, [esi + 0xd1c]
push ebx
call fcn.00514ae0
add dword [esi + 0x1138], eax
push ebx
adc dword [esi + 0x113c], 0
call fcn.00514ae0
add dword [esi + 0xa8], eax
push ebx
adc dword [esi + 0xac], 0
call fcn.00514b00
add esp, 0xc
jmp 0x52aedf
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x52abb3
cmp eax, 0xc7
jg 0x52abb3
sub eax, 0x64
je 0x52ab7e
sub eax, 1
je 0x52ab65
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jmp 0x52ac0e
cmp dword [ebp + 0x84], 1
je 0x52afd0
mov byte [ebp + 0x4fc], 0
jmp 0x52ac0e
cmp dword [ebp + 0x80], 0
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jle 0x52ac0e
or dword [ebp + 0x9c], 2
push 0
push esi
mov dword [ebp + 0x80], 0
call fcn.0050e850
add esp, 8
jmp 0x52ac0e
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [ebp + 0x4fc], 0
cmp eax, 0xffffffff
jne 0x52ac0e
cmp byte [ebp + 0x501], 0
jne 0x52ac0e
cmp byte [ebx + 0x515], 0
jne 0x52ac17
cmp dword [ebx + 0x3e8], 0xb
jne 0x52ac0e
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
jne 0x52ac0e
cmp dword [esi + 0x10a0], 6
je 0x52ac0e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.0051ef30
push 2
push ebx
call fcn.0051f9c0
add esp, 0x10
cmp byte [ebx + 0x515], 0
je 0x52ac96
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x52ac2d
cmp dword [ebx + 0x5dc], 2
je 0x52ac3d
cmp eax, 0x197
jne 0x52ac52
cmp dword [ebx + 0x5e0], 2
jne 0x52ac52
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0051ef30
add esp, 8
mov byte [esi + 0x10e9], 1
cmp byte [ebx + 0x515], 0
je 0x52ac96
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x52ac71
cmp dword [ebx + 0x664], 1
je 0x52ac81
cmp eax, 0x197
jne 0x52ac96
cmp dword [ebx + 0x668], 1
jne 0x52ac96
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0051ef30
add esp, 8
mov byte [esi + 0x10e9], 1
cmp dword [ebx + 0x664], 3
jne 0x52acb5
cmp dword [esi + 0xf0], 0x191
je 0x52acb5
mov dword [ebx + 0x664], 4
cmp dword [ebx + 0x668], 3
jne 0x52acd4
cmp dword [esi + 0xf0], 0x197
je 0x52acd4
mov dword [ebx + 0x668], 4
push ebx
call fcn.0052b880
add esp, 4
test eax, eax
jne 0x52b0d2
xor ebx, ebx
lea eax, [esi + 0xd1c]
cmp byte [esi + 0xb3d], bl
push eax
setne bl
add ebx, 2
call fcn.00514ae0
add esp, 4
mov edi, eax
lea eax, [esi + 0xd1c]
mov dword [esp + 0x20], edi
push edi
push eax
call fcn.00514af0
add esp, 4
push eax
push ebx
mov ebx, dword [esp + 0x54]
push ebx
call fcn.0051ed90
add esp, 0x10
test eax, eax
jne 0x52af25
mov eax, edi
cdq
add dword [esi + 0x1138], eax
adc dword [esi + 0x113c], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x52ad67
cmp eax, 0xc7
jg 0x52ad67
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
jmp 0x52ad78
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call fcn.00529a30
add esp, 4
test eax, eax
jne 0x52af25
cmp dword [ebp + 0x68], 0x12c
jl 0x52aec3
cmp byte [ebx + 0x521], al
jne 0x52aea5
cmp byte [ebx + 0x515], al
jne 0x52aea5
cmp byte [ebx + 0x522], al
jne 0x52aeae
mov eax, dword [esi + 0x10a0]
add eax, 0xfffffffe
cmp eax, 3
ja 0x52aea5
push 0
push esi
call fcn.0050e850
add esp, 8
cmp byte [ebp + 0x4fe], 0
jne 0x52aea5
cmp dword [ebp + 0x68], 0x1a1
jne 0x52ae34
cmp byte [esi + 0x10ec], 0
je 0x52ae34
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.0051ef30
mov byte [esi + 0x10ed], 1
mov eax, dword [ebx]
push dword [eax + 0xb60]
call dword [0x823880]
push ebp
push ebx
mov dword [esi + 0x12c], eax
call fcn.00523c00
add esp, 0x14
jmp 0x52aea5
cmp byte [esi + 0xb39], 0
je 0x52ae67
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.0051ef30
add esp, 8
cmp dword [ebp + 0x80], 0
jle 0x52aea5
or dword [ebp + 0x9c], 2
mov dword [ebp + 0x80], 0
jmp 0x52aea5
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.0051ef30
push 2
push ebx
call fcn.0051f9c0
push ebp
push ebx
call fcn.00523c00
add esp, 0x18
test eax, eax
jne 0x52af25
mov byte [ebp + 0x4fe], 1
cmp byte [esi + 0x10ec], al
je 0x52aea5
mov dword [ebp + 0x80], 3
cmp byte [ebx + 0x522], 0
je 0x52aec3
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.0051ef30
add esp, 8
or dword [ebp + 0x9c], 2
cmp byte [ebp + 0x4fc], 0
je 0x52b003
lea eax, [esi + 0xd1c]
push eax
call fcn.00514b00
add esp, 4
mov ebx, dword [ebp + 0x58]
mov dword [esp + 0x18], ebx
cmp byte [ebx], 0
je 0x52af23
mov edi, dword [esp + 0x4c]
jmp 0x52a060
push 2
push ebx
call fcn.0051f9c0
add esp, 8
cmp byte [esi + 0xb5e], 0
je 0x52b163
mov eax, dword [esp + 0x4c]
mov byte [ebp + 0x4fc], 0
cmp dword [eax], 0
je 0x52af2d
mov dword [ebp + 0x50], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
pop edi
mov dword [ebp + 0x50], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
pop esi
mov dword [ebp + 0x58], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x30
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.0051ee50
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push esi
call fcn.0052bb10
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
mov byte [ebp + 0x4fc], 0
xor eax, eax
pop ebp
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.0051ee50
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.0051ee50
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.0051ef30
add esp, 8
mov dword [ebp + 0x84], 2
mov byte [ebp + 0x4fc], 1
mov eax, 1
mov dword [ebp + 0x54], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp byte [esi + 0xb40], 0
mov edi, dword [esp + 0x50]
je 0x52b015
mov byte [edi], 1
jmp 0x52b065
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x52b040
cmp dword [esi + 0xacc], 2
jne 0x52b040
cmp dword [ebp + 4], 0xffffffff
jg 0x52b040
jl 0x52b03b
cmp dword [ebp], 0xffffffff
ja 0x52b040
mov byte [edi], 1
jmp 0x52b065
cmp byte [ebp + 0x501], 0
je 0x52b065
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], 0xffffffff
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
cmp ecx, 0xffffffff
jne 0x52b074
cmp eax, ecx
je 0x52b08b
push eax
push ecx
push esi
call fcn.0052c170
mov eax, dword [ebp]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jne 0x52b09c
cmp dword [ebp + 0xc], 0
jne 0x52b09c
mov byte [edi], 1
jmp 0x52b0a1
cmp byte [edi], 0
je 0x52b0a8
and dword [ebp + 0x9c], 0xfffffffe
cmp byte [esi + 0xb42], 0
je 0x52af23
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 1
push esi
call fcn.0051edc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [ebp + 0x68]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.0051ee50
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x4c]
lea edi, [esi + 0xd1c]
push dword [eax]
push ebx
push edi
call fcn.00514a80
add esp, 0xc
test eax, eax
jne 0x52af25
cmp dword [ebp + 0x54], eax
jne 0x52af23
push edi
call fcn.00514ae0
add esp, 4
push eax
push edi
call fcn.00514af0
mov edi, dword [esp + 0x50]
add esp, 4
push eax
push edi
push esi
call fcn.0052b340
add esp, 0x10
cmp eax, 2
jne 0x52af23
push eax
push edi
mov byte [ebp + 0x4fc], 0
mov dword [ebp + 0x50], eax
call fcn.0051f9c0
add esp, 8
cmp byte [esi + 0xb5e], 0
jne 0x52af23
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.0051ee50
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret