Function at 0x58aca0
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.005d2000
add esp, 0xc
test eax, eax
je 0x58bd60
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.00575680
add esp, 0xc
test eax, eax
jne 0x58bb95
cmp dword [ebp + 0x54], eax
jne 0x58ae32
push edi
call fcn.00463970
mov edi, eax
lea eax, [esi + 0xd1c]
push eax
mov dword [esp + 0x28], edi
call fcn.00463a20
mov ebx, dword [esp + 0x50]
add esp, 8
mov edx, eax
mov ecx, dword [ebx + 0x560]
test dword [ecx + 0x40], 0x40000
je 0x58ad73
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.00581ba0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
jmp 0x58ad7e
push edi
push edx
push esi
call fcn.0058bec0
add esp, 0xc
cmp eax, 2
je 0x58bb64
lea edi, [esi + 0xd1c]
push edi
call fcn.00463a20
mov edi, eax
add esp, 4
mov al, byte [edi]
cmp al, 0xa
je 0x58b7a9
cmp al, 0xd
je 0x58b7a9
mov edx, dword [ebp + 0x54]
lea ecx, [edx + 1]
mov dword [ebp + 0x54], ecx
test edx, edx
jne 0x58b0a9
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
test al, 3
je 0x58af29
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.00437d80
add esp, 0x18
cmp eax, 1
jne 0x58ae3b
cmp dword [esp + 0x1c], 2
jl 0x58bbbb
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push edi
call fcn.00437d80
add esp, 0x10
cmp eax, 2
jne 0x58bbbb
lea ecx, [ebx + 0x3e8]
mov byte [esp + 0x44], 0x20
mov dword [ecx], 0
jmp 0x58ae51
mov ebx, dword [esp + 0x48]
jmp 0x58ad8d
cmp eax, 4
jne 0x58aeb0
cmp byte [esp + 0x44], 0x20
jne 0x58bbbb
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 0x58ae82
cmp dword [ecx], 0x14
je 0x58af86
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.0057f050
add esp, 8
lea ecx, [ebx + 0x3e8]
cmp dword [ecx], 0x14
jge 0x58af86
mov eax, dword [ebx + 0x7dc]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.0057f050
add esp, 8
lea ecx, [ebx + 0x3e8]
jmp 0x58af86
test eax, eax
jne 0x58bbbb
lea eax, [ebp + 0x68]
push eax
push str._HTTP__3d
push edi
call fcn.00437d80
add esp, 0xc
mov dword [ebx + 0x3e8], 0xa
lea ecx, [ebx + 0x3e8]
test eax, eax
jne 0x58af86
lea eax, [esi + 0xd1c]
push eax
call fcn.00463970
add esp, 4
push eax
lea eax, [esi + 0xd1c]
push eax
call fcn.00463a20
add esp, 4
push eax
push esi
call fcn.0058bec0
add esp, 0xc
cmp eax, 1
jne 0x58bbec
lea ecx, [ebx + 0x3e8]
mov dword [ebp + 0x68], 0xc8
mov dword [ecx], 0xa
jmp 0x58af86
test eax, 0x40000
je 0x58bbec
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.00437d80
add esp, 0x18
cmp eax, 4
jne 0x58bbec
cmp byte [esp + 0x13], 0x20
jne 0x58bbec
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 0x58afa5
cmp eax, dword [ecx]
jle 0x58afad
mov eax, dword [ecx]
mov dword [esi + 0x103c], eax
mov eax, dword [esi + 0x1048]
or eax, dword [esi + 0x104c]
je 0x58afd6
cmp dword [esi + 0x10a0], 1
jne 0x58afd6
cmp dword [ebp + 0x68], 0x1a0
jne 0x58afd6
mov byte [ebp + 0x4ff], 1
jmp 0x58b011
cmp byte [esi + 0xb38], 0
je 0x58b011
mov eax, dword [ebp + 0x68]
cmp eax, 0x190
jl 0x58b011
cmp eax, 0x191
jne 0x58aff9
cmp byte [ebx + 0x51b], 0
jne 0x58b011
cmp eax, 0x197
jne 0x58bbd6
cmp byte [ebx + 0x512], 0
je 0x58bbd6
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x58b030
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.0057f050
push 1
push ebx
call fcn.0057fae0
add esp, 0x10
jmp 0x58b050
cmp eax, 0x14
je 0x58b044
cmp dword [ebp + 0x84], 1
jne 0x58b050
cmp dword [ebp + 0x68], 0x65
jne 0x58b050
mov eax, dword [ebx + 0x7dc]
mov dword [eax], 2
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x58b063
cmp eax, 0xc8
jge 0x58b063
mov cl, 1
jmp 0x58b065
xor cl, cl
mov byte [ebp + 0x500], cl
sub eax, 0xcc
je 0x58b086
sub eax, 0x64
jne 0x58b0a9
cmp dword [esi + 0x82c], eax
je 0x58b086
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 0x58b174
cmp byte [esi + 0xb48], 0
jne 0x58b174
push 0xf
push edi
push str.Content_Length:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b174
lea eax, [esp + 0x38]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.0058f9b0
add esp, 0x10
test eax, eax
jne 0x58b13e
mov eax, dword [esi + 0x938]
mov edx, dword [esi + 0x93c]
or eax, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
je 0x58b122
cmp ecx, edx
jg 0x58bbfd
jl 0x58b122
cmp eax, dword [esi + 0x938]
ja 0x58bbfd
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.0058cd40
add esp, 0xc
jmp 0x58b718
cmp eax, 1
jne 0x58bc18
mov eax, dword [esi + 0x938]
or eax, dword [esi + 0x93c]
jne 0x58bbfd
push 2
push ebx
call fcn.0057fae0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.0057f050
add esp, 0x10
jmp 0x58b718
push 0xd
push edi
push str.Content_Type:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b1cf
push edi
call fcn.0058a5d0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x58bc33
cmp byte [eax], 0
jne 0x58b1b1
push eax
call dword [0x6ab108]
add esp, 4
jmp 0x58b718
push dword [esi + 0x1154]
call dword [0x6ab108]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1154], eax
jmp 0x58b718
cmp dword [ebx + 0x3e8], 0xa
jne 0x58b213
cmp byte [ebx + 0x510], 0
je 0x58b213
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.0058a500
add esp, 0xc
test al, al
je 0x58b213
push 0
push ebx
call fcn.0057fae0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.0057f050
add esp, 0x10
jmp 0x58b718
cmp dword [ebx + 0x3e8], 0xb
jne 0x58b257
cmp byte [ebx + 0x510], 0
je 0x58b257
push str.close
push str.Proxy_Connection:
push edi
call fcn.0058a500
add esp, 0xc
test al, al
je 0x58b257
push 1
push ebx
call fcn.0057fae0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.0057f050
add esp, 0x10
jmp 0x58b718
cmp dword [ebx + 0x3e8], 0xa
jne 0x58b292
push str.keep_alive
push str.Connection:
push edi
call fcn.0058a500
add esp, 0xc
test al, al
je 0x58b292
push 0
push ebx
call fcn.0057fae0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.0057f050
add esp, 0x10
jmp 0x58b718
push str.close
push str.Connection:
push edi
call fcn.0058a500
add esp, 0xc
test al, al
je 0x58b2b9
push 2
push ebx
call fcn.0057fae0
add esp, 8
jmp 0x58b718
cmp byte [ebp + 0x500], 0
jne 0x58b324
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b2ea
push 1
lea eax, [edi + 0x12]
push eax
push ebx
call fcn.00582120
add esp, 0xc
jmp 0x58b710
cmp byte [ebp + 0x500], 0
jne 0x58b324
push 0x11
push edi
push str.Content_Encoding:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b324
cmp dword [esi + 0x990], 0
je 0x58b324
push 0
lea eax, [edi + 0x11]
push eax
push ebx
call fcn.00582120
add esp, 0xc
jmp 0x58b710
push 0xc
push edi
push str.Retry_After:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b3b3
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call fcn.0058fe10
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
jne 0x58b38c
cmp edx, eax
jne 0x58b38c
lea eax, [esp + 0x30]
push eax
push 0xa
lea eax, [edi + 0xc]
push 0
push eax
call fcn.0058f9b0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1160], ecx
mov dword [esi + 0x1164], eax
jmp 0x58b718
push 0
call fcn.005df7dd
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 0x58b718
cmp byte [ebp + 0x500], 0
jne 0x58b488
push 0xe
push edi
push str.Content_Range:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b488
mov cl, byte [edi + 0xe]
lea eax, [edi + 0xe]
mov dword [esp + 0x18], eax
test cl, cl
je 0x58b419
mov ebx, eax
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.005a8b80
add esp, 4
test eax, eax
jne 0x58b40d
cmp byte [ebx], 0x2a
je 0x58b40d
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x58b3f0
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
push eax
call fcn.005a8b80
add esp, 4
test eax, eax
je 0x58b46f
lea eax, [ebp + 0x60]
push eax
push 0xa
push 0
push dword [esp + 0x24]
call fcn.0058f9b0
add esp, 0x10
test eax, eax
jne 0x58b718
mov eax, dword [esi + 0x1048]
cmp eax, dword [ebp + 0x60]
jne 0x58b718
mov eax, dword [esi + 0x104c]
cmp eax, dword [ebp + 0x64]
jne 0x58b718
mov byte [ebp + 0x4fd], 1
jmp 0x58b718
mov dword [esi + 0x1048], 0
mov dword [esi + 0x104c], 0
jmp 0x58b718
cmp dword [esi + 0xb74], 0
je 0x58b507
cmp byte [esi + 0x10f3], 0
je 0x58b507
push 0xb
push edi
push str.Set_Cookie:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b507
push 2
push 2
push esi
call fcn.00582800
mov ecx, dword [esi + 0x10d8]
add esp, 0xc
test ecx, ecx
jne 0x58b4cb
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.00572ae0
push 2
push esi
call fcn.00582840
add esp, 0x28
jmp 0x58b718
cmp byte [ebp + 0x500], 0
jne 0x58b572
push 0xe
push edi
push str.Last_Modified:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b572
cmp dword [esi + 0x82c], 0
jne 0x58b536
cmp byte [esi + 0xb2d], 0
je 0x58b572
lea eax, [edi + 0xe]
push eax
call fcn.0058fe10
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], edx
cmp byte [esi + 0xb2d], 0
je 0x58b718
mov dword [esi + 0x1130], eax
mov eax, dword [ebp + 0x94]
mov dword [esi + 0x1134], eax
jmp 0x58b718
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b594
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x191
je 0x58b5b6
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b5fb
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x197
jne 0x58b5fb
push edi
call fcn.0058a5d0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x58bc33
cmp dword [esp + 0x18], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.0058a940
push dword [esp + 0x2c]
mov dword [esp + 0x28], eax
call dword [0x6ab108]
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x58b710
push 0xf
push edi
push str.Persistent_Auth
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b675
cmp dword [esi + 0xdc4], 4
jne 0x58b718
push edi
call fcn.0058a5d0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x58bc33
push 5
push eax
push str.false
call fcn.00581ba0
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.0057f050
push dword [esp + 0x34]
call dword [0x6ab108]
add esp, 0x20
jmp 0x58b718
mov eax, dword [ebp + 0x68]
cmp eax, 0x12c
jl 0x58b6f7
cmp eax, 0x190
jge 0x58b6f7
push 9
push edi
push str.Location:
call fcn.00581ba0
add esp, 0xc
test eax, eax
je 0x58b6f7
cmp dword [esi + 0x128], 0
jne 0x58b6f7
push edi
call fcn.0058a5d0
add esp, 4
test eax, eax
je 0x58bc33
cmp byte [eax], 0
jne 0x58b6c5
push eax
call dword [0x6ab108]
add esp, 4
jmp 0x58b718
cmp byte [esi + 0xb3a], 0
mov dword [esi + 0x128], eax
je 0x58b718
push eax
call dword [0x6ab110]
add esp, 4
mov dword [esi + 0x12c], eax
test eax, eax
je 0x58bc33
push ebx
call fcn.0058c220
add esp, 4
jmp 0x58b710
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x58b718
push edi
push ebx
call fcn.005a2740
add esp, 8
test eax, eax
jne 0x58bb95
xor eax, eax
cmp byte [esi + 0xb3d], al
setne al
add eax, 2
cmp byte [esi + 0xb42], 0
mov dword [esp + 0x20], eax
je 0x58b74c
lea eax, [esi + 0xd1c]
push eax
call fcn.00463970
push eax
push edi
push 1
push esi
call fcn.0057eee0
add esp, 0x14
lea eax, [esi + 0xd1c]
push eax
call fcn.00463970
push eax
push edi
push dword [esp + 0x2c]
push ebx
call fcn.0057eeb0
add esp, 0x14
test eax, eax
jne 0x58bb95
lea ebx, [esi + 0xd1c]
push ebx
call fcn.00463970
add dword [esi + 0x1138], eax
push ebx
adc dword [esi + 0x113c], 0
call fcn.00463970
add dword [esi + 0xa8], eax
push ebx
adc dword [esi + 0xac], 0
call fcn.005756e0
add esp, 0xc
jmp 0x58bb4f
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x58b823
cmp eax, 0xc7
jg 0x58b823
sub eax, 0x64
je 0x58b7ee
sub eax, 1
je 0x58b7d5
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jmp 0x58b87e
cmp dword [ebp + 0x84], 1
je 0x58bc40
mov byte [ebp + 0x4fc], 0
jmp 0x58b87e
cmp dword [ebp + 0x80], 0
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jle 0x58b87e
or dword [ebp + 0x9c], 2
push 0
push esi
mov dword [ebp + 0x80], 0
call fcn.0056fb20
add esp, 8
jmp 0x58b87e
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [ebp + 0x4fc], 0
cmp eax, 0xffffffff
jne 0x58b87e
cmp byte [ebp + 0x501], 0
jne 0x58b87e
cmp byte [ebx + 0x515], 0
jne 0x58b887
cmp dword [ebx + 0x3e8], 0xb
jne 0x58b87e
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
jne 0x58b87e
cmp dword [esi + 0x10a0], 6
je 0x58b87e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.0057f050
push 2
push ebx
call fcn.0057fae0
add esp, 0x10
cmp byte [ebx + 0x515], 0
je 0x58b906
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x58b89d
cmp dword [ebx + 0x5dc], 2
je 0x58b8ad
cmp eax, 0x197
jne 0x58b8c2
cmp dword [ebx + 0x5e0], 2
jne 0x58b8c2
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0057f050
add esp, 8
mov byte [esi + 0x10e9], 1
cmp byte [ebx + 0x515], 0
je 0x58b906
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x58b8e1
cmp dword [ebx + 0x664], 1
je 0x58b8f1
cmp eax, 0x197
jne 0x58b906
cmp dword [ebx + 0x668], 1
jne 0x58b906
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0057f050
add esp, 8
mov byte [esi + 0x10e9], 1
cmp dword [ebx + 0x664], 3
jne 0x58b925
cmp dword [esi + 0xf0], 0x191
je 0x58b925
mov dword [ebx + 0x664], 4
cmp dword [ebx + 0x668], 3
jne 0x58b944
cmp dword [esi + 0xf0], 0x197
je 0x58b944
mov dword [ebx + 0x668], 4
push ebx
call fcn.0058c460
add esp, 4
test eax, eax
jne 0x58bd42
xor ebx, ebx
lea eax, [esi + 0xd1c]
cmp byte [esi + 0xb3d], bl
push eax
setne bl
add ebx, 2
call fcn.00463970
add esp, 4
mov edi, eax
lea eax, [esi + 0xd1c]
mov dword [esp + 0x20], edi
push edi
push eax
call fcn.00463a20
add esp, 4
push eax
push ebx
mov ebx, dword [esp + 0x54]
push ebx
call fcn.0057eeb0
add esp, 0x10
test eax, eax
jne 0x58bb95
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 0x58b9d7
cmp eax, 0xc7
jg 0x58b9d7
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
jmp 0x58b9e8
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.0058a6a0
add esp, 4
test eax, eax
jne 0x58bb95
cmp dword [ebp + 0x68], 0x12c
jl 0x58bb33
cmp byte [ebx + 0x521], al
jne 0x58bb15
cmp byte [ebx + 0x515], al
jne 0x58bb15
cmp byte [ebx + 0x522], al
jne 0x58bb1e
mov eax, dword [esi + 0x10a0]
add eax, 0xfffffffe
cmp eax, 3
ja 0x58bb15
push 0
push esi
call fcn.0056fb20
add esp, 8
cmp byte [ebp + 0x4fe], 0
jne 0x58bb15
cmp dword [ebp + 0x68], 0x1a1
jne 0x58baa4
cmp byte [esi + 0x10ec], 0
je 0x58baa4
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.0057f050
mov byte [esi + 0x10ed], 1
mov eax, dword [ebx]
push dword [eax + 0xb60]
call dword [0x6ab110]
push ebp
push ebx
mov dword [esi + 0x12c], eax
call fcn.00583d10
add esp, 0x14
jmp 0x58bb15
cmp byte [esi + 0xb39], 0
je 0x58bad7
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.0057f050
add esp, 8
cmp dword [ebp + 0x80], 0
jle 0x58bb15
or dword [ebp + 0x9c], 2
mov dword [ebp + 0x80], 0
jmp 0x58bb15
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.0057f050
push 2
push ebx
call fcn.0057fae0
push ebp
push ebx
call fcn.00583d10
add esp, 0x18
test eax, eax
jne 0x58bb95
mov byte [ebp + 0x4fe], 1
cmp byte [esi + 0x10ec], al
je 0x58bb15
mov dword [ebp + 0x80], 3
cmp byte [ebx + 0x522], 0
je 0x58bb33
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.0057f050
add esp, 8
or dword [ebp + 0x9c], 2
cmp byte [ebp + 0x4fc], 0
je 0x58bc73
lea eax, [esi + 0xd1c]
push eax
call fcn.005756e0
add esp, 4
mov ebx, dword [ebp + 0x58]
mov dword [esp + 0x18], ebx
cmp byte [ebx], 0
je 0x58bb93
mov edi, dword [esp + 0x4c]
jmp 0x58acd0
push 2
push ebx
call fcn.0057fae0
add esp, 8
cmp byte [esi + 0xb5e], 0
je 0x58bdd3
mov eax, dword [esp + 0x4c]
mov byte [ebp + 0x4fc], 0
cmp dword [eax], 0
je 0x58bb9d
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.0057ef70
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push esi
call fcn.0058c6f0
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.0057ef70
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.0057ef70
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.0057f050
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 0x58bc85
mov byte [edi], 1
jmp 0x58bcd5
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x58bcb0
cmp dword [esi + 0xacc], 2
jne 0x58bcb0
cmp dword [ebp + 4], 0xffffffff
jg 0x58bcb0
jl 0x58bcab
cmp dword [ebp], 0xffffffff
ja 0x58bcb0
mov byte [edi], 1
jmp 0x58bcd5
cmp byte [ebp + 0x501], 0
je 0x58bcd5
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 0x58bce4
cmp eax, ecx
je 0x58bcfb
push eax
push ecx
push esi
call fcn.0058cd40
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 0x58bd0c
cmp dword [ebp + 0xc], 0
jne 0x58bd0c
mov byte [edi], 1
jmp 0x58bd11
cmp byte [edi], 0
je 0x58bd18
and dword [ebp + 0x9c], 0xfffffffe
cmp byte [esi + 0xb42], 0
je 0x58bb93
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 1
push esi
call fcn.0057eee0
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.0057ef70
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.00575680
add esp, 0xc
test eax, eax
jne 0x58bb95
cmp dword [ebp + 0x54], eax
jne 0x58bb93
push edi
call fcn.00463970
add esp, 4
push eax
push edi
call fcn.00463a20
mov edi, dword [esp + 0x50]
add esp, 4
push eax
push edi
push esi
call fcn.0058bf60
add esp, 0x10
cmp eax, 2
jne 0x58bb93
push eax
push edi
mov byte [ebp + 0x4fc], 0
mov dword [ebp + 0x50], eax
call fcn.0057fae0
add esp, 8
cmp byte [esi + 0xb5e], 0
jne 0x58bb93
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.0057ef70
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret