Function at 0x4a5f20
Capabilities:
Check http status code

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ecx, dword [eax]
push esi
mov esi, dword [esp + 0x3c]
push edi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xe8]
lea ebp, [esi + 0x88]
mov dword [esi + 0xec], ecx
mov edi, ecx
push dword [eax]
mov dword [esp + 0x34], ecx
push 0xa
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x4a6e6d
mov ecx, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [esp + 0x28], ecx
sub edi, eax
mov eax, dword [esp + 0x48]
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.004a7360
add esp, 0xc
test eax, eax
jne 0x4a6f17
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 0x4a6023
mov eax, dword [ebx + 0x548]
mov ecx, dword [esi + 0xe4]
test dword [eax + 0x40], 0x40000
je 0x4a6007
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.0049e300
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x4a6014
push ecx
push edx
push esi
call fcn.004a7190
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x4a6ee7
lea ebp, [esi + 0x88]
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x4a6a5f
cmp al, 0xd
je 0x4a6a63
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x4a630c
mov eax, dword [ebx + 0x548]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4a6189
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x44]
push eax
lea edi, [ebx + 0x3e8]
push edi
lea eax, [esp + 0x2c]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004485c0
add esp, 0x18
cmp eax, 1
jne 0x4a60c8
cmp dword [esp + 0x20], 2
jl 0x4a6f43
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.004485c0
add esp, 0x10
cmp eax, 2
jne 0x4a6f43
mov dword [edi], 0
mov byte [esp + 0x40], 0x20
jmp 0x4a60d8
cmp eax, 4
jne 0x4a612e
cmp byte [esp + 0x40], 0x20
jne 0x4a6f43
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
cmp dword [esi + 0x11c], 2
jne 0x4a6102
cmp eax, 0x14
je 0x4a6102
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.00499dc0
add esp, 8
cmp dword [edi], 0x14
mov ecx, edi
jge 0x4a61e5
mov eax, dword [ebx + 0x7dc]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.00499dc0
add esp, 8
mov ecx, edi
jmp 0x4a61e5
test eax, eax
jne 0x4a6f43
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.004485c0
add esp, 0xc
mov dword [edi], 0xa
mov ecx, edi
test eax, eax
jne 0x4a61e5
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.004a7190
add esp, 0xc
cmp eax, 1
jne 0x4a6fe9
mov dword [ebp], 0xc8
mov ecx, edi
mov dword [edi], 0xa
jmp 0x4a61e5
test eax, 0x40000
je 0x4a6fe9
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x17]
push eax
lea edi, [ebx + 0x3ec]
push edi
lea eax, [esp + 0x30]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004485c0
add esp, 0x18
cmp eax, 4
jne 0x4a6fe9
cmp byte [esp + 0x13], 0x20
jne 0x4a6fe9
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0x3e8]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edx, dword [ebp]
mov dword [esi + 0x1070], edx
mov eax, dword [ecx]
mov dword [esi + 0x1078], eax
mov eax, dword [esi + 0xfc4]
test eax, eax
je 0x4a6204
cmp eax, dword [ecx]
jle 0x4a620c
mov eax, dword [ecx]
mov dword [esi + 0xfc4], eax
mov eax, dword [esi + 0xfd0]
or eax, dword [esi + 0xfd4]
je 0x4a6234
cmp dword [esi + 0x840], 1
jne 0x4a6234
cmp edx, 0x1a0
jne 0x4a6234
mov byte [esi + 0x58b], 1
jmp 0x4a626f
cmp byte [esi + 0xb08], 0
je 0x4a626f
cmp edx, 0x190
jl 0x4a626f
cmp edx, 0x191
jne 0x4a6256
cmp byte [ebx + 0x510], 0
jmp 0x4a6269
cmp edx, 0x197
jne 0x4a6f5e
cmp byte [ebx + 0x511], 0
je 0x4a6f5e
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x4a628e
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.00499dc0
push 1
push ebx
call fcn.0049a9b0
add esp, 0x10
jmp 0x4a62ad
cmp eax, 0x14
je 0x4a62a1
cmp dword [esi + 0x11c], 1
jne 0x4a62ad
cmp edx, 0x65
jne 0x4a62ad
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 0x4a62db
sub ecx, 0x64
jne 0x4a630c
cmp dword [esi + 0x834], ecx
je 0x4a62db
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 0x4a6312
lea ebp, [esi + 0x88]
cmp byte [esi + 0x58c], 0
jne 0x4a63ec
cmp byte [esi + 0xb18], 0
jne 0x4a63ec
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a63ec
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004aade0
add esp, 0x10
test eax, eax
jne 0x4a63b6
mov edi, dword [esi + 0x920]
mov eax, edi
mov edx, dword [esi + 0x924]
or eax, edx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
je 0x4a6394
cmp ecx, edx
jg 0x4a6ffa
jl 0x4a6394
cmp eax, edi
ja 0x4a6ffa
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.004a8140
add esp, 0xc
jmp 0x4a69e7
cmp eax, 1
jne 0x4a7015
mov eax, dword [esi + 0x920]
or eax, dword [esi + 0x924]
jne 0x4a6ffa
push 2
push ebx
call fcn.0049a9b0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.00499dc0
add esp, 0x10
jmp 0x4a69e7
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a644b
push dword [esi + 0xf4]
call fcn.004a5810
mov edi, eax
add esp, 4
test edi, edi
je 0x4a7030
cmp byte [edi], 0
jne 0x4a6431
push edi
call dword [0x50b0e0]
add esp, 4
jmp 0x4a69e7
push dword [esi + 0x10a4]
call dword [0x50b0e0]
add esp, 4
mov dword [esi + 0x10a4], edi
jmp 0x4a69e7
cmp dword [ebx + 0x3e8], 0xa
jne 0x4a6494
cmp byte [ebx + 0x50e], 0
je 0x4a6494
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004a5750
add esp, 0xc
test al, al
je 0x4a6494
push 0
push ebx
call fcn.0049a9b0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.00499dc0
add esp, 0x10
jmp 0x4a69e7
cmp dword [ebx + 0x3e8], 0xb
jne 0x4a64dd
cmp byte [ebx + 0x50e], 0
je 0x4a64dd
push 0x4f9638
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004a5750
add esp, 0xc
test al, al
je 0x4a64dd
push 1
push ebx
call fcn.0049a9b0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.00499dc0
add esp, 0x10
jmp 0x4a69e7
cmp dword [ebx + 0x3e8], 0xa
jne 0x4a651d
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.004a5750
add esp, 0xc
test al, al
je 0x4a651d
push 0
push ebx
call fcn.0049a9b0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.00499dc0
add esp, 0x10
jmp 0x4a69e7
push 0x4f9638
push str.Connection:
push dword [esi + 0xf4]
call fcn.004a5750
add esp, 0xc
test al, al
je 0x4a6549
push 2
push ebx
call fcn.0049a9b0
add esp, 8
jmp 0x4a69e7
cmp byte [esi + 0x58c], 0
jne 0x4a65ca
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a6585
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push ebx
call fcn.0049e640
add esp, 0xc
jmp 0x4a69df
cmp byte [esi + 0x58c], 0
jne 0x4a65ca
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a65ca
cmp dword [esi + 0x978], 0
je 0x4a65ca
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push ebx
call fcn.0049e640
add esp, 0xc
jmp 0x4a69df
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a665d
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x18], xmm0
push eax
call fcn.004ab230
mov ebp, eax
add esp, 4
mov edi, edx
cmp ebp, 0xffffffff
jne 0x4a663f
cmp edi, eax
jne 0x4a663f
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004aade0
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x10b0], ebp
mov dword [esi + 0x10b4], edi
jmp 0x4a69e7
push 0
call dword [esp + 0x2c]
add esp, 4
sub ebp, eax
mov dword [esi + 0x10b0], ebp
sbb edi, edx
mov dword [esi + 0x10b4], edi
jmp 0x4a69e7
cmp byte [esi + 0x58c], 0
jne 0x4a6722
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a6722
mov edi, dword [esi + 0xf4]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x4a66b3
movzx eax, al
push eax
call fcn.004c1f70
add esp, 4
test eax, eax
jne 0x4a66b3
cmp byte [edi], 0x2a
je 0x4a66b3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a6696
movzx eax, byte [edi]
push eax
call fcn.004c1f70
add esp, 4
test eax, eax
je 0x4a6709
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push edi
call fcn.004aade0
add esp, 0x10
test eax, eax
jne 0x4a69e7
mov eax, dword [esi + 0xfd0]
cmp eax, dword [ebp]
jne 0x4a69e7
mov eax, dword [esi + 0xfd4]
cmp eax, dword [ebp + 4]
jne 0x4a69e7
mov byte [esi + 0x589], 1
jmp 0x4a69e7
mov dword [esi + 0xfd0], 0
mov dword [esi + 0xfd4], 0
jmp 0x4a69e7
cmp dword [esi + 0xb44], 0
je 0x4a67b0
cmp byte [esi + 0x1043], 0
je 0x4a67b0
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a67b0
push 2
push 2
push esi
call fcn.0049e850
mov ecx, dword [ebx + 0x590]
add esp, 0xc
test ecx, ecx
jne 0x4a676e
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.0048e1d0
push 2
push esi
call fcn.0049e890
add esp, 0x28
jmp 0x4a69e7
cmp byte [esi + 0x58c], 0
jne 0x4a6822
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a6822
cmp dword [esi + 0x834], 0
jne 0x4a67e4
cmp byte [esi + 0xafd], 0
je 0x4a6822
mov eax, dword [esi + 0xf4]
add eax, 0xe
push eax
call fcn.004ab230
add esp, 4
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
cmp byte [esi + 0xafd], 0
je 0x4a69e7
mov ecx, edx
mov dword [esi + 0x1080], eax
mov dword [esi + 0x1084], ecx
jmp 0x4a69e7
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a6849
mov edi, dword [esi + 0x100]
cmp edi, 0x191
je 0x4a6870
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a68ba
mov edi, dword [esi + 0x100]
cmp edi, 0x197
jne 0x4a68ba
push dword [esi + 0xf4]
call fcn.004a5810
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a7030
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.004a5b90
push ebp
mov edi, eax
call dword [0x50b0e0]
add esp, 0x10
test edi, edi
je 0x4a69e7
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a6936
cmp dword [esi + 0xd74], 4
jne 0x4a69e7
push dword [esi + 0xf4]
call fcn.004a5810
mov edi, eax
add esp, 4
test edi, edi
je 0x4a7030
push 5
push edi
push 0x4fab34
call fcn.0049e300
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.00499dc0
push edi
call dword [0x50b0e0]
add esp, 0x20
jmp 0x4a69e7
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4a69c1
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.0049e300
add esp, 0xc
test eax, eax
je 0x4a69c1
cmp dword [esi + 0x13c], 0
jne 0x4a69c1
push dword [esi + 0xf4]
call fcn.004a5810
add esp, 4
test eax, eax
je 0x4a7030
cmp byte [eax], 0
jne 0x4a698f
push eax
call dword [0x50b0e0]
add esp, 4
jmp 0x4a69e7
cmp byte [esi + 0xb0a], 0
mov dword [esi + 0x13c], eax
je 0x4a69e7
push eax
call dword [0x50b0e8]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x4a7030
push ebx
call fcn.004a7430
add esp, 4
jmp 0x4a69df
mov eax, dword [ebx + 0x548]
test dword [eax + 0x40], 0x40000
je 0x4a69e7
push dword [esi + 0xf4]
push ebx
call fcn.004ba730
add esp, 8
test eax, eax
jne 0x4a6f17
xor eax, eax
cmp byte [esi + 0xb0d], al
setne al
add eax, 2
cmp byte [esi + 0xb12], 0
mov dword [esp + 0x18], eax
je 0x4a6a1d
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.00499c50
mov eax, dword [esp + 0x28]
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push eax
push ebx
call fcn.00499c20
add esp, 0x10
test eax, eax
jne 0x4a6f17
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 0x4a6e1d
cmp al, 0xd
jne 0x4a6a6c
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4a6a79
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4a6af8
sub ecx, 0x64
je 0x4a6ac0
sub ecx, 1
je 0x4a6aa7
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x4a6b53
cmp dword [esi + 0x11c], 1
je 0x4a703d
mov byte [esi + 0x588], 0
jmp 0x4a6b53
cmp dword [esi + 0x118], 0
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jle 0x4a6b53
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.0048b310
add esp, 8
jmp 0x4a6b53
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0x588], 0
cmp eax, 0xffffffff
jne 0x4a6b53
cmp byte [esi + 0x58d], 0
jne 0x4a6b53
cmp byte [ebx + 0x508], 0
jne 0x4a6b60
cmp dword [ebx + 0x3e8], 0xb
jne 0x4a6b53
mov eax, dword [ebx + 0x548]
test dword [eax + 0x40], 0x40000
jne 0x4a6b53
cmp dword [esi + 0x840], 6
je 0x4a6b53
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.00499dc0
push 2
push ebx
call fcn.0049a9b0
add esp, 0x10
cmp byte [ebx + 0x508], 0
je 0x4a6be3
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4a6b78
cmp dword [ebx + 0x5ec], 2
je 0x4a6b88
jmp 0x4a6b9d
cmp eax, 0x197
jne 0x4a6b9d
cmp dword [ebx + 0x5f0], 2
jne 0x4a6b9d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.00499dc0
add esp, 8
mov byte [esi + 0x1039], 1
cmp byte [ebx + 0x508], 0
je 0x4a6be3
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4a6bbe
cmp dword [ebx + 0x674], 1
je 0x4a6bce
jmp 0x4a6be3
cmp eax, 0x197
jne 0x4a6be3
cmp dword [ebx + 0x678], 1
jne 0x4a6be3
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.00499dc0
add esp, 8
mov byte [esi + 0x1039], 1
cmp dword [ebx + 0x674], 3
jne 0x4a6c02
cmp dword [esi + 0x100], 0x191
je 0x4a6c02
mov dword [ebx + 0x674], 4
cmp dword [ebx + 0x678], 3
jne 0x4a6c21
cmp dword [esi + 0x100], 0x197
je 0x4a6c21
mov dword [ebx + 0x678], 4
push ebx
call fcn.004a7660
add esp, 4
test eax, eax
jne 0x4a7156
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.00499c20
add esp, 0x10
test eax, eax
jne 0x4a6f17
mov edi, dword [esi + 0xac]
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 edi, edx
mov dword [esi + 0xac], edi
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x4a6cac
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edi
call fcn.004a58e0
add esp, 4
test eax, eax
jne 0x4a6f17
cmp dword [esi + 0x100], 0x12c
jl 0x4a6e10
cmp byte [ebx + 0x518], al
jne case.default.0x4a6d0f
cmp byte [ebx + 0x508], al
jne case.default.0x4a6d0f
cmp byte [ebx + 0x519], al
jne 0x4a6dfb
mov eax, dword [esi + 0x840]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x4a6d0f
jmp dword [eax*4 + 0x4a7178]
push 0
push esi
call fcn.0048b310
add esp, 8
cmp byte [esi + 0x58a], 0
jne case.default.0x4a6d0f
cmp dword [esi + 0x100], 0x1a1
jne 0x4a6d7b
cmp byte [esi + 0x103c], 0
je 0x4a6d7b
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.00499dc0
mov byte [esi + 0x103d], 1
mov eax, dword [ebx]
push dword [eax + 0xb30]
call dword [0x50b0e8]
mov dword [esi + 0x140], eax
lea eax, [esi + 0x88]
push eax
push ebx
call fcn.0049f710
add esp, 0x14
jmp case.default.0x4a6d0f
cmp byte [esi + 0xb09], 0
je 0x4a6dae
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.00499dc0
add esp, 8
cmp dword [esi + 0x118], 0
jle case.default.0x4a6d0f
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp case.default.0x4a6d0f
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.00499dc0
push 2
push ebx
call fcn.0049a9b0
lea eax, [esi + 0x88]
push eax
push ebx
call fcn.0049f710
add esp, 0x18
test eax, eax
jne 0x4a6f17
mov byte [esi + 0x58a], 1
cmp byte [esi + 0x103c], al
je case.default.0x4a6d0f
mov dword [esi + 0x118], 3
cmp byte [ebx + 0x519], 0
je 0x4a6e10
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.00499dc0
add esp, 8
or dword [esi + 0x138], 2
cmp byte [esi + 0x588], 0
je 0x4a7073
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 0x4a6f15
mov eax, dword [esp + 0x48]
mov dword [esi + 0xec], edi
push dword [eax]
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esi + 0xf0], eax
lea ebp, [esi + 0x88]
test eax, eax
jne 0x4a5f76
mov eax, dword [esp + 0x48]
push dword [eax]
push ebp
push esi
call fcn.004a7360
add esp, 0xc
test eax, eax
jne 0x4a6f17
cmp dword [esi + 0xdc], eax
jne 0x4a6f15
push dword [esi + 0xe4]
push dword [esi + 0xcec]
push ebx
push esi
call fcn.004a7240
add esp, 0x10
cmp eax, 2
jne 0x4a6f15
push eax
push ebx
mov byte [esi + 0x588], 0
mov dword [esi + 0xd8], eax
call fcn.0049a9b0
add esp, 8
cmp byte [esi + 0xb2e], 0
jne 0x4a6f15
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.00499ce0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 2
push ebx
call fcn.0049a9b0
add esp, 8
cmp byte [esi + 0xb2e], 0
je 0x4a6ecc
mov eax, dword [esp + 0x48]
mov byte [esi + 0x588], 0
cmp dword [eax], 0
je 0x4a6f1f
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.00499ce0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4a6fe1
push 0x20
push edi
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x4a6fe1
inc edi
cmp byte [edi], 0
je 0x4a6fe1
push 0xd
push edi
mov byte [esp + 0x50], 0xd
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a6fbc
push 0xa
push edi
mov byte [esp + 0x50], 0xa
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a6fe1
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.00499ce0
mov al, byte [esp + 0x54]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push dword [ebp]
jmp 0x4a715c
pop edi
mov byte [esi + 0x588], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.00499ce0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.00499ce0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x2c
ret
push str.Received_101_n
push esi
call fcn.00499dc0
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, 0x2c
ret
cmp byte [esi + 0xb10], 0
mov edi, dword [esp + 0x4c]
jne 0x4a70d7
mov eax, dword [ebx + 0x548]
lea ebx, [esi + 0x88]
test dword [eax + 0x40], 0x40000
je 0x4a70ab
cmp dword [esi + 0xa9c], 2
jne 0x4a70ab
cmp dword [ebx + 4], 0xffffffff
jl 0x4a70dd
jg 0x4a70ab
cmp dword [ebx], 0xffffffff
jbe 0x4a70dd
cmp byte [esi + 0x58d], 0
je 0x4a70e0
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x4a70e0
lea ebx, [esi + 0x88]
mov byte [edi], 1
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
cmp ecx, 0xffffffff
jne 0x4a70ee
cmp eax, ecx
je 0x4a710a
push eax
push ecx
push esi
call fcn.004a8140
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
cmp dword [esi + 0x90], 0
jne 0x4a7121
cmp dword [esi + 0x94], 0
jne 0x4a7121
mov byte [edi], 1
jmp 0x4a7126
cmp byte [edi], 0
je 0x4a712d
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0xb12], 0
je 0x4a6f15
push ebp
push dword [esi + 0xec]
push 1
push esi
call fcn.00499c50
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.00499ce0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret