Function at 0x4b1d80
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
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 ebx, ecx
push dword [eax]
mov dword [esp + 0x28], ecx
push 0xa
push ecx
call sub.VCRUNTIME140.dll_memchr
mov edi, dword [esp + 0x4c]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x4b2ea1
sub ebx, eax
mov eax, dword [esp + 0x44]
dec ebx
add dword [eax], ebx
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.004b3080
add esp, 0xc
test eax, eax
jne 0x4b2c5a
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc94]
mov dword [esi + 0xf4], eax
jne 0x4b1e35
push dword [esi + 0xe4]
push eax
push esi
call fcn.004b2f30
add esp, 0xc
cmp eax, 2
je 0x4b2c26
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x4b2864
cmp al, 0xd
je 0x4b2868
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x4b2126
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4b1f97
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x40]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [esp + 0x24]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.0049bcf0
add esp, 0x18
cmp eax, 1
jne 0x4b1eda
cmp dword [esp + 0x18], 2
jl 0x4b2c86
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.0049bcf0
add esp, 0x10
cmp eax, 2
jne 0x4b2c86
mov dword [ebx], 0
mov byte [esp + 0x3c], 0x20
jmp 0x4b1eea
cmp eax, 4
jne 0x4b1f40
cmp byte [esp + 0x3c], 0x20
jne 0x4b2c86
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
mov dword [ebx], eax
mov ecx, eax
cmp dword [esi + 0x11c], 2
jne 0x4b1f18
cmp eax, 0x14
je 0x4b1f18
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004a53b0
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0x14
jge 0x4b1ff7
mov eax, dword [edi + 0x57c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.004a53b0
add esp, 8
jmp 0x4b1ff7
test eax, eax
jne 0x4b2c86
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.0049bcf0
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x4b1ff7
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.004b2f30
add esp, 0xc
cmp eax, 1
jne 0x4b2d33
mov dword [ebp], 0xc8
mov dword [ebx], 0xa
jmp 0x4b1ff7
test eax, 0x40000
je 0x4b2d33
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x17]
push eax
lea ebx, [edi + 0x188]
push ebx
lea eax, [esp + 0x28]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.0049bcf0
add esp, 0x18
cmp eax, 4
jne 0x4b2d33
cmp byte [esp + 0x13], 0x20
jne 0x4b2d33
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
lea ebx, [edi + 0x184]
mov eax, dword [ebp]
mov dword [esi + 0xff0], eax
mov eax, dword [ebx]
mov dword [esi + 0xff8], eax
mov eax, dword [esi + 0xf6c]
test eax, eax
je 0x4b2016
cmp eax, dword [ebx]
jle 0x4b201e
mov eax, dword [ebx]
mov dword [esi + 0xf6c], eax
mov eax, dword [esi + 0xf78]
or eax, dword [esi + 0xf7c]
je 0x4b2047
cmp dword [esi + 0x830], 1
jne 0x4b2047
cmp dword [ebp], 0x1a0
jne 0x4b2047
mov byte [esi + 0x58b], 1
jmp 0x4b2082
cmp byte [esi + 0xaaf], 0
je 0x4b2082
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x4b2082
cmp eax, 0x191
jne 0x4b206a
cmp byte [edi + 0x2ac], 0
jmp 0x4b207c
cmp eax, 0x197
jne 0x4b2ca1
cmp byte [edi + 0x2ad], 0
je 0x4b2ca1
mov eax, dword [ebx]
cmp eax, 0xa
jne 0x4b20a1
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004a53b0
push 1
push edi
call fcn.004a5e40
add esp, 0x10
jmp 0x4b20c1
cmp eax, 0x14
je 0x4b20b5
cmp dword [esi + 0x11c], 1
jne 0x4b20c1
cmp dword [ebp], 0x65
jne 0x4b20c1
mov eax, dword [edi + 0x57c]
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 0x4b20ef
sub ecx, 0x64
jne 0x4b2120
cmp dword [esi + 0x824], ecx
je 0x4b20ef
mov byte [esi + 0x10b0], 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 0x4b2126
lea ebp, [esi + 0x88]
cmp byte [esi + 0x58c], 0
jne 0x4b2200
cmp byte [esi + 0xabf], 0
jne 0x4b2200
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b2200
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004b51b0
add esp, 0x10
test eax, eax
jne 0x4b21ca
mov ebx, dword [esi + 0x910]
mov eax, ebx
mov edx, dword [esi + 0x914]
or eax, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x4b21a8
cmp ecx, edx
jg 0x4b2d44
jl 0x4b21a8
cmp eax, ebx
ja 0x4b2d44
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.004b3d90
add esp, 0xc
jmp 0x4b27f4
cmp eax, 1
jne 0x4b2d5f
mov eax, dword [esi + 0x910]
or eax, dword [esi + 0x914]
jne 0x4b2d44
push 2
push edi
call fcn.004a5e40
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004a53b0
add esp, 0x10
jmp 0x4b27f4
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b225f
push dword [esi + 0xf4]
call fcn.004b1690
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b2d7a
cmp byte [ebx], 0
jne 0x4b2245
push ebx
call dword [0x6560dc]
add esp, 4
jmp 0x4b27f4
push dword [esi + 0x1024]
call dword [0x6560dc]
add esp, 4
mov dword [esi + 0x1024], ebx
jmp 0x4b27f4
cmp dword [edi + 0x184], 0xa
jne 0x4b22a8
cmp byte [edi + 0x2aa], 0
je 0x4b22a8
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004b15d0
add esp, 0xc
test al, al
je 0x4b22a8
push 0
push edi
call fcn.004a5e40
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004a53b0
add esp, 0x10
jmp 0x4b27f4
cmp dword [edi + 0x184], 0xb
jne 0x4b22f1
cmp byte [edi + 0x2aa], 0
je 0x4b22f1
push 0x5d63ac
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004b15d0
add esp, 0xc
test al, al
je 0x4b22f1
push 1
push edi
call fcn.004a5e40
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004a53b0
add esp, 0x10
jmp 0x4b27f4
cmp dword [edi + 0x184], 0xa
jne 0x4b2331
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.004b15d0
add esp, 0xc
test al, al
je 0x4b2331
push 0
push edi
call fcn.004a5e40
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004a53b0
add esp, 0x10
jmp 0x4b27f4
push 0x5d63ac
push str.Connection:
push dword [esi + 0xf4]
call fcn.004b15d0
add esp, 0xc
test al, al
je 0x4b235d
push 2
push edi
call fcn.004a5e40
add esp, 8
jmp 0x4b27f4
cmp byte [esi + 0x58c], 0
jne 0x4b23d9
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b238c
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
jmp 0x4b23c2
cmp byte [esi + 0x58c], 0
jne 0x4b23d9
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b23d9
cmp dword [esi + 0x95c], 0
je 0x4b23d9
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push edi
call fcn.004aa410
add esp, 0xc
test eax, eax
jne 0x4b2c5a
jmp 0x4b27f4
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b246d
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x28], xmm0
push eax
call fcn.004b5600
mov ebp, eax
add esp, 4
mov ebx, edx
cmp ebp, 0xffffffff
jne 0x4b244e
cmp ebx, eax
jne 0x4b244e
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004b51b0
mov ebx, dword [esp + 0x3c]
add esp, 0x10
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x1030], ebp
mov dword [esi + 0x1034], ebx
jmp 0x4b27f4
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add esp, 4
sub ebp, eax
mov dword [esi + 0x1030], ebp
sbb ebx, edx
mov dword [esi + 0x1034], ebx
jmp 0x4b27f4
cmp byte [esi + 0x58c], 0
jne 0x4b2532
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b2532
mov ebx, dword [esi + 0xf4]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x4b24c3
movzx eax, al
push eax
call fcn.004c1160
add esp, 4
test eax, eax
jne 0x4b24c3
cmp byte [ebx], 0x2a
je 0x4b24c3
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4b24a6
movzx eax, byte [ebx]
push eax
call fcn.004c1160
add esp, 4
test eax, eax
je 0x4b2519
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push ebx
call fcn.004b51b0
add esp, 0x10
test eax, eax
jne 0x4b27f4
mov eax, dword [esi + 0xf78]
cmp eax, dword [ebp]
jne 0x4b27f4
mov eax, dword [esi + 0xf7c]
cmp eax, dword [ebp + 4]
jne 0x4b27f4
mov byte [esi + 0x589], 1
jmp 0x4b27f4
mov dword [esi + 0xf78], 0
mov dword [esi + 0xf7c], 0
jmp 0x4b27f4
cmp dword [esi + 0xaec], 0
je 0x4b25c0
cmp byte [esi + 0xfea], 0
je 0x4b25c0
push 0xb
push dword [esi + 0xf4]
push 0x5d482c
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b25c0
push 2
push 2
push esi
call fcn.004aab20
mov ecx, dword [edi + 0x330]
add esp, 0xc
test ecx, ecx
jne 0x4b257e
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xfc8]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xaec]
push esi
call fcn.00499e60
push 2
push esi
call fcn.004aab60
add esp, 0x28
jmp 0x4b27f4
cmp byte [esi + 0x58c], 0
jne 0x4b2636
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b2636
cmp dword [esi + 0x824], 0
jne 0x4b25f4
cmp byte [esi + 0xaa9], 0
je 0x4b2636
mov eax, dword [esi + 0xf4]
add eax, 0xe
push eax
call fcn.004b5600
add esp, 4
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
cmp byte [esi + 0xaa9], 0
je 0x4b27f4
mov dword [esi + 0x1000], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x1004], eax
jmp 0x4b27f4
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b265d
mov ebx, dword [esi + 0x100]
cmp ebx, 0x191
je 0x4b2684
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b26ce
mov ebx, dword [esi + 0x100]
cmp ebx, 0x197
jne 0x4b26ce
push dword [esi + 0xf4]
call fcn.004b1690
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b2d7a
cmp ebx, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.004b1a10
push ebp
mov ebx, eax
call dword [0x6560dc]
add esp, 0x10
test ebx, ebx
je 0x4b27f4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b274a
cmp dword [esi + 0xd1c], 4
jne 0x4b27f4
push dword [esi + 0xf4]
call fcn.004b1690
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b2d7a
push 5
push ebx
push 0x5d7888
call fcn.004a9d50
test eax, eax
mov byte [edi + 0x45d], 1
push ebx
setne al
mov byte [edi + 0x45c], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.004a53b0
push ebx
call dword [0x6560dc]
add esp, 0x20
jmp 0x4b27f4
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4b27e1
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.004a9d50
add esp, 0xc
test eax, eax
je 0x4b27e1
cmp dword [esi + 0x13c], 0
jne 0x4b27e1
push dword [esi + 0xf4]
call fcn.004b1690
add esp, 4
test eax, eax
je 0x4b2d7a
cmp byte [eax], 0
jne 0x4b27a7
push eax
call dword [0x6560dc]
add esp, 4
jmp 0x4b27f4
cmp byte [esi + 0xab1], 0
mov dword [esi + 0x13c], eax
je 0x4b27f4
push eax
call dword [0x6560e4]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x4b2d7a
push edi
call fcn.004b3140
add esp, 4
test eax, eax
jne 0x4b2c5a
jmp 0x4b27f4
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
jne 0x4b2d87
xor ebx, ebx
cmp byte [esi + 0xab4], bl
setne bl
add ebx, 2
cmp byte [esi + 0xab9], 0
je 0x4b2822
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.004a5240
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push ebx
push edi
call fcn.004a5210
add esp, 0x10
test eax, eax
jne 0x4b2c5a
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0x1008], eax
adc dword [esi + 0x100c], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x4b2be6
cmp al, 0xd
jne 0x4b2871
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4b287e
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4b28fd
sub ecx, 0x64
je 0x4b28c5
sub ecx, 1
je 0x4b28ac
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x4b2958
cmp dword [esi + 0x11c], 1
je 0x4b2d94
mov byte [esi + 0x588], 0
jmp 0x4b2958
cmp dword [esi + 0x118], 0
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jle 0x4b2958
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.004970f0
add esp, 8
jmp 0x4b2958
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0x588], 0
cmp eax, 0xffffffff
jne 0x4b2958
cmp byte [esi + 0x58d], 0
jne 0x4b2958
cmp byte [edi + 0x2a4], 0
jne 0x4b2958
cmp dword [edi + 0x184], 0xb
jne 0x4b2958
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
jne 0x4b2958
cmp dword [esi + 0x830], 6
je 0x4b2958
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004a53b0
push 2
push edi
call fcn.004a5e40
add esp, 0x10
mov al, byte [edi + 0x2a4]
test al, al
je 0x4b29ea
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4b297e
cmp dword [edi + 0x38c], 2
je 0x4b298e
jmp 0x4b29ad
cmp eax, 0x197
jne 0x4b29ad
cmp dword [edi + 0x390], 2
jne 0x4b29ad
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004a53b0
mov byte [esi + 0xfe1], 1
add esp, 8
mov al, byte [edi + 0x2a4]
test al, al
je 0x4b29ea
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4b29c5
cmp dword [edi + 0x414], 1
je 0x4b29d5
jmp 0x4b29ea
cmp eax, 0x197
jne 0x4b29ea
cmp dword [edi + 0x418], 1
jne 0x4b29ea
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004a53b0
add esp, 8
mov byte [esi + 0xfe1], 1
cmp dword [edi + 0x414], 3
jne 0x4b2a09
cmp dword [esi + 0x100], 0x191
je 0x4b2a09
mov dword [edi + 0x414], 4
cmp dword [edi + 0x418], 3
jne 0x4b2a28
cmp dword [esi + 0x100], 0x197
je 0x4b2a28
mov dword [edi + 0x418], 4
push edi
call fcn.004b3370
add esp, 4
test eax, eax
jne 0x4b2e80
mov eax, dword [esi + 0xc94]
mov ebp, dword [esi + 0xf4]
sub ebp, eax
push ebp
push eax
xor eax, eax
cmp byte [esi + 0xab4], al
setne al
add eax, 2
push eax
push edi
call fcn.004a5210
add esp, 0x10
test eax, eax
jne 0x4b2c5a
mov ecx, dword [esi + 0xa8]
mov eax, ebp
mov ebx, dword [esi + 0xac]
cdq
add dword [esi + 0x1008], eax
adc dword [esi + 0x100c], edx
add ecx, eax
mov dword [esi + 0xa8], ecx
adc ebx, edx
mov dword [esi + 0xac], ebx
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x4b2ab3
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edi
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], ebx
call fcn.004b1760
add esp, 4
test eax, eax
jne 0x4b2c5a
cmp dword [esi + 0x100], 0x12c
jl 0x4b2bd3
cmp byte [edi + 0x2b4], al
jne 0x4b2bad
cmp byte [edi + 0x2a4], al
jne 0x4b2bad
cmp byte [edi + 0x2b5], al
jne 0x4b2bad
mov eax, dword [esi + 0x830]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4b2bad
push 0
push esi
call fcn.004970f0
add esp, 8
cmp byte [esi + 0x58a], 0
jne 0x4b2bad
cmp byte [esi + 0xab0], 0
je 0x4b2b67
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004a53b0
add esp, 8
lea ebx, [esi + 0x88]
cmp dword [esi + 0x118], 0
jle 0x4b2bb3
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x4b2bb3
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004a53b0
push 2
push edi
call fcn.004a5e40
lea ebx, [esi + 0x88]
push ebx
push edi
call fcn.004ab9b0
add esp, 0x18
test eax, eax
jne 0x4b2c5a
mov byte [esi + 0x58a], 1
cmp byte [esi + 0xfe4], al
je 0x4b2bb3
mov dword [esi + 0x118], 3
jmp 0x4b2bb3
lea ebx, [esi + 0x88]
cmp byte [edi + 0x2b5], 0
je 0x4b2bd9
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004a53b0
add esp, 8
or dword [esi + 0x138], 2
jmp 0x4b2bd9
lea ebx, [esi + 0x88]
cmp byte [esi + 0x588], 0
je 0x4b2dca
mov eax, dword [esi + 0xc94]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov ebx, dword [esi + 0xe8]
cmp byte [ebx], 0
je 0x4b2c58
mov eax, dword [esp + 0x44]
mov dword [esi + 0xec], ebx
push dword [eax]
push 0xa
push ebx
call sub.VCRUNTIME140.dll_memchr
lea ebp, [esi + 0x88]
jmp 0x4b1dbb
push 2
push edi
call fcn.004a5e40
add esp, 8
cmp byte [esi + 0xad5], 0
je 0x4b2f07
mov eax, dword [esp + 0x44]
mov byte [esi + 0x588], 0
cmp dword [eax], 0
je 0x4b2c62
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
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, 0x28
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.004a52d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x4b2e80
push 0x20
push edi
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x4b2e80
inc edi
cmp byte [edi], 0
je 0x4b2e80
push 0xd
push edi
mov byte [esp + 0x4c], 0xd
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b2d0e
push 0xa
push edi
mov byte [esp + 0x4c], 0xa
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b2e80
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.004a52d0
mov al, byte [esp + 0x50]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
mov byte [esi + 0x588], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004a52d0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004a52d0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x28
ret
push str.Received_101_n
push esi
call fcn.004a53b0
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, 0x28
ret
cmp byte [esi + 0xab7], 0
mov edi, dword [esp + 0x48]
je 0x4b2ddc
mov byte [edi], 1
jmp 0x4b2e06
cmp byte [esi + 0x58d], 0
je 0x4b2e06
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
cmp ecx, 0xffffffff
jne 0x4b2e22
cmp eax, ecx
jne 0x4b2e22
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x4b2e3e
push eax
push ecx
push esi
call fcn.004b3d90
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ebx + 4]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x4b2e4b
test eax, eax
jne 0x4b2e4b
mov byte [edi], 1
jmp 0x4b2e50
cmp byte [edi], 0
je 0x4b2e57
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0xab9], 0
je 0x4b2c58
push ebp
push dword [esi + 0xec]
push 1
push esi
call fcn.004a5240
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004a52d0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x44]
push dword [eax]
push ebp
push esi
call fcn.004b3080
add esp, 0xc
test eax, eax
jne 0x4b2c5a
cmp dword [esi + 0xdc], eax
jne 0x4b2c58
push dword [esi + 0xe4]
push dword [esi + 0xc94]
push esi
call fcn.004b2f30
add esp, 0xc
cmp eax, 2
jne 0x4b2c58
push eax
push edi
mov byte [esi + 0x588], 0
mov dword [esi + 0xd8], eax
call fcn.004a5e40
add esp, 8
cmp byte [esi + 0xad5], 0
jne 0x4b2c58
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004a52d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret