Function at 0x4e1650
Capabilities:
Check http status code

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x44]
lea ebp, [esi + 0x88]
push edi
mov edi, dword [ebp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
lea ebx, [ebx]
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
push eax
push 0xa
push edi
call fcn.0048f640
add esp, 0xc
test eax, eax
je 0x4e2468
mov edx, dword [ebp + 0x58]
mov ecx, dword [esp + 0x50]
sub edx, eax
dec edx
add dword [ecx], edx
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [ebp + 0x58], eax
sub eax, ecx
push eax
push ecx
lea edi, [esi + 0xe3c]
push edi
call fcn.004c04a0
add esp, 0xc
test eax, eax
jne 0x4e26b5
cmp dword [ebp + 0x54], eax
jne 0x4e16f6
push edi
call fcn.0052d3b0
push edi
mov dword [esp + 0x20], eax
call fcn.0052ce40
mov ecx, dword [esp + 0x20]
push esi
mov edx, ebx
call fcn.004e12c0
add esp, 0xc
cmp eax, 2
je 0x4e24fd
lea eax, [esi + 0xe3c]
push eax
xor edi, edi
call fcn.0052ce40
mov dword [esp + 0x1c], eax
mov al, byte [eax]
add esp, 4
cmp al, 0xa
je 0x4e2116
cmp al, 0xd
je 0x4e2116
mov eax, dword [ebp + 0x54]
lea ecx, [eax + 1]
mov dword [ebp + 0x54], ecx
cmp eax, edi
jne 0x4e1a0f
mov edx, dword [ebx + 0x5f0]
mov eax, dword [edx + 0x40]
test al, 3
je 0x4e1875
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
lea ebx, [ebp + 0x68]
push ebx
lea eax, [esp + 0x4c]
push eax
add edi, 0x3e8
push edi
lea ecx, [esp + 0x2c]
push ecx
push str._HTTP__1d._1d_c_3d
push edx
call fcn.006cef4c
add esp, 0x18
cmp eax, 1
jne 0x4e17a8
cmp dword [esp + 0x20], 2
jl 0x4e2553
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push ecx
call fcn.006cef4c
add esp, 0x10
cmp eax, 2
jne 0x4e2553
mov dword [edi], 0
mov byte [esp + 0x48], 0x20
jmp 0x4e17b8
cmp eax, 4
jne 0x4e180d
cmp byte [esp + 0x48], 0x20
jne 0x4e2553
mov eax, dword [esp + 0x20]
lea edx, [eax + eax*4]
add edx, edx
add dword [edi], edx
cmp dword [ebp + 0x84], 2
mov eax, dword [edi]
jne 0x4e17e1
cmp eax, 0x14
je 0x4e17e1
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004bd2f0
add esp, 8
cmp dword [edi], 0x14
jge 0x4e18e8
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x768]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [ecx], 0xffffffff
call fcn.004bd2f0
add esp, 8
jmp 0x4e18e8
test eax, eax
jne 0x4e2553
mov edx, dword [esp + 0x18]
push ebx
push str._HTTP__3d
push edx
call fcn.006cef4c
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [edi], 0xa
test eax, eax
jne 0x4e18e8
lea ebx, [esi + 0xe3c]
push ebx
call fcn.0052d3b0
push ebx
mov dword [esp + 0x24], eax
call fcn.0052ce40
push eax
mov eax, dword [esp + 0x28]
mov ecx, eax
mov eax, esi
call fcn.004e1220
add esp, 0xc
cmp eax, 1
jne 0x4e18dc
mov dword [ebp + 0x68], 0xc8
mov dword [edi], 0xa
jmp 0x4e18e8
test eax, 0x40000
je 0x4e2584
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x17]
push eax
add edi, 0x3ec
push edi
lea ecx, [esp + 0x30]
push ecx
push str._RTSP__1d._1d_c_3d
push edx
call fcn.006cef4c
add esp, 0x18
cmp eax, 4
jne 0x4e2584
cmp byte [esp + 0x13], 0x20
jne 0x4e2584
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add dword [edi], ecx
mov edi, dword [esp + 0x4c]
add edi, 0x3e8
mov dword [edi], 0xb
jmp 0x4e18e0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e2584
mov edx, dword [ebp + 0x68]
mov dword [esi + 0x12a8], edx
mov eax, dword [edi]
mov dword [esi + 0x12b0], eax
mov eax, dword [esi + 0x1194]
test eax, eax
je 0x4e1907
cmp eax, dword [edi]
jle 0x4e190f
mov ecx, dword [edi]
mov dword [esi + 0x1194], ecx
mov edx, dword [esi + 0x11a0]
or edx, dword [esi + 0x11a4]
mov ebx, 1
je 0x4e193b
cmp dword [esi + 0x11f8], ebx
jne 0x4e193b
cmp dword [ebp + 0x68], 0x1a0
jne 0x4e193b
mov dword [ebp + 0x508], ebx
jmp 0x4e197e
cmp dword [esi + 0xbcc], 0
je 0x4e197e
mov eax, dword [ebp + 0x68]
cmp eax, 0x190
jl 0x4e197e
cmp eax, 0x191
jne 0x4e1962
mov ecx, dword [esp + 0x4c]
cmp dword [ecx + 0x568], 0
jne 0x4e197e
cmp eax, 0x197
jne 0x4e256e
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x544], 0
je 0x4e256e
mov edi, dword [edi]
cmp edi, 0xa
jne 0x4e19a0
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004bd2f0
mov eax, dword [esp + 0x54]
push ebx
push eax
call fcn.004c3390
add esp, 0x10
jmp 0x4e19c3
cmp edi, 0x14
je 0x4e19b3
cmp dword [ebp + 0x84], ebx
jne 0x4e19c3
cmp dword [ebp + 0x68], 0x65
jne 0x4e19c3
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x768]
mov dword [edx], 2
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x4e19d6
cmp eax, 0xc8
jge 0x4e19d6
mov ecx, ebx
jmp 0x4e19d8
xor ecx, ecx
sub eax, 0xcc
mov dword [ebp + 0x50c], ecx
je 0x4e19fb
sub eax, 0x64
jne 0x4e1a0f
lea ebx, [eax + 1]
cmp dword [esi + 0x844], eax
je 0x4e19fb
mov dword [esi + 0x136c], ebx
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x50c], ebx
cmp dword [ebp + 0x50c], 0
jne 0x4e1ae4
cmp dword [esi + 0xc0c], 0
jne 0x4e1ae4
mov edi, dword [esp + 0x18]
push 0xf
push edi
push str.Content_Length:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1ae8
lea eax, [esp + 0x3c]
push eax
push 0xa
push 0
add edi, 0xf
push edi
call fcn.004ec350
add esp, 0x10
test eax, eax
jne 0x4e1aaa
mov edi, dword [esi + 0x988]
mov edx, dword [esi + 0x98c]
mov eax, dword [esp + 0x3c]
mov ecx, edi
or ecx, edx
mov ecx, dword [esp + 0x40]
je 0x4e1a8a
cmp ecx, edx
jg 0x4e2598
jl 0x4e1a8a
cmp eax, edi
ja 0x4e2598
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.004cc6d0
mov ebx, dword [esp + 0x58]
add esp, 0xc
jmp 0x4e208d
cmp eax, 1
jne 0x4e25b3
mov edx, dword [esi + 0x988]
or edx, dword [esi + 0x98c]
jne 0x4e2598
mov ebx, dword [esp + 0x4c]
push 2
push ebx
call fcn.004c3390
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004bd2f0
add esp, 0x10
jmp 0x4e208d
mov edi, dword [esp + 0x18]
push 0xd
push edi
push str.Content_Type:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1b46
push edi
call fcn.004de450
mov edi, eax
add esp, 4
test edi, edi
je 0x4e25ce
cmp byte [edi], 0
jne 0x4e1b27
push edi
call dword [0x84f474]
mov ebx, dword [esp + 0x50]
add esp, 4
jmp 0x4e208d
mov eax, dword [esi + 0x12dc]
push eax
call dword [0x84f474]
mov ebx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 0x12dc], edi
jmp 0x4e208d
mov ebx, dword [esp + 0x4c]
cmp dword [ebx + 0x3e8], 0xa
jne 0x4e1b8e
cmp dword [ebx + 0x53c], 0
je 0x4e1b8e
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.004df050
add esp, 0xc
test eax, eax
je 0x4e1b8e
push 0
push ebx
call fcn.004c3390
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004bd2f0
add esp, 0x10
jmp 0x4e208d
cmp dword [ebx + 0x3e8], 0xb
jne 0x4e1bd2
cmp dword [ebx + 0x53c], 0
je 0x4e1bd2
push str.close
push str.Proxy_Connection:
push edi
call fcn.004df050
add esp, 0xc
test eax, eax
je 0x4e1bd2
push 1
push ebx
call fcn.004c3390
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004bd2f0
add esp, 0x10
jmp 0x4e208d
cmp dword [ebx + 0x3e8], 0xa
jne 0x4e1c0d
push str.keep_alive
push str.Connection:
push edi
call fcn.004df050
add esp, 0xc
test eax, eax
je 0x4e1c0d
push 0
push ebx
call fcn.004c3390
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004bd2f0
add esp, 0x10
jmp 0x4e208d
push str.close
push str.Connection:
push edi
call fcn.004df050
add esp, 0xc
test eax, eax
je 0x4e1c34
push 2
push ebx
call fcn.004c3390
add esp, 8
jmp 0x4e208d
cmp dword [ebp + 0x50c], 0
jne 0x4e1c9f
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1c65
push 1
add edi, 0x12
push edi
push ebx
call fcn.004c4d60
add esp, 0xc
jmp 0x4e2085
cmp dword [ebp + 0x50c], 0
jne 0x4e1c9f
push 0x11
push edi
push str.Content_Encoding:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1c9f
cmp dword [esi + 0x9e0], 0
je 0x4e1c9f
push 0
add edi, 0x11
push edi
push ebx
call fcn.004c4d60
add esp, 0xc
jmp 0x4e2085
push 0xc
push edi
push str.Retry_After:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1d37
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, 0xc
push eax
call fcn.004ebde0
mov edi, eax
add esp, 4
mov ebx, edx
cmp edi, 0xffffffff
jne 0x4e1d14
cmp ebx, eax
jne 0x4e1d14
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004ec350
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esi + 0x12ec], ebx
mov ebx, dword [esp + 0x5c]
add esp, 0x10
mov dword [esi + 0x12e8], edi
jmp 0x4e208d
push 0
call fcn.0048ca65
add esp, 4
sub edi, eax
sbb ebx, edx
mov dword [esi + 0x12ec], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esi + 0x12e8], edi
jmp 0x4e208d
cmp dword [ebp + 0x50c], 0
jne 0x4e1df6
push 0xe
push edi
push str.Content_Range:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1df6
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x4e1d8d
lea ebx, [ebx]
movzx edx, al
push edx
call fcn.004e4e60
add esp, 4
test eax, eax
jne 0x4e1d8d
cmp byte [edi], 0x2a
je 0x4e1d8d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4e1d70
movzx eax, byte [edi]
push eax
call fcn.004e4e60
add esp, 4
test eax, eax
je 0x4e1de3
lea eax, [ebp + 0x60]
push eax
push 0xa
push 0
push edi
call fcn.004ec350
add esp, 0x10
test eax, eax
jne 0x4e208d
mov ecx, dword [esi + 0x11a0]
cmp ecx, dword [ebp + 0x60]
jne 0x4e208d
mov edx, dword [esi + 0x11a4]
cmp edx, dword [ebp + 0x64]
jne 0x4e208d
mov dword [ebp + 0x500], 1
jmp 0x4e208d
xor eax, eax
mov dword [esi + 0x11a0], eax
mov dword [esi + 0x11a4], eax
jmp 0x4e208d
cmp dword [esi + 0xc84], 0
je 0x4e1e75
cmp dword [esi + 0x1278], 0
je 0x4e1e75
push 0xb
push edi
push str.Set_Cookie:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1e75
push 2
push 2
push esi
call fcn.004c4a30
mov eax, dword [esi + 0x1230]
add esp, 0xc
test eax, eax
jne 0x4e1e39
mov eax, dword [ebx + 0x304]
mov ecx, dword [ebx + 0x5f0]
mov edx, dword [ecx + 0x40]
mov ecx, dword [esi + 0x11f0]
shr edx, 1
and edx, 1
push edx
mov edx, dword [esi + 0xc84]
push ecx
push eax
add edi, 0xb
push edi
push 0
push 1
push edx
push esi
call fcn.004c0a80
push 2
push esi
call fcn.004c4a70
add esp, 0x28
jmp 0x4e208d
cmp dword [ebp + 0x50c], 0
jne 0x4e1ee0
push 0xe
push edi
push str.Last_Modified:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1ee0
cmp dword [esi + 0x844], 0
jne 0x4e1ea4
cmp dword [esi + 0xba0], 0
je 0x4e1ee0
add edi, 0xe
push edi
call fcn.004ebde0
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], edx
cmp dword [esi + 0xba0], 0
je 0x4e208d
mov dword [esi + 0x12b8], eax
mov ecx, dword [ebp + 0x94]
mov dword [esi + 0x12bc], ecx
jmp 0x4e208d
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1efe
mov eax, dword [ebp + 0x68]
cmp eax, 0x191
je 0x4e1f1c
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1f72
mov eax, dword [ebp + 0x68]
cmp eax, 0x197
jne 0x4e1f72
xor edx, edx
cmp eax, 0x197
mov eax, dword [esp + 0x18]
sete dl
push eax
mov dword [esp + 0x2c], edx
call fcn.004de450
mov edi, eax
add esp, 4
test edi, edi
je 0x4e25ce
mov ecx, dword [esp + 0x28]
push edi
push ecx
push ebx
call fcn.004deb10
push edi
mov dword [esp + 0x2c], eax
call dword [0x84f474]
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x4e208d
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [ebp + 0x68]
cmp eax, 0x12c
jl 0x4e1ffa
cmp eax, 0x190
jge 0x4e1ffa
push 9
push edi
push str.Location:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e1ffa
cmp dword [esi + 0x128], 0
jne 0x4e1ffa
push edi
call fcn.004de450
add esp, 4
test eax, eax
je 0x4e25ce
cmp byte [eax], 0
jne 0x4e1fc5
push eax
call dword [0x84f474]
add esp, 4
jmp 0x4e208d
cmp dword [esi + 0xbd4], 0
mov dword [esi + 0x128], eax
je 0x4e208d
push eax
call dword [0x84f47c]
add esp, 4
mov dword [esi + 0x12c], eax
test eax, eax
je 0x4e25ce
call fcn.004de700
jmp 0x4e2085
cmp dword [esi + 0xc88], 0
je 0x4e206c
push 8
push edi
push str.Alt_Svc:
call fcn.004c4a20
add esp, 0xc
test eax, eax
je 0x4e206c
mov edx, dword [ebx + 0x5f0]
test byte [edx + 0x48], 1
je 0x4e206c
mov ecx, dword [ebx + 0x368]
xor eax, eax
cmp dword [ebx + 0x3e8], 0x14
push ecx
sete al
lea eax, [eax*8 + 8]
mov dword [esp + 0x2c], eax
call fcn.004bf750
mov ecx, dword [esp + 0x2c]
movzx edx, ax
mov eax, dword [ebx + 0x304]
push edx
mov edx, dword [esi + 0xc88]
push eax
push ecx
add edi, 8
push edi
push edx
push esi
call fcn.004bfe80
add esp, 0x1c
jmp 0x4e2085
mov eax, dword [ebx + 0x5f0]
test dword [eax + 0x40], 0x40000
je 0x4e208d
push edi
push ebx
call fcn.004cf420
add esp, 8
test eax, eax
jne 0x4e26b5
cmp dword [esi + 0xbe0], 0
mov dword [esp + 0x1c], 2
je 0x4e20a6
mov dword [esp + 0x1c], 3
lea edi, [esi + 0xe3c]
push edi
call fcn.0052d3b0
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 1
push esi
call fcn.004bd250
push edi
call fcn.0052d3b0
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ebx
call fcn.004bd740
add esp, 0x28
test eax, eax
jne 0x4e26b5
push edi
call fcn.0052d3b0
add dword [esi + 0x12c0], eax
push edi
adc dword [esi + 0x12c4], 0
call fcn.0052d3b0
add dword [esi + 0xa8], eax
push edi
adc dword [esi + 0xac], 0
call fcn.004c0480
add esp, 0xc
jmp 0x4e2423
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x4e2186
cmp eax, 0xc7
jg 0x4e2186
sub eax, 0x64
je 0x4e2158
mov ecx, 1
sub eax, ecx
je 0x4e2141
mov dword [ebp + 0x4fc], ecx
mov dword [ebp + 0x54], edi
jmp 0x4e21de
cmp dword [ebp + 0x84], ecx
je 0x4e243a
mov dword [ebp + 0x4fc], edi
jmp 0x4e21de
cmp dword [ebp + 0x80], edi
mov dword [ebp + 0x4fc], 1
mov dword [ebp + 0x54], edi
jle 0x4e21de
or dword [ebp + 0x9c], 2
push edi
push esi
mov dword [ebp + 0x80], edi
call fcn.004bb0a0
add esp, 8
jmp 0x4e21de
mov ecx, dword [ebp]
and ecx, dword [ebp + 4]
mov dword [ebp + 0x4fc], edi
cmp ecx, 0xffffffff
jne 0x4e21de
cmp dword [ebp + 0x510], edi
jne 0x4e21de
cmp dword [ebx + 0x550], edi
jne 0x4e21e6
cmp dword [ebx + 0x3e8], 0xb
jne 0x4e21de
mov edx, dword [ebx + 0x5f0]
test dword [edx + 0x40], 0x40000
jne 0x4e21de
cmp dword [esi + 0x11f8], 6
je 0x4e21de
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004bd2f0
push 2
push ebx
call fcn.004c3390
add esp, 0x10
cmp dword [ebx + 0x550], edi
je 0x4e2224
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x4e21fc
cmp dword [ebx + 0x634], 2
je 0x4e220c
cmp eax, 0x197
jne 0x4e2224
cmp dword [ebx + 0x638], 2
jne 0x4e2224
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004bd2f0
add esp, 8
mov dword [esi + 0x1250], 1
mov edx, ebx
call fcn.004decb0
test eax, eax
jne 0x4e25db
lea edi, [eax + 2]
cmp dword [esi + 0xbe0], eax
je 0x4e2241
lea edi, [eax + 3]
lea eax, [esi + 0xe3c]
push eax
call fcn.0052d3b0
add esp, 4
push eax
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xe3c]
push eax
call fcn.0052ce40
add esp, 4
push eax
push edi
push ebx
call fcn.004bd740
add esp, 0x10
test eax, eax
jne 0x4e26b5
mov eax, dword [esp + 0x18]
cdq
add dword [esi + 0x12c0], eax
adc dword [esi + 0x12c4], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x4e22b1
cmp eax, 0xc7
jg 0x4e22b1
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
jmp 0x4e22b5
xor eax, eax
xor ecx, ecx
push ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call fcn.004e1390
add esp, 4
test eax, eax
jne 0x4e26b5
cmp dword [ebp + 0x68], 0x12c
jl 0x4e2407
cmp dword [ebx + 0x580], eax
jne 0x4e23e9
cmp dword [ebx + 0x550], eax
jne 0x4e23e9
cmp dword [ebx + 0x584], eax
jne 0x4e23f2
mov eax, dword [esi + 0x11f8]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4e23e9
push 0
push esi
call fcn.004bb0a0
add esp, 8
cmp dword [ebp + 0x504], 0
jne 0x4e23e9
cmp dword [ebp + 0x68], 0x1a1
jne 0x4e2375
cmp dword [esi + 0x125c], 0
je 0x4e2375
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.004bd2f0
mov dword [esi + 0x1260], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc68]
push ecx
call dword [0x84f47c]
push ebp
push ebx
mov dword [esi + 0x12c], eax
call fcn.004e70d0
add esp, 0x14
jmp 0x4e23e9
cmp dword [esi + 0xbd0], 0
je 0x4e23a8
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004bd2f0
add esp, 8
cmp dword [ebp + 0x80], 0
jle 0x4e23e9
or dword [ebp + 0x9c], 2
mov dword [ebp + 0x80], 0
jmp 0x4e23e9
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004bd2f0
push 2
push ebx
call fcn.004c3390
push ebp
push ebx
call fcn.004e70d0
add esp, 0x18
test eax, eax
jne 0x4e26b5
mov dword [ebp + 0x504], 1
cmp dword [esi + 0x125c], eax
je 0x4e23e9
mov dword [ebp + 0x80], 3
cmp dword [ebx + 0x584], 0
je 0x4e2407
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004bd2f0
add esp, 8
or dword [ebp + 0x9c], 2
cmp dword [ebp + 0x4fc], 0
je 0x4e25fa
lea eax, [esi + 0xe3c]
push eax
call fcn.004c0480
add esp, 4
mov eax, dword [ebp + 0x58]
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
je 0x4e26b3
mov edi, eax
jmp 0x4e1680
push str.Received_101_n
push esi
call fcn.004bd2f0
add esp, 8
mov dword [ebp + 0x54], edi
pop edi
mov eax, 1
pop esi
mov dword [ebp + 0x84], 2
mov dword [ebp + 0x4fc], eax
pop ebp
pop ebx
add esp, 0x34
ret
mov edx, dword [esp + 0x50]
mov ecx, dword [edx]
push ecx
lea eax, [esi + 0xe3c]
push edi
push eax
call fcn.004c04a0
add esp, 0xc
test eax, eax
jne 0x4e26b5
cmp dword [ebp + 0x54], eax
jne 0x4e26b3
lea edi, [esi + 0xe3c]
push edi
call fcn.0052d3b0
push edi
mov dword [esp + 0x58], eax
call fcn.0052ce40
mov ecx, dword [esp + 0x58]
push esi
mov edx, ebx
call fcn.004e12c0
add esp, 0xc
cmp eax, 2
jne 0x4e26b3
push eax
push ebx
mov dword [ebp + 0x4fc], 0
mov dword [ebp + 0x50], eax
call fcn.004c3390
add esp, 8
cmp dword [esi + 0xc60], 0
jne 0x4e26b3
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004bd3d0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
push 2
push ebx
call fcn.004c3390
add esp, 8
cmp dword [esi + 0xc60], 0
je 0x4e24e2
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x4fc], 0
cmp dword [eax], 0
je 0x4e2535
pop edi
pop esi
mov dword [ebp + 0x50], 1
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x50], 2
mov dword [eax], edx
mov eax, dword [esp + 0x30]
pop edi
pop esi
mov dword [ebp + 0x58], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.004bd3d0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
push esi
call fcn.004e12f0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x34
ret
pop edi
pop esi
mov dword [ebp + 0x4fc], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004bd3d0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x34
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004bd3d0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x34
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x34
ret
mov ecx, dword [ebp + 0x68]
push ecx
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004bd3d0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x34
ret
cmp dword [esi + 0xbec], 0
mov edi, dword [esp + 0x54]
je 0x4e2612
mov dword [edi], 1
or edx, 0xffffffff
jmp 0x4e2659
mov edx, dword [ebx + 0x5f0]
test dword [edx + 0x40], 0x40000
je 0x4e2641
cmp dword [esi + 0xb24], 2
jne 0x4e2641
or edx, 0xffffffff
cmp dword [ebp + 4], edx
jg 0x4e2644
jl 0x4e2639
cmp dword [ebp], edx
ja 0x4e2644
mov dword [edi], 1
jmp 0x4e2659
or edx, 0xffffffff
cmp dword [ebp + 0x510], 0
je 0x4e2659
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
cmp eax, edx
jne 0x4e2667
cmp ecx, edx
je 0x4e267e
push ecx
push eax
push esi
call fcn.004cc6d0
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 8], 0
jne 0x4e2692
cmp dword [ebp + 0xc], 0
jne 0x4e2692
mov dword [edi], 1
jmp 0x4e2697
cmp dword [edi], 0
je 0x4e269e
and dword [ebp + 0x9c], 0xfffffffe
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 1
push esi
call fcn.004bd250
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret