Function at 0x4ca360
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0xe8]
mov ebx, ecx
mov dword [esi + 0xec], ecx
push dword [eax]
mov dword [ebp - 0x18], ecx
push 0xa
push ecx
call fcn.005ff1a0
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x4cb0d3
sub ebx, eax
mov eax, dword [ebp + 0x10]
dec ebx
add dword [eax], ebx
lea ebx, [esi + 0x88]
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push ebx
push esi
call fcn.004cb660
add esp, 0xc
test eax, eax
jne 0x4cb186
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc54]
mov dword [esi + 0xf4], eax
jne 0x4ca417
push dword [esi + 0xe4]
push dword [esi + 0xc54]
push edi
push esi
call fcn.004cb520
add esp, 0x10
cmp eax, 2
je 0x4cb154
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x4cada4
cmp al, 0xd
je 0x4cada8
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x4ca731
mov eax, dword [edi + 0x2b8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4ca57d
lea eax, [esi + 0x100]
push eax
lea eax, [ebp + 0xb]
push eax
lea ebx, [edi + 0x180]
push ebx
lea eax, [ebp - 8]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004754b0
add esp, 0x18
cmp eax, 1
jne 0x4ca4b9
cmp dword [ebp - 8], 2
jne 0x4cb1ae
lea eax, [esi + 0x100]
push eax
push str._HTTP_2__d
push dword [esi + 0xf4]
call fcn.004754b0
add esp, 0xc
cmp eax, 1
jne 0x4cb1ae
mov dword [ebx], 0
mov byte [ebp + 0xb], 0x20
jmp 0x4ca4c8
cmp eax, 4
jne 0x4ca51d
cmp byte [ebp + 0xb], 0x20
jne 0x4cb1ae
mov eax, dword [ebp - 8]
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 0x4ca4f5
cmp eax, 0x14
je 0x4ca4f5
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004c0da0
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0x14
jge 0x4ca5d9
mov eax, dword [edi + 0x430]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.004c0da0
add esp, 8
jmp 0x4ca5d9
test eax, eax
jne 0x4cb1ae
lea eax, [esi + 0x100]
push eax
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.004754b0
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x4ca5d9
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.004cb460
add esp, 0xc
cmp eax, 1
jne 0x4cb1dd
mov dword [esi + 0x100], 0xc8
mov dword [ebx], 0xa
jmp 0x4ca5d9
test eax, 0x40000
je 0x4cb1dd
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 1]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [ebp - 0xc]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004754b0
add esp, 0x18
cmp eax, 4
jne 0x4cb1dd
cmp byte [ebp - 1], 0x20
jne 0x4cb1dd
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x180], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
lea ebx, [edi + 0x180]
mov eax, dword [esi + 0x100]
mov dword [esi + 0xfc0], eax
mov eax, dword [ebx]
mov dword [esi + 0xfc8], eax
mov eax, dword [esi + 0xf24]
test eax, eax
je 0x4ca5fb
cmp eax, dword [ebx]
jle 0x4ca603
mov eax, dword [ebx]
mov dword [esi + 0xf24], eax
mov eax, dword [esi + 0xf30]
or eax, dword [esi + 0xf34]
je 0x4ca62f
cmp dword [esi + 0x828], 1
jne 0x4ca62f
cmp dword [esi + 0x100], 0x1a0
jne 0x4ca62f
or dword [esi + 0x588], 8
jmp 0x4ca673
test dword [esi + 0xa8c], 0x100000
je 0x4ca673
mov eax, dword [esi + 0x100]
cmp eax, 0x190
jl 0x4ca673
cmp eax, 0x191
jne 0x4ca658
test byte [edi + 0x294], 0x80
jne 0x4ca673
cmp eax, 0x197
jne 0x4cb1c8
test dword [edi + 0x294], 0x100
je 0x4cb1c8
mov eax, dword [ebx]
cmp eax, 0xa
jne 0x4ca692
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004c0da0
push 1
push edi
call fcn.004c17b0
add esp, 0x10
jmp 0x4ca6b5
cmp eax, 0x14
je 0x4ca6a9
cmp dword [esi + 0x11c], 1
jne 0x4ca6b5
cmp dword [esi + 0x100], 0x65
jne 0x4ca6b5
mov eax, dword [edi + 0x430]
mov dword [eax], 2
mov edx, dword [esi + 0x100]
mov ecx, 0x63
lea eax, [edx - 0x64]
cmp ecx, eax
mov eax, dword [esi + 0x588]
sbb ecx, ecx
and eax, 0xffffffef
and ecx, 0xfffffff0
add ecx, 0x10
or ecx, eax
mov dword [esi + 0x588], ecx
sub edx, 0xcc
je 0x4ca700
sub edx, 0x64
jne 0x4ca731
cmp dword [esi + 0x81c], edx
je 0x4ca700
or dword [esi + 0x1074], 1
mov ecx, dword [esi + 0x588]
or ecx, 0x10
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x588], ecx
test byte [esi + 0x588], 0x10
jne 0x4ca80e
test byte [esi + 0xa90], 0x10
jne 0x4ca80e
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4ca80e
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004d0f00
add esp, 0x10
test eax, eax
jne 0x4ca7d8
mov ebx, dword [esi + 0x8f8]
mov eax, ebx
mov edx, dword [esi + 0x8fc]
or eax, edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
je 0x4ca7b0
cmp ecx, edx
jg 0x4cb1ed
jl 0x4ca7b0
cmp eax, ebx
ja 0x4cb1ed
push ecx
push eax
push esi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.004ce820
add esp, 0xc
jmp 0x4cad26
cmp eax, 1
jne 0x4cb207
mov eax, dword [esi + 0x8f8]
or eax, dword [esi + 0x8fc]
jne 0x4cb1ed
push 2
push edi
call fcn.004c17b0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004c0da0
add esp, 0x10
jmp 0x4cad26
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4ca86d
push dword [esi + 0xf4]
call fcn.004c9cf0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4cb221
cmp byte [ebx], 0
jne 0x4ca853
push ebx
call dword [0x6c4010]
add esp, 4
jmp 0x4cad26
push dword [esi + 0xff4]
call dword [0x6c4010]
add esp, 4
mov dword [esi + 0xff4], ebx
jmp 0x4cad26
cmp dword [edi + 0x180], 0xa
jne 0x4ca8b6
test byte [edi + 0x294], 0x20
je 0x4ca8b6
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004c9c30
add esp, 0xc
test al, al
je 0x4ca8b6
push 0
push edi
call fcn.004c17b0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004c0da0
add esp, 0x10
jmp 0x4cad26
cmp dword [edi + 0x180], 0xb
jne 0x4ca8ff
test byte [edi + 0x294], 0x20
je 0x4ca8ff
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004c9c30
add esp, 0xc
test al, al
je 0x4ca8ff
push 1
push edi
call fcn.004c17b0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004c0da0
add esp, 0x10
jmp 0x4cad26
cmp dword [edi + 0x180], 0xa
jne 0x4ca93f
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.004c9c30
add esp, 0xc
test al, al
je 0x4ca93f
push 0
push edi
call fcn.004c17b0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004c0da0
add esp, 0x10
jmp 0x4cad26
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.004c9c30
add esp, 0xc
test al, al
je 0x4ca96b
push 2
push edi
call fcn.004c17b0
add esp, 8
jmp 0x4cad26
test byte [esi + 0x588], 0x10
jne 0x4caac2
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4ca9ab
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push edi
call fcn.004c52b0
add esp, 0xc
jmp 0x4cad1e
test byte [esi + 0x588], 0x10
jne 0x4caac2
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4ca9f4
cmp dword [esi + 0x950], 0
je 0x4ca9f4
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push edi
call fcn.004c52b0
add esp, 0xc
jmp 0x4cad1e
test byte [esi + 0x588], 0x10
jne 0x4caac2
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4caac2
mov ebx, dword [esi + 0xf4]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x4caa4d
nop dword [eax]
movzx eax, al
push eax
call fcn.004c3830
add esp, 4
test eax, eax
jne 0x4caa4d
cmp byte [ebx], 0x2a
je 0x4caa4d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4caa30
movzx eax, byte [ebx]
push eax
call fcn.004c3830
add esp, 4
test eax, eax
je 0x4caaa9
lea eax, [esi + 0xf8]
push eax
push 0xa
push 0
push ebx
call fcn.004d0f00
add esp, 0x10
test eax, eax
jne 0x4cad26
mov eax, dword [esi + 0xf30]
cmp eax, dword [esi + 0xf8]
jne 0x4cad26
mov eax, dword [esi + 0xf34]
cmp eax, dword [esi + 0xfc]
jne 0x4cad26
or dword [esi + 0x588], 2
jmp 0x4cad26
mov dword [esi + 0xf30], 0
mov dword [esi + 0xf34], 0
jmp 0x4cad26
cmp dword [esi + 0xaac], 0
je 0x4cab43
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4cab43
push 2
push 2
push esi
call fcn.004c54e0
mov ecx, dword [edi + 0x300]
add esp, 0xc
test ecx, ecx
jne 0x4cab01
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0x2b8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xf80]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xaac]
push esi
call fcn.004b65f0
push 2
push esi
call fcn.004c5520
add esp, 0x28
jmp 0x4cad26
test byte [esi + 0x588], 0x10
jne 0x4cabd4
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4cabd4
cmp dword [esi + 0x81c], 0
jne 0x4cab7e
test dword [esi + 0xa8c], 0x200
je 0x4cabd4
push 0
call fcn.00613a27
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi + 0xf4]
add eax, 0xe
mov dword [ebp - 0x24], edx
push eax
call fcn.004d0840
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
test dword [esi + 0xa8c], 0x200
je 0x4cad26
mov dword [esi + 0xfd0], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xfd4], eax
jmp 0x4cad26
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4cabfb
mov ebx, dword [esi + 0x100]
cmp ebx, 0x191
je 0x4cac22
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4cac6e
mov ebx, dword [esi + 0x100]
cmp ebx, 0x197
jne 0x4cac6e
push dword [esi + 0xf4]
call fcn.004c9cf0
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4cb221
cmp ebx, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.004ca080
push dword [ebp - 0x10]
mov ebx, eax
call dword [0x6c4010]
add esp, 0x10
test ebx, ebx
je 0x4cad26
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4cad00
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.004c50e0
add esp, 0xc
test eax, eax
je 0x4cad00
cmp dword [esi + 0x13c], 0
jne 0x4cad00
push dword [esi + 0xf4]
call fcn.004c9cf0
add esp, 4
test eax, eax
je 0x4cb221
cmp byte [eax], 0
jne 0x4caccb
push eax
call dword [0x6c4010]
add esp, 4
jmp 0x4cad26
test dword [esi + 0xa8c], 0x400000
mov dword [esi + 0x13c], eax
je 0x4cad26
push eax
call dword [0x6c4018]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x4cb221
push edi
call fcn.004cb880
add esp, 4
jmp 0x4cad1e
mov eax, dword [edi + 0x2b8]
test dword [eax + 0x40], 0x40000
je 0x4cad26
push dword [esi + 0xf4]
push edi
call fcn.004e1640
add esp, 8
test eax, eax
jne 0x4cb186
mov eax, dword [esi + 0xa8c]
mov ebx, eax
and ebx, 0x2000000
or ebx, 0x4000000
shr ebx, 0x19
test eax, 0x40000000
je 0x4cad5b
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.004c0c40
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push ebx
push edi
call fcn.004c0c10
add esp, 0x10
test eax, eax
jne 0x4cb186
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xfd8], eax
adc dword [esi + 0xfdc], edx
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x4cb08a
cmp al, 0xd
jne 0x4cadb1
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4cadbe
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4cae41
sub ecx, 0x64
je 0x4cae05
sub ecx, 1
je 0x4cadec
or dword [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x4cae9f
cmp dword [esi + 0x11c], 1
je 0x4cb22d
and dword [esi + 0x588], 0xfffffffe
jmp 0x4cae9f
or dword [esi + 0x588], 1
cmp dword [esi + 0x118], 0
mov dword [esi + 0xdc], 0
jle 0x4cae9f
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.004b3dc0
add esp, 8
jmp 0x4cae9f
mov ecx, dword [esi + 0x588]
mov eax, dword [ebx]
and ecx, 0xfffffffe
and eax, dword [ebx + 4]
mov dword [esi + 0x588], ecx
cmp eax, 0xffffffff
jne 0x4cae9f
test cl, 0x20
jne 0x4cae9f
test byte [edi + 0x294], 1
jne 0x4caea8
cmp dword [edi + 0x180], 0xb
jne 0x4cae9f
mov eax, dword [edi + 0x2b8]
test dword [eax + 0x40], 0x40000
jne 0x4cae9f
cmp dword [esi + 0x828], 6
je 0x4cae9f
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004c0da0
push 2
push edi
call fcn.004c17b0
add esp, 0x10
test byte [edi + 0x294], 1
je 0x4caee5
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4caec0
cmp dword [edi + 0x324], 2
je 0x4caed0
jmp 0x4caee5
cmp eax, 0x197
jne 0x4caee5
cmp dword [edi + 0x328], 2
jne 0x4caee5
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004c0da0
add esp, 8
or dword [esi + 0xf94], 0x20
push edi
call fcn.004cba40
add esp, 4
test eax, eax
jne 0x4cb34b
mov eax, dword [esi + 0xc54]
mov ebx, dword [esi + 0xf4]
sub ebx, eax
push ebx
push eax
mov eax, dword [esi + 0xa8c]
and eax, 0x2000000
mov dword [ebp - 0x10], ebx
or eax, 0x4000000
shr eax, 0x19
push eax
push edi
call fcn.004c0c10
add esp, 0x10
test eax, eax
jne 0x4cb186
mov ecx, dword [esi + 0xa8]
mov eax, ebx
mov ebx, dword [esi + 0xac]
cdq
add dword [esi + 0xfd8], eax
adc dword [esi + 0xfdc], 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 0x4caf75
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push edi
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], ebx
call fcn.004c9dc0
add esp, 4
test eax, eax
jne 0x4cb186
cmp dword [esi + 0x100], 0x12c
jl 0x4cb07b
test dword [edi + 0x294], 0x18001
jne 0x4cb05a
mov eax, dword [esi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4cb05a
push 0
push esi
call fcn.004b3dc0
add esp, 8
test byte [esi + 0x588], 4
jne 0x4cb05a
test dword [esi + 0xa8c], 0x200000
je 0x4cb012
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004c0da0
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x4cb05a
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x4cb05a
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004c0da0
push 2
push edi
call fcn.004c17b0
lea eax, [esi + 0x88]
push eax
push edi
call fcn.004cc9a0
add esp, 0x18
test eax, eax
jne 0x4cb186
or dword [esi + 0x588], 4
test dword [esi + 0xf94], 0x100
je 0x4cb05a
mov dword [esi + 0x118], 3
test dword [edi + 0x294], 0x10000
je 0x4cb07b
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004c0da0
add esp, 8
or dword [esi + 0x138], 2
mov ecx, dword [esi + 0x588]
test cl, 1
je 0x4cb262
mov eax, dword [esi + 0xc54]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov ebx, dword [esi + 0xe8]
cmp byte [ebx], 0
je 0x4cb184
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xec], ebx
push dword [eax]
push 0xa
push ebx
call fcn.005ff1a0
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x4ca3a3
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [esi + 0x88]
push eax
push esi
call fcn.004cb660
add esp, 0xc
test eax, eax
jne 0x4cb186
cmp dword [esi + 0xdc], eax
jne 0x4cb184
push dword [esi + 0xe4]
push dword [esi + 0xc54]
push edi
push esi
call fcn.004cb520
add esp, 0x10
cmp eax, 2
jne 0x4cb184
and dword [esi + 0x588], 0xfffffffe
push eax
push edi
mov dword [esi + 0xd8], eax
call fcn.004c17b0
add esp, 8
test dword [esi + 0xa90], 0x2000000
jne 0x4cb184
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004c0cc0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push edi
call fcn.004c17b0
add esp, 8
test dword [esi + 0xa90], 0x2000000
je 0x4cb13a
mov eax, dword [ebp + 0x10]
and dword [esi + 0x588], 0xfffffffe
cmp dword [eax], 0
je 0x4cb18d
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push esi
call fcn.004c0cc0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004cbcd0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [esi + 0x588], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004c0cc0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004c0cc0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push esi
call fcn.004c0da0
add esp, 8
mov dword [esi + 0x11c], 2
or dword [esi + 0x588], 1
mov eax, 1
mov dword [esi + 0xdc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 0xa8c], 0x10000000
mov ebx, dword [ebp + 0x14]
jne 0x4cb2c4
mov eax, dword [edi + 0x2b8]
lea edi, [esi + 0x88]
test dword [eax + 0x40], 0x40000
je 0x4cb29c
cmp dword [esi + 0xa34], 2
jne 0x4cb29c
cmp dword [edi + 4], 0xffffffff
jl 0x4cb2ca
jg 0x4cb29c
cmp dword [edi], 0xffffffff
jbe 0x4cb2ca
test cl, 0x20
je 0x4cb2cd
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x4cb2cd
lea edi, [esi + 0x88]
mov byte [ebx], 1
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x4cb2e9
cmp eax, ecx
jne 0x4cb2e9
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x4cb305
push eax
push ecx
push esi
call fcn.004ce820
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [edi + 4]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x4cb312
test eax, eax
jne 0x4cb312
mov byte [ebx], 1
jmp 0x4cb317
cmp byte [ebx], 0
je 0x4cb31e
and dword [esi + 0x138], 0xfffffffe
test dword [esi + 0xa8c], 0x40000000
je 0x4cb184
push dword [ebp - 0x10]
push dword [esi + 0xec]
push 1
push esi
call fcn.004c0c40
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004c0cc0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret