Function at 0x4c8310
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xe8]
mov ebx, ecx
mov dword [esi + 0xec], ecx
push dword [eax]
mov dword [ebp - 0x20], ecx
push 0xa
push ecx
call fcn.004f3cf2
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x4c9221
mov ecx, dword [0x5008e4]
mov dword [ebp - 0x10], ecx
nop dword [eax]
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.004c97c0
add esp, 0xc
test eax, eax
jne 0x4c92d4
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc5c]
mov dword [esi + 0xf4], eax
jne 0x4c83d4
push dword [esi + 0xe4]
push dword [esi + 0xc5c]
push edi
push esi
call fcn.004c9680
add esp, 0x10
cmp eax, 2
je 0x4c92a2
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x4c8e6e
cmp al, 0xd
je 0x4c8e72
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x4c86f5
mov eax, dword [edi + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4c853e
lea eax, [esi + 0x100]
push eax
lea eax, [ebp + 0xb]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.0041e260
add esp, 0x18
cmp eax, 1
jne 0x4c847a
cmp dword [ebp - 0xc], 2
jl 0x4c92fc
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 8]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.0041e260
add esp, 0x10
cmp eax, 2
jne 0x4c92fc
mov dword [ebx], 0
mov byte [ebp + 0xb], 0x20
jmp 0x4c8489
cmp eax, 4
jne 0x4c84de
cmp byte [ebp + 0xb], 0x20
jne 0x4c92fc
mov eax, dword [ebp - 0xc]
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 0x4c84b6
cmp eax, 0x14
je 0x4c84b6
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004c02d0
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0x14
jge 0x4c859a
mov eax, dword [edi + 0x564]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.004c02d0
add esp, 8
jmp 0x4c859a
test eax, eax
jne 0x4c92fc
lea eax, [esi + 0x100]
push eax
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.0041e260
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x4c859a
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.004c95c0
add esp, 0xc
cmp eax, 1
jne 0x4c932b
mov dword [esi + 0x100], 0xc8
mov dword [ebx], 0xa
jmp 0x4c859a
test eax, 0x40000
je 0x4c932b
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 1]
push eax
lea ebx, [edi + 0x188]
push ebx
lea eax, [ebp - 0x14]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.0041e260
add esp, 0x18
cmp eax, 4
jne 0x4c932b
cmp byte [ebp - 1], 0x20
jne 0x4c932b
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
lea ebx, [edi + 0x184]
mov eax, dword [esi + 0x100]
mov dword [esi + 0xfd0], eax
mov eax, dword [ebx]
mov dword [esi + 0xfd8], eax
mov eax, dword [esi + 0xf34]
test eax, eax
je 0x4c85bc
cmp eax, dword [ebx]
jle 0x4c85c4
mov eax, dword [ebx]
mov dword [esi + 0xf34], eax
mov eax, dword [esi + 0xf40]
or eax, dword [esi + 0xf44]
je 0x4c85f0
cmp dword [esi + 0x828], 1
jne 0x4c85f0
cmp dword [esi + 0x100], 0x1a0
jne 0x4c85f0
or dword [esi + 0x588], 8
jmp 0x4c8637
test dword [esi + 0xa94], 0x100000
je 0x4c8637
mov eax, dword [esi + 0x100]
cmp eax, 0x190
jl 0x4c8637
cmp eax, 0x191
jne 0x4c861c
test dword [edi + 0x29c], 0x100
jne 0x4c8637
cmp eax, 0x197
jne 0x4c9316
test dword [edi + 0x29c], 0x200
je 0x4c9316
mov eax, dword [ebx]
cmp eax, 0xa
jne 0x4c8656
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004c02d0
push 1
push edi
call fcn.004c0d80
add esp, 0x10
jmp 0x4c8679
cmp eax, 0x14
je 0x4c866d
cmp dword [esi + 0x11c], 1
jne 0x4c8679
cmp dword [esi + 0x100], 0x65
jne 0x4c8679
mov eax, dword [edi + 0x564]
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 0x4c86c4
sub edx, 0x64
jne 0x4c86f5
cmp dword [esi + 0x81c], edx
je 0x4c86c4
or dword [esi + 0x1090], 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 0x4c87d2
test byte [esi + 0xa98], 0x10
jne 0x4c87d2
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c87d2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004cfdc0
add esp, 0x10
test eax, eax
jne 0x4c879c
mov ebx, dword [esi + 0x8f8]
mov eax, ebx
mov edx, dword [esi + 0x8fc]
or eax, edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
je 0x4c8774
cmp ecx, edx
jg 0x4c933b
jl 0x4c8774
cmp eax, ebx
ja 0x4c933b
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.004cc060
add esp, 0xc
jmp 0x4c8df0
cmp eax, 1
jne 0x4c9355
mov eax, dword [esi + 0x8f8]
or eax, dword [esi + 0x8fc]
jne 0x4c933b
push 2
push edi
call fcn.004c0d80
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004c02d0
add esp, 0x10
jmp 0x4c8df0
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8831
push dword [esi + 0xf4]
call fcn.004c7c00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c936f
cmp byte [ebx], 0
jne 0x4c8817
push ebx
call dword [0x548024]
add esp, 4
jmp 0x4c8df0
push dword [esi + 0x1004]
call dword [0x548024]
add esp, 4
mov dword [esi + 0x1004], ebx
jmp 0x4c8df0
cmp dword [edi + 0x184], 0xa
jne 0x4c887a
test byte [edi + 0x29c], 0x40
je 0x4c887a
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004c7b40
add esp, 0xc
test al, al
je 0x4c887a
push 0
push edi
call fcn.004c0d80
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004c02d0
add esp, 0x10
jmp 0x4c8df0
cmp dword [edi + 0x184], 0xb
jne 0x4c88c3
test byte [edi + 0x29c], 0x40
je 0x4c88c3
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004c7b40
add esp, 0xc
test al, al
je 0x4c88c3
push 1
push edi
call fcn.004c0d80
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004c02d0
add esp, 0x10
jmp 0x4c8df0
cmp dword [edi + 0x184], 0xa
jne 0x4c8903
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.004c7b40
add esp, 0xc
test al, al
je 0x4c8903
push 0
push edi
call fcn.004c0d80
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004c02d0
add esp, 0x10
jmp 0x4c8df0
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.004c7b40
add esp, 0xc
test al, al
je 0x4c892f
push 2
push edi
call fcn.004c0d80
add esp, 8
jmp 0x4c8df0
test byte [esi + 0x588], 0x10
jne 0x4c89b0
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c896b
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push edi
call fcn.004c3aa0
add esp, 0xc
jmp 0x4c8de8
test byte [esi + 0x588], 0x10
jne 0x4c89b0
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c89b0
cmp dword [esi + 0x950], 0
je 0x4c89b0
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push edi
call fcn.004c3aa0
add esp, 0xc
jmp 0x4c8de8
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8a44
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [ebp - 0x28], xmm0
push 0
push eax
call fcn.004cf6f0
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, edx
cmp eax, 0xffffffff
jne 0x4c8a24
cmp ebx, eax
jne 0x4c8a24
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004cfdc0
mov ebx, dword [ebp - 0x24]
add esp, 0x10
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x1010], ecx
mov dword [esi + 0x1014], ebx
jmp 0x4c8df0
push 0
call dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
add esp, 4
sub ecx, eax
mov dword [esi + 0x1010], ecx
sbb ebx, edx
mov dword [esi + 0x1014], ebx
jmp 0x4c8df0
test byte [esi + 0x588], 0x10
jne 0x4c8b12
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8b12
mov ebx, dword [esi + 0xf4]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x4c8a9d
nop dword [eax]
movzx eax, al
push eax
call fcn.004e6710
add esp, 4
test eax, eax
jne 0x4c8a9d
cmp byte [ebx], 0x2a
je 0x4c8a9d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4c8a80
movzx eax, byte [ebx]
push eax
call fcn.004e6710
add esp, 4
test eax, eax
je 0x4c8af9
lea eax, [esi + 0xf8]
push eax
push 0xa
push 0
push ebx
call fcn.004cfdc0
add esp, 0x10
test eax, eax
jne 0x4c8df0
mov eax, dword [esi + 0xf40]
cmp eax, dword [esi + 0xf8]
jne 0x4c8df0
mov eax, dword [esi + 0xf44]
cmp eax, dword [esi + 0xfc]
jne 0x4c8df0
or dword [esi + 0x588], 2
jmp 0x4c8df0
mov dword [esi + 0xf40], 0
mov dword [esi + 0xf44], 0
jmp 0x4c8df0
cmp dword [esi + 0xab4], 0
je 0x4c8b93
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8b93
push 2
push 2
push esi
call fcn.004c3cd0
mov ecx, dword [edi + 0x310]
add esp, 0xc
test ecx, ecx
jne 0x4c8b51
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0x2c8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xf90]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xab4]
push esi
call fcn.004b5010
push 2
push esi
call fcn.004c3d10
add esp, 0x28
jmp 0x4c8df0
test byte [esi + 0x588], 0x10
jne 0x4c8c22
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8c22
cmp dword [esi + 0x81c], 0
jne 0x4c8bce
test dword [esi + 0xa94], 0x200
je 0x4c8c22
push 0
call dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi + 0xf4]
add eax, 0xe
mov dword [ebp - 0x34], edx
push eax
call fcn.004cf6f0
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
test dword [esi + 0xa94], 0x200
je 0x4c8df0
mov dword [esi + 0xfe0], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xfe4], eax
jmp 0x4c8df0
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8c49
mov ebx, dword [esi + 0x100]
cmp ebx, 0x191
je 0x4c8c70
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8cbc
mov ebx, dword [esi + 0x100]
cmp ebx, 0x197
jne 0x4c8cbc
push dword [esi + 0xf4]
call fcn.004c7c00
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4c936f
cmp ebx, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.004c7f90
push dword [ebp - 0x18]
mov ebx, eax
call dword [0x548024]
add esp, 0x10
test ebx, ebx
je 0x4c8df0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8d38
cmp dword [esi + 0xce4], 4
jne 0x4c8df0
push dword [esi + 0xf4]
call fcn.004c7c00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c936f
push 5
push ebx
push str.false
call fcn.004c38d0
test eax, eax
mov byte [edi + 0x43d], 1
push ebx
setne al
mov byte [edi + 0x43c], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.004c02d0
push ebx
call dword [0x548024]
add esp, 0x20
jmp 0x4c8df0
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4c8dca
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.004c38d0
add esp, 0xc
test eax, eax
je 0x4c8dca
cmp dword [esi + 0x13c], 0
jne 0x4c8dca
push dword [esi + 0xf4]
call fcn.004c7c00
add esp, 4
test eax, eax
je 0x4c936f
cmp byte [eax], 0
jne 0x4c8d95
push eax
call dword [0x548024]
add esp, 4
jmp 0x4c8df0
test dword [esi + 0xa94], 0x400000
mov dword [esi + 0x13c], eax
je 0x4c8df0
push eax
call dword [0x54802c]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x4c936f
push edi
call fcn.004c99e0
add esp, 4
jmp 0x4c8de8
mov eax, dword [edi + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x4c8df0
push dword [esi + 0xf4]
push edi
call fcn.004def90
add esp, 8
test eax, eax
jne 0x4c92d4
mov eax, dword [esi + 0xa94]
mov ebx, eax
and ebx, 0x2000000
or ebx, 0x4000000
shr ebx, 0x19
test eax, 0x40000000
je 0x4c8e25
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.004c0170
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push ebx
push edi
call fcn.004c0140
add esp, 0x10
test eax, eax
jne 0x4c92d4
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xfe8], eax
adc dword [esi + 0xfec], edx
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x4c91d8
cmp al, 0xd
jne 0x4c8e7b
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4c8e88
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4c8f0b
sub ecx, 0x64
je 0x4c8ecf
sub ecx, 1
je 0x4c8eb6
or dword [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x4c8f69
cmp dword [esi + 0x11c], 1
je 0x4c937b
and dword [esi + 0x588], 0xfffffffe
jmp 0x4c8f69
or dword [esi + 0x588], 1
cmp dword [esi + 0x118], 0
mov dword [esi + 0xdc], 0
jle 0x4c8f69
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.004b2640
add esp, 8
jmp 0x4c8f69
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 0x4c8f69
test cl, 0x20
jne 0x4c8f69
test byte [edi + 0x29c], 1
jne 0x4c8f69
cmp dword [edi + 0x184], 0xb
jne 0x4c8f69
mov eax, dword [edi + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x4c8f69
cmp dword [esi + 0x828], 6
je 0x4c8f69
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004c02d0
push 2
push edi
call fcn.004c0d80
add esp, 0x10
mov ecx, dword [edi + 0x29c]
mov eax, ecx
test cl, 1
je 0x4c8fb9
mov edx, dword [esi + 0x100]
cmp edx, 0x191
jne 0x4c8f8d
cmp dword [edi + 0x36c], 2
je 0x4c8f9e
cmp edx, 0x197
jne 0x4c8fb9
cmp dword [edi + 0x370], 2
jne 0x4c8fb9
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004c02d0
add esp, 8
or dword [esi + 0xfa4], 0x20
mov eax, dword [edi + 0x29c]
test al, 1
je 0x4c8ffa
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x4c8fd5
cmp dword [edi + 0x3f4], 1
je 0x4c8fe5
jmp 0x4c8ffa
cmp eax, 0x197
jne 0x4c8ffa
cmp dword [edi + 0x3f8], 1
jne 0x4c8ffa
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004c02d0
add esp, 8
or dword [esi + 0xfa4], 0x20
cmp dword [edi + 0x3f4], 3
jne 0x4c9019
cmp dword [esi + 0x100], 0x191
je 0x4c9019
mov dword [edi + 0x3f4], 4
cmp dword [edi + 0x3f8], 3
jne 0x4c9038
cmp dword [esi + 0x100], 0x197
je 0x4c9038
mov dword [edi + 0x3f8], 4
push edi
call fcn.004c9c40
add esp, 4
test eax, eax
jne 0x4c94a1
mov eax, dword [esi + 0xc5c]
mov ebx, dword [esi + 0xf4]
sub ebx, eax
push ebx
push eax
mov eax, dword [esi + 0xa94]
and eax, 0x2000000
or eax, 0x4000000
shr eax, 0x19
push eax
push edi
call fcn.004c0140
add esp, 0x10
test eax, eax
jne 0x4c92d4
mov eax, ebx
cdq
mov ecx, eax
add dword [esi + 0xfe8], ecx
adc dword [esi + 0xfec], edx
add ecx, dword [esi + 0xa8]
mov dword [esi + 0xa8], ecx
adc edx, dword [esi + 0xac]
mov dword [esi + 0xac], edx
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x4c90c3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
push edi
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.004c7cd0
add esp, 4
test eax, eax
jne 0x4c92d4
cmp dword [esi + 0x100], 0x12c
jl 0x4c91c9
test dword [edi + 0x29c], 0x30001
jne 0x4c91a8
mov eax, dword [esi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4c91a8
push 0
push esi
call fcn.004b2640
add esp, 8
test byte [esi + 0x588], 4
jne 0x4c91a8
test dword [esi + 0xa94], 0x200000
je 0x4c9160
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004c02d0
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x4c91a8
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x4c91a8
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004c02d0
push 2
push edi
call fcn.004c0d80
lea eax, [esi + 0x88]
push eax
push edi
call fcn.004ca200
add esp, 0x18
test eax, eax
jne 0x4c92d4
or dword [esi + 0x588], 4
test dword [esi + 0xfa4], 0x100
je 0x4c91a8
mov dword [esi + 0x118], 3
test dword [edi + 0x29c], 0x20000
je 0x4c91c9
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004c02d0
add esp, 8
or dword [esi + 0x138], 2
mov ecx, dword [esi + 0x588]
test cl, 1
je 0x4c93b0
mov eax, dword [esi + 0xc5c]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov ebx, dword [esi + 0xe8]
cmp byte [ebx], 0
je 0x4c92d2
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xec], ebx
push dword [eax]
push 0xa
push ebx
call fcn.004f3cf2
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x4c8360
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [esi + 0x88]
push eax
push esi
call fcn.004c97c0
add esp, 0xc
test eax, eax
jne 0x4c92d4
cmp dword [esi + 0xdc], eax
jne 0x4c92d2
push dword [esi + 0xe4]
push dword [esi + 0xc5c]
push edi
push esi
call fcn.004c9680
add esp, 0x10
cmp eax, 2
jne 0x4c92d2
and dword [esi + 0x588], 0xfffffffe
push eax
push edi
mov dword [esi + 0xd8], eax
call fcn.004c0d80
add esp, 8
test dword [esi + 0xa98], 0x4000000
jne 0x4c92d2
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004c01f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push edi
call fcn.004c0d80
add esp, 8
test dword [esi + 0xa98], 0x4000000
je 0x4c9288
mov eax, dword [ebp + 0x10]
and dword [esi + 0x588], 0xfffffffe
cmp dword [eax], 0
je 0x4c92db
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
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
push esi
call fcn.004c01f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004c9f00
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.004c01f0
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.004c01f0
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.004c02d0
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 + 0xa94], 0x10000000
jne 0x4c9412
mov eax, dword [edi + 0x2c8]
test dword [eax + 0x40], 0x40000
lea eax, [esi + 0x88]
je 0x4c93e7
cmp dword [esi + 0xa3c], 2
jne 0x4c93e7
cmp dword [eax + 4], 0xffffffff
jl 0x4c9418
jg 0x4c93e7
cmp dword [eax], 0xffffffff
jbe 0x4c9418
mov edi, dword [ebp + 0x14]
test cl, 0x20
je 0x4c941e
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x4c941e
lea eax, [esi + 0x88]
mov edi, dword [ebp + 0x14]
mov byte [edi], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x4c943a
cmp eax, ecx
jne 0x4c943a
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x4c945d
push eax
push ecx
push esi
call fcn.004cc060
mov ecx, dword [esi + 0x88]
add esp, 0xc
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x4c946a
test eax, eax
jne 0x4c946a
mov byte [edi], 1
jmp 0x4c946f
cmp byte [edi], 0
je 0x4c9476
and dword [esi + 0x138], 0xfffffffe
test dword [esi + 0xa94], 0x40000000
je 0x4c92d2
push ebx
push dword [esi + 0xec]
push 1
push esi
call fcn.004c0170
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.004c01f0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret