Function at 0x50a850
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xf0]
lea esi, [edi + 0x90]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x64], eax
mov ecx, dword [edx]
push ecx
push 0xa
push eax
call fcn.004bc180
add esp, 0xc
mov dword [esi + 0x68], eax
mov ebx, edi
test eax, eax
je 0x50b5a0
mov edx, dword [esi + 0x60]
sub edx, eax
mov eax, dword [ebp + 0x10]
dec edx
add dword [eax], edx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
call fcn.00508670
add esp, 4
test eax, eax
jne 0x50b7d1
cmp dword [esi + 0x54], 0
mov eax, dword [esi + 0x58]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0xc54]
mov dword [esi + 0x6c], ecx
jne 0x50a934
mov edx, dword [edx + 0x2a8]
test dword [edx + 0x40], 0x40000
mov eax, dword [esi + 0x5c]
mov ecx, dword [edi + 0xc54]
je 0x50a91b
cmp eax, 5
sbb ebx, ebx
mov dword [ebp - 0xc], 2
cmp eax, 5
jbe 0x50a900
mov eax, 5
push eax
push ecx
push str.RTSP_
call fcn.004f34c0
add esp, 0xc
test eax, eax
lea eax, [ebx + 1]
jne 0x50a928
mov eax, dword [ebp - 0xc]
jmp 0x50a928
mov ebx, eax
push ecx
mov eax, edi
call fcn.00508560
add esp, 4
cmp eax, 2
je 0x50b61d
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x6c]
mov cl, byte [eax]
cmp cl, 0xa
je 0x50b278
cmp cl, 0xd
je 0x50b27d
mov ecx, dword [esi + 0x54]
lea ebx, [ecx + 1]
mov dword [esi + 0x54], ebx
test ecx, ecx
jne 0x50ac12
mov ecx, dword [edx + 0x2a8]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x50aa6a
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
lea edx, [ebp + 0xb]
push edx
add ebx, 0x180
push ebx
lea ecx, [ebp - 8]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.004be476
add esp, 0x18
cmp eax, 1
jne 0x50a9cb
cmp dword [ebp - 8], 2
jne 0x50b671
mov edx, dword [esi + 0x6c]
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push edx
call fcn.004be476
add esp, 0xc
cmp eax, 1
jne 0x50b671
mov dword [ebx], 0
mov byte [ebp + 0xb], 0x20
jmp 0x50a9da
cmp eax, 4
jne 0x50aa0f
cmp byte [ebp + 0xb], 0x20
jne 0x50b671
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
cmp dword [esi + 0x94], 2
mov ebx, dword [ebx]
jne 0x50aac4
cmp ebx, 0x14
je 0x50aac4
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.004ed020
add esp, 8
jmp 0x50aac4
test eax, eax
jne 0x50b671
mov ecx, dword [esi + 0x6c]
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push ecx
call fcn.004be476
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x50aac4
mov edx, dword [esi + 0x6c]
mov ebx, dword [esi + 0x5c]
push edx
mov eax, edi
call fcn.00508560
add esp, 4
cmp eax, 1
jne 0x50b6a0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x78], 0xc8
mov dword [eax + 0x180], 0xa
jmp 0x50aac4
test ecx, 0x40000
je 0x50b6a0
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
lea ecx, [ebp - 1]
push ecx
add ebx, 0x184
push ebx
lea edx, [ebp - 0x10]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.004be476
add esp, 0x18
cmp eax, 4
jne 0x50b6a0
cmp byte [ebp - 1], 0x20
jne 0x50b6a0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x180], 0xb
mov ecx, dword [esi + 0x78]
mov eax, dword [edi + 0xefc]
mov dword [edi + 0xf98], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x180]
mov dword [edi + 0xfa0], edx
test eax, eax
je 0x50aaee
cmp eax, dword [ecx + 0x180]
jle 0x50aafa
mov eax, dword [ecx + 0x180]
mov dword [edi + 0xefc], eax
mov edx, dword [edi + 0xf08]
or edx, dword [edi + 0xf0c]
je 0x50ab23
cmp dword [edi + 0x828], 1
jne 0x50ab23
cmp dword [esi + 0x78], 0x1a0
jne 0x50ab23
or dword [esi + 0x500], 8
jmp 0x50ab61
test byte [edi + 0xa8e], 1
je 0x50ab61
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x50ab61
cmp eax, 0x191
jne 0x50ab46
test byte [ecx + 0x280], 0x80
jne 0x50ab61
cmp eax, 0x197
jne 0x50b68b
test dword [ecx + 0x280], 0x100
je 0x50b68b
mov eax, dword [ecx + 0x180]
cmp eax, 0xa
jne 0x50ab87
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.004ed020
mov eax, dword [ebp + 0xc]
push 1
push eax
call fcn.004f2660
add esp, 0x10
jmp 0x50abde
cmp eax, 0x14
je 0x50abd2
cmp dword [esi + 0x94], 1
jne 0x50ab9b
cmp dword [esi + 0x78], 0x65
je 0x50abd2
cmp eax, 0xb
jl 0x50abde
test byte [ecx + 0x280], 1
jne 0x50abde
mov edx, ecx
cmp dword [edx + 0x450], 0
je 0x50abde
mov ebx, ecx
push ebx
push edi
call fcn.0050e190
add esp, 8
test eax, eax
jne 0x50abde
mov eax, dword [ebx + 0x450]
mov dword [eax], 1
jmp 0x50abde
mov ecx, dword [ecx + 0x450]
mov dword [ecx], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x50abfe
sub eax, 0x64
jne 0x50ac12
cmp dword [edi + 0x81c], eax
je 0x50ac00
or dword [edi + 0x104c], 1
jmp 0x50ac00
xor eax, eax
or dword [esi + 0x500], 0x10
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov al, 0x10
test byte [esi + 0x500], al
jne 0x50ace0
test byte [edi + 0xa90], al
jne 0x50ace0
mov edx, dword [esi + 0x6c]
push 0xf
push edx
push str.Content_Length:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50ace0
mov ecx, dword [esi + 0x6c]
lea eax, [ebp - 0x20]
push eax
push 0xa
add ecx, 0xf
push 0
push ecx
call fcn.00515850
add esp, 0x10
test eax, eax
jne 0x50aca7
mov ebx, dword [edi + 0x8f8]
mov edx, dword [edi + 0x8fc]
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
or eax, edx
mov eax, dword [ebp - 0x20]
je 0x50ac8c
cmp ecx, edx
jg 0x50b6b0
jl 0x50ac8c
cmp eax, ebx
ja 0x50b6b0
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.00511320
add esp, 0xc
jmp 0x50b1fc
cmp eax, 1
jne 0x50b6ca
mov ecx, dword [edi + 0x8f8]
or ecx, dword [edi + 0x8fc]
jne 0x50b6b0
mov edx, dword [ebp + 0xc]
push 2
push edx
call fcn.004f2660
push str.Overflow_Content_Length:_value__n
push edi
call fcn.004ed020
add esp, 0x10
jmp 0x50b1fc
mov eax, dword [esi + 0x6c]
push 0xd
push eax
push str.Content_Type:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50ad3c
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.00507430
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x50b6e4
cmp byte [ebx], 0
jne 0x50ad21
push ebx
call dword [0x592308]
add esp, 4
jmp 0x50b1fc
mov edx, dword [edi + 0xfcc]
push edx
call dword [0x592308]
add esp, 4
mov dword [edi + 0xfcc], ebx
jmp 0x50b1fc
mov eax, dword [esi + 0x6c]
push 7
push eax
push str.Server:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50adaf
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x180], 0x14
jge 0x50b1fc
mov edx, dword [esi + 0x6c]
push edx
call fcn.00507430
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x450]
add esp, 4
test eax, eax
je 0x50ada0
cmp dword [eax], 1
jne 0x50ada0
push ebx
push edi
call fcn.0050e300
add esp, 8
test eax, eax
je 0x50ada0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x450]
mov dword [edx], 0xffffffff
push ebx
call dword [0x592308]
add esp, 4
jmp 0x50b1fc
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x180], 0xa
jne 0x50adf9
test byte [ebx + 0x280], 0x20
je 0x50adf9
mov eax, dword [esi + 0x6c]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.005081c0
add esp, 0xc
test eax, eax
je 0x50adf9
push 0
push ebx
call fcn.004f2660
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.004ed020
add esp, 0x10
jmp 0x50b1fc
cmp dword [ebx + 0x180], 0xb
jne 0x50ae40
test byte [ebx + 0x280], 0x20
je 0x50ae40
mov ecx, dword [esi + 0x6c]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.005081c0
add esp, 0xc
test eax, eax
je 0x50ae40
push 1
push ebx
call fcn.004f2660
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.004ed020
add esp, 0x10
jmp 0x50b1fc
cmp dword [ebx + 0x180], 0xa
jne 0x50ae7e
mov edx, dword [esi + 0x6c]
push str.keep_alive
push str.Connection:
push edx
call fcn.005081c0
add esp, 0xc
test eax, eax
je 0x50ae7e
push 0
push ebx
call fcn.004f2660
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.004ed020
add esp, 0x10
jmp 0x50b1fc
mov eax, dword [esi + 0x6c]
push str.close
push str.Connection:
push eax
call fcn.005081c0
add esp, 0xc
test eax, eax
je 0x50aea8
push 2
push ebx
call fcn.004f2660
add esp, 8
jmp 0x50b1fc
mov ecx, dword [esi + 0x6c]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50aed6
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x12
push edx
push ebx
call fcn.004f37d0
add esp, 0xc
jmp 0x50b1f4
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.Content_Encoding:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50af0d
cmp dword [edi + 0x950], 0
je 0x50af0d
mov ecx, dword [esi + 0x6c]
push 0
add ecx, 0x11
push ecx
push ebx
call fcn.004f37d0
add esp, 0xc
jmp 0x50b1f4
mov edx, dword [esi + 0x6c]
push 0xe
push edx
push str.Content_Range:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50afb8
mov ebx, dword [esi + 0x6c]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x50af52
movzx eax, al
push eax
call fcn.00512310
add esp, 4
test eax, eax
jne 0x50af52
cmp byte [ebx], 0x2a
je 0x50af52
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x50af35
movzx ecx, byte [ebx]
push ecx
call fcn.00512310
add esp, 4
test eax, eax
je 0x50afa5
lea eax, [esi + 0x70]
push eax
push 0xa
push 0
push ebx
call fcn.00515850
add esp, 0x10
test eax, eax
jne 0x50b1fc
mov edx, dword [edi + 0xf08]
cmp edx, dword [esi + 0x70]
jne 0x50b1fc
mov eax, dword [edi + 0xf0c]
cmp eax, dword [esi + 0x74]
jne 0x50b1fc
or dword [esi + 0x500], 2
jmp 0x50b1fc
xor eax, eax
mov dword [edi + 0xf08], eax
mov dword [edi + 0xf0c], eax
jmp 0x50b1fc
cmp dword [edi + 0xaac], 0
je 0x50b034
mov ecx, dword [esi + 0x6c]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50b034
push 2
push 2
push edi
call fcn.004f34d0
mov eax, dword [ebx + 0x2f0]
add esp, 0xc
test eax, eax
jne 0x50aff5
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x2a8]
mov ecx, dword [edx + 0x40]
mov edx, dword [edi + 0xf58]
shr ecx, 1
and ecx, 1
push ecx
mov ecx, dword [edi + 0xaac]
push edx
push eax
mov eax, dword [esi + 0x6c]
add eax, 0xb
push eax
push 0
push 1
push ecx
push edi
call fcn.004efb30
push 2
push edi
call fcn.004f3520
add esp, 0x28
jmp 0x50b1fc
mov edx, dword [esi + 0x6c]
push 0xe
push edx
push str.Last_Modified:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50b0b5
cmp dword [edi + 0x81c], 0
jne 0x50b060
test dword [edi + 0xa8c], 0x200
je 0x50b0b5
push 0
call fcn.004b9cd0
mov ecx, dword [esi + 0x6c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x24], edx
call fcn.005157d0
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
test dword [edi + 0xa8c], 0x200
je 0x50b1fc
mov edx, eax
mov dword [edi + 0xfa8], edx
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xfac], eax
jmp 0x50b1fc
mov ecx, dword [esi + 0x6c]
push 0x11
push ecx
push str.WWW_Authenticate:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50b0d6
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x50b0f7
mov edx, dword [esi + 0x6c]
push 0x13
push edx
push str.Proxy_authenticate:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50b149
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x50b149
mov edx, dword [esi + 0x6c]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [ebp - 0xc], ecx
call fcn.00507430
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x50b6e4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
call fcn.00507b60
push ebx
mov dword [ebp - 0xc], eax
call dword [0x592308]
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x50b1fc
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x50b1d8
cmp eax, 0x190
jge 0x50b1d8
mov edx, dword [esi + 0x6c]
push 9
push edx
push str.Location:
call fcn.004f34c0
add esp, 0xc
test eax, eax
je 0x50b1d8
cmp dword [edi + 0x144], 0
jne 0x50b1d8
mov eax, dword [esi + 0x6c]
push eax
call fcn.00507430
add esp, 4
test eax, eax
je 0x50b6e4
cmp byte [eax], 0
jne 0x50b1a3
push eax
call dword [0x592308]
add esp, 4
jmp 0x50b1fc
test dword [edi + 0xa8c], 0x40000
mov dword [edi + 0x144], eax
je 0x50b1fc
push eax
call dword [0x592310]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x50b6e4
push ebx
call fcn.005076e0
add esp, 4
jmp 0x50b1f4
mov ecx, dword [ebx + 0x2a8]
test dword [ecx + 0x40], 0x40000
je 0x50b1fc
mov edx, dword [esi + 0x6c]
push edx
push ebx
call fcn.004f7cb0
add esp, 8
test eax, eax
jne 0x50b7d1
mov eax, dword [edi + 0xa8c]
mov ebx, 2
test eax, 0x200000
je 0x50b213
mov ebx, 3
test eax, 0x4000000
je 0x50b22d
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
push 1
push edi
call fcn.004ecf90
add esp, 0x10
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ebx
push ecx
call fcn.004ed620
add esp, 0x10
test eax, eax
jne 0x50b7d1
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xfb0], eax
adc dword [edi + 0xfb4], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
mov edx, dword [edi + 0xc54]
mov dword [esi + 0x58], edx
jmp 0x50b556
cmp cl, 0xd
jne 0x50b281
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x50b28d
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x50b30d
cmp eax, 0xc7
jg 0x50b30d
sub eax, 0x64
je 0x50b2d4
mov ebx, 1
sub eax, ebx
je 0x50b2bc
or dword [esi + 0x500], ebx
mov dword [esi + 0x54], 0
jmp 0x50b36e
cmp dword [esi + 0x94], ebx
je 0x50b572
and dword [esi + 0x500], 0xfffffffe
jmp 0x50b36e
or dword [esi + 0x500], 1
cmp dword [esi + 0x90], 0
mov dword [esi + 0x54], 0
jle 0x50b36e
or dword [esi + 0xb0], 2
push 0
push edi
mov dword [esi + 0x90], 0
call fcn.004eaac0
add esp, 8
jmp 0x50b36b
mov ecx, dword [esi]
and ecx, dword [esi + 4]
and dword [esi + 0x500], 0xfffffffe
mov eax, dword [esi + 0x500]
cmp ecx, 0xffffffff
jne 0x50b36e
test al, 0x20
jne 0x50b36e
test byte [edx + 0x280], 1
jne 0x50b377
cmp dword [edx + 0x180], 0xb
jne 0x50b36e
mov eax, dword [edx + 0x2a8]
test dword [eax + 0x40], 0x40000
jne 0x50b36e
cmp dword [edi + 0x828], 6
je 0x50b36e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.004ed020
mov ecx, dword [ebp + 0xc]
push 2
push ecx
call fcn.004f2660
add esp, 0x10
mov edx, dword [ebp + 0xc]
test byte [edx + 0x280], 1
je 0x50b3b8
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x50b390
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x330], 2
je 0x50b3a3
cmp eax, 0x197
jne 0x50b3b8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x348], 2
jne 0x50b3b8
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.004ed020
add esp, 8
or dword [edi + 0xf6c], 0x20
mov edx, dword [ebp + 0xc]
call fcn.00507d20
test eax, eax
jne 0x50b6f0
test dword [edi + 0xa8c], 0x200000
lea ecx, [eax + 2]
je 0x50b3da
lea ecx, [eax + 3]
mov eax, dword [edi + 0xc54]
mov ebx, dword [esi + 0x6c]
sub ebx, eax
push ebx
push eax
push ecx
mov ecx, edx
push ecx
mov dword [ebp - 0xc], ebx
call fcn.004ed620
add esp, 0x10
test eax, eax
jne 0x50b7d1
mov eax, ebx
cdq
add dword [edi + 0xfb0], eax
adc dword [edi + 0xfb4], edx
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x50b436
cmp eax, 0xc7
jg 0x50b436
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
jmp 0x50b43a
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 0xc]
push edx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
call fcn.005087d0
add esp, 4
test eax, eax
jne 0x50b7d1
cmp dword [esi + 0x78], 0x12c
jl 0x50b540
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x280]
test eax, 0x18000
jne 0x50b51f
test al, 1
jne 0x50b51f
mov eax, dword [edi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x50b51f
push 0
push edi
call fcn.004eaac0
mov ebx, 4
add esp, 8
test byte [esi + 0x500], bl
jne 0x50b51f
test dword [edi + 0xa8c], 0x20000
je 0x50b4e3
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.004ed020
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x50b51f
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x50b51f
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.004ed020
mov ecx, dword [ebp + 0xc]
push 2
push ecx
call fcn.004f2660
or dword [esi + 0x500], ebx
and dword [esi + 0xb0], 0xfffffffd
add esp, 0x10
test dword [edi + 0xf6c], 0x100
je 0x50b51f
mov dword [esi + 0x90], 3
mov edx, dword [ebp + 0xc]
test byte [edx + 0x282], 1
je 0x50b540
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.004ed020
add esp, 8
or dword [esi + 0xb0], 2
test byte [esi + 0x500], 1
je 0x50b70e
mov eax, dword [edi + 0xc54]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
cmp byte [eax], 0
jne 0x50a873
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.004ed020
add esp, 8
or dword [esi + 0x500], ebx
pop edi
mov dword [esi + 0x94], 2
mov dword [esi + 0x54], 0
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.00508670
add esp, 4
test eax, eax
jne 0x50b7d1
cmp dword [esi + 0x54], eax
jne 0x50b7cf
mov ebx, dword [ebp + 0xc]
mov edx, dword [esi + 0x5c]
mov eax, dword [edi + 0xc54]
push edi
mov ecx, ebx
call fcn.00508610
add esp, 4
cmp eax, 2
jne 0x50b7cf
and dword [esi + 0x500], 0xfffffffe
push eax
push ebx
mov dword [esi + 0x50], eax
call fcn.004f2660
add esp, 8
test dword [edi + 0xa90], 0x4000000
jne 0x50b7cf
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.004ed150
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.004f2660
add esp, 8
test dword [edi + 0xa90], 0x4000000
je 0x50b603
mov eax, dword [ebp + 0x10]
and dword [esi + 0x500], 0xfffffffe
cmp dword [eax], 0
je 0x50b656
pop edi
mov dword [esi + 0x50], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x50], 2
mov dword [eax], ecx
pop edi
mov dword [esi + 0x60], edx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.004ed150
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00508730
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
and dword [esi + 0x500], 0xfffffffe
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.004ed150
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.004ed150
add esp, 8
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.004ed150
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0xa8f], 1
mov ebx, dword [ebp + 0x14]
je 0x50b725
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x50b76d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2a8]
test dword [edx + 0x40], 0x40000
je 0x50b756
cmp dword [edi + 0xa34], 2
jne 0x50b756
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x50b759
jl 0x50b74e
cmp dword [esi], edx
ja 0x50b759
mov dword [ebx], 1
jmp 0x50b76d
or edx, 0xffffffff
test byte [esi + 0x500], 0x20
je 0x50b76d
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x50b77a
cmp ecx, edx
je 0x50b790
push ecx
push eax
push edi
call fcn.00511320
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
cmp dword [esi + 8], 0
jne 0x50b7a4
cmp dword [esi + 0xc], 0
jne 0x50b7a4
mov dword [ebx], 1
jmp 0x50b7a9
cmp dword [ebx], 0
je 0x50b7b0
and dword [esi + 0xb0], 0xfffffffe
test dword [edi + 0xa8c], 0x4000000
je 0x50b7cf
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x64]
push edx
push eax
push 1
push edi
call fcn.004ecf90
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret