Function at 0x4b5cf0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ecx, dword [eax]
push edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xf8]
lea ebp, [esi + 0x98]
mov dword [esi + 0xfc], ecx
mov edi, ecx
push dword [eax]
mov dword [esp + 0x24], ecx
push 0xa
push ecx
call fcn.004df900
mov ebx, dword [esp + 0x50]
add esp, 0xc
mov dword [esi + 0x100], eax
test eax, eax
je 0x4b6e2a
sub edi, eax
mov eax, dword [esp + 0x48]
dec edi
add dword [eax], edi
mov eax, dword [esi + 0x100]
inc eax
mov dword [esi + 0xf8], eax
sub eax, dword [esi + 0xfc]
push eax
push ebp
push esi
call fcn.004b7070
add esp, 0xc
test eax, eax
jne 0x4b6baa
cmp dword [esi + 0xec], 0
mov eax, dword [esi + 0xf0]
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0xc64]
mov dword [esi + 0x104], eax
jne 0x4b5def
mov eax, dword [ebx + 0x2b8]
mov ecx, dword [esi + 0xf4]
mov edx, dword [esi + 0xc64]
test dword [eax + 0x40], 0x40000
je 0x4b5dd3
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.004ae2a0
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x4b5de0
push ecx
push edx
push esi
call fcn.004b6eb0
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x4b6b73
lea ebp, [esi + 0x98]
mov edx, dword [esi + 0x104]
mov al, byte [edx]
cmp al, 0xa
je 0x4b67db
cmp al, 0xd
je 0x4b67df
mov ecx, dword [esi + 0xec]
lea eax, [ecx + 1]
mov dword [esi + 0xec], eax
test ecx, ecx
jne 0x4b60f5
mov eax, dword [ebx + 0x2b8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4b5f4c
lea ebp, [esi + 0x110]
push ebp
lea eax, [esp + 0x44]
push eax
lea edi, [ebx + 0x180]
push edi
lea eax, [esp + 0x20]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004289b0
add esp, 0x18
cmp eax, 1
jne 0x4b5e8f
cmp dword [esp + 0x14], 2
jne 0x4b6bd6
push ebp
push str._HTTP_2__d
push dword [esi + 0x104]
call fcn.004289b0
add esp, 0xc
cmp eax, 1
jne 0x4b6bd6
mov dword [edi], 0
mov byte [esp + 0x40], 0x20
jmp 0x4b5e9f
cmp eax, 4
jne 0x4b5ef5
cmp byte [esp + 0x40], 0x20
jne 0x4b6bd6
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
mov ecx, eax
cmp dword [esi + 0x12c], 2
jne 0x4b5ecd
cmp eax, 0x14
je 0x4b5ecd
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004ab350
mov ecx, dword [edi]
add esp, 8
cmp ecx, 0x14
jge 0x4b5fac
mov eax, dword [ebx + 0x554]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.004ab350
add esp, 8
jmp 0x4b5fac
test eax, eax
jne 0x4b6bd6
push ebp
push str._HTTP__3d
push dword [esi + 0x104]
call fcn.004289b0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4b5fac
push dword [esi + 0xf4]
push dword [esi + 0x104]
push esi
call fcn.004b6eb0
add esp, 0xc
cmp eax, 1
jne 0x4b6c83
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x4b5fac
test eax, 0x40000
je 0x4b6c83
lea ebp, [esi + 0x110]
push ebp
lea eax, [esp + 0x17]
push eax
lea edi, [ebx + 0x184]
push edi
lea eax, [esp + 0x24]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004289b0
add esp, 0x18
cmp eax, 4
jne 0x4b6c83
cmp byte [esp + 0x13], 0x20
jne 0x4b6c83
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x180], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x180]
mov eax, dword [ebp]
mov dword [esi + 0xfb0], eax
mov eax, dword [edi]
mov dword [esi + 0xfb8], eax
mov eax, dword [esi + 0xf14]
test eax, eax
je 0x4b5fcb
cmp eax, dword [edi]
jle 0x4b5fd3
mov eax, dword [edi]
mov dword [esi + 0xf14], eax
mov eax, dword [esi + 0xf20]
or eax, dword [esi + 0xf24]
je 0x4b5ffc
cmp dword [esi + 0x838], 1
jne 0x4b5ffc
cmp dword [ebp], 0x1a0
jne 0x4b5ffc
or dword [esi + 0x598], 8
jmp 0x4b603d
test dword [esi + 0xaa0], 0x100000
je 0x4b603d
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x4b603d
cmp eax, 0x191
jne 0x4b6022
test byte [ebx + 0x294], 0x80
jne 0x4b603d
cmp eax, 0x197
jne 0x4b6bf1
test dword [ebx + 0x294], 0x100
je 0x4b6bf1
mov eax, dword [edi]
cmp eax, 0xa
jne 0x4b605c
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004ab350
push 1
push ebx
call fcn.004abea0
add esp, 0x10
jmp 0x4b607c
cmp eax, 0x14
je 0x4b6070
cmp dword [esi + 0x12c], 1
jne 0x4b607c
cmp dword [ebp], 0x65
jne 0x4b607c
mov eax, dword [ebx + 0x554]
mov dword [eax], 2
mov edx, dword [ebp]
mov ecx, 0x63
lea eax, [edx - 0x64]
cmp ecx, eax
mov eax, dword [esi + 0x598]
sbb ecx, ecx
and eax, 0xffffffef
and ecx, 0xfffffff0
add ecx, 0x10
or ecx, eax
mov dword [esi + 0x598], ecx
sub edx, 0xcc
je 0x4b60c4
sub edx, 0x64
jne 0x4b60f5
cmp dword [esi + 0x82c], edx
je 0x4b60c4
or dword [esi + 0x1064], 1
mov ecx, dword [esi + 0x598]
or ecx, 0x10
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x598], ecx
test byte [esi + 0x598], 0x10
jne 0x4b61d5
test byte [esi + 0xaa4], 0x10
jne 0x4b61d5
push 0xf
push dword [esi + 0x104]
push str.Content_Length:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b61d5
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 0x104]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004b9f70
add esp, 0x10
test eax, eax
jne 0x4b619f
mov edi, dword [esi + 0x908]
mov eax, edi
mov edx, dword [esi + 0x90c]
or eax, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
je 0x4b6177
cmp ecx, edx
jg 0x4b6c94
jl 0x4b6177
cmp eax, edi
ja 0x4b6c94
push ecx
push eax
push esi
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
call fcn.004b8640
add esp, 0xc
jmp 0x4b675d
cmp eax, 1
jne 0x4b6caf
mov eax, dword [esi + 0x908]
or eax, dword [esi + 0x90c]
jne 0x4b6c94
push 2
push ebx
call fcn.004abea0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004ab350
add esp, 0x10
jmp 0x4b675d
push 0xd
push dword [esi + 0x104]
push str.Content_Type:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b6234
push dword [esi + 0x104]
call fcn.004b5600
mov edi, eax
add esp, 4
test edi, edi
je 0x4b6cca
cmp byte [edi], 0
jne 0x4b621a
push edi
call dword [0x5a8338]
add esp, 4
jmp 0x4b675d
push dword [esi + 0xfe4]
call dword [0x5a8338]
add esp, 4
mov dword [esi + 0xfe4], edi
jmp 0x4b675d
cmp dword [ebx + 0x180], 0xa
jne 0x4b627d
test byte [ebx + 0x294], 0x20
je 0x4b627d
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x104]
call fcn.004b5540
add esp, 0xc
test al, al
je 0x4b627d
push 0
push ebx
call fcn.004abea0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004ab350
add esp, 0x10
jmp 0x4b675d
cmp dword [ebx + 0x180], 0xb
jne 0x4b62c6
test byte [ebx + 0x294], 0x20
je 0x4b62c6
push str.close
push str.Proxy_Connection:
push dword [esi + 0x104]
call fcn.004b5540
add esp, 0xc
test al, al
je 0x4b62c6
push 1
push ebx
call fcn.004abea0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004ab350
add esp, 0x10
jmp 0x4b675d
cmp dword [ebx + 0x180], 0xa
jne 0x4b6306
push str.keep_alive
push str.Connection:
push dword [esi + 0x104]
call fcn.004b5540
add esp, 0xc
test al, al
je 0x4b6306
push 0
push ebx
call fcn.004abea0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004ab350
add esp, 0x10
jmp 0x4b675d
push str.close
push str.Connection:
push dword [esi + 0x104]
call fcn.004b5540
add esp, 0xc
test al, al
je 0x4b6332
push 2
push ebx
call fcn.004abea0
add esp, 8
jmp 0x4b675d
test byte [esi + 0x598], 0x10
jne 0x4b6480
push 0x12
push dword [esi + 0x104]
push str.Transfer_Encoding:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b6372
mov eax, dword [esi + 0x104]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004ae5f0
add esp, 0xc
jmp 0x4b6755
test byte [esi + 0x598], 0x10
jne 0x4b6480
push 0x11
push dword [esi + 0x104]
push str.Content_Encoding:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b63bb
cmp dword [esi + 0x960], 0
je 0x4b63bb
mov eax, dword [esi + 0x104]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004ae5f0
add esp, 0xc
jmp 0x4b6755
test byte [esi + 0x598], 0x10
jne 0x4b6480
push 0xe
push dword [esi + 0x104]
push str.Content_Range:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b6480
mov edi, dword [esi + 0x104]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x4b6411
movzx eax, al
push eax
call fcn.0049b9b0
add esp, 4
test eax, eax
jne 0x4b6411
cmp byte [edi], 0x2a
je 0x4b6411
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b63f4
movzx eax, byte [edi]
push eax
call fcn.0049b9b0
add esp, 4
test eax, eax
je 0x4b6467
lea ebp, [esi + 0x108]
push ebp
push 0xa
push 0
push edi
call fcn.004b9f70
add esp, 0x10
test eax, eax
jne 0x4b675d
mov eax, dword [esi + 0xf20]
cmp eax, dword [ebp]
jne 0x4b675d
mov eax, dword [esi + 0xf24]
cmp eax, dword [ebp + 4]
jne 0x4b675d
or dword [esi + 0x598], 2
jmp 0x4b675d
mov dword [esi + 0xf20], 0
mov dword [esi + 0xf24], 0
jmp 0x4b675d
cmp dword [esi + 0xabc], 0
je 0x4b6501
push 0xb
push dword [esi + 0x104]
push str.Set_Cookie:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b6501
push 2
push 2
push esi
call fcn.004ae810
mov ecx, dword [ebx + 0x300]
add esp, 0xc
test ecx, ecx
jne 0x4b64bf
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x2b8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xf70]
mov eax, dword [esi + 0x104]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xabc]
push esi
call fcn.0049ff90
push 2
push esi
call fcn.004ae850
add esp, 0x28
jmp 0x4b675d
test byte [esi + 0x598], 0x10
jne 0x4b6595
push 0xe
push dword [esi + 0x104]
push str.Last_Modified:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b6595
cmp dword [esi + 0x82c], 0
jne 0x4b653c
test dword [esi + 0xaa0], 0x200
je 0x4b6595
push 0
call fcn.004e3420
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0x104]
add eax, 0xe
mov dword [esp + 0x38], edx
push eax
call fcn.004b9840
add esp, 0xc
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], edx
test dword [esi + 0xaa0], 0x200
je 0x4b675d
mov dword [esi + 0xfc0], eax
mov eax, dword [esi + 0x13c]
mov dword [esi + 0xfc4], eax
jmp 0x4b675d
push 0x11
push dword [esi + 0x104]
push str.WWW_Authenticate:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b65bc
mov edi, dword [esi + 0x110]
cmp edi, 0x191
je 0x4b65e3
push 0x13
push dword [esi + 0x104]
push str.Proxy_authenticate:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b662d
mov edi, dword [esi + 0x110]
cmp edi, 0x197
jne 0x4b662d
push dword [esi + 0x104]
call fcn.004b5600
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b6cca
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.004b5980
push ebp
mov edi, eax
call dword [0x5a8338]
add esp, 0x10
test edi, edi
je 0x4b675d
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0xf
push dword [esi + 0x104]
push str.Persistent_Auth
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b66a9
cmp dword [esi + 0xcec], 4
jne 0x4b675d
push dword [esi + 0x104]
call fcn.004b5600
mov edi, eax
add esp, 4
test edi, edi
je 0x4b6cca
push 5
push edi
push str.false
call fcn.004ae2a0
test eax, eax
mov byte [ebx + 0x42d], 1
push edi
setne al
mov byte [ebx + 0x42c], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.004ab350
push edi
call dword [0x5a8338]
add esp, 0x20
jmp 0x4b675d
mov eax, dword [esi + 0x110]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4b6737
push 9
push dword [esi + 0x104]
push str.Location:
call fcn.004ae2a0
add esp, 0xc
test eax, eax
je 0x4b6737
cmp dword [esi + 0x14c], 0
jne 0x4b6737
push dword [esi + 0x104]
call fcn.004b5600
add esp, 4
test eax, eax
je 0x4b6cca
cmp byte [eax], 0
jne 0x4b6702
push eax
call dword [0x5a8338]
add esp, 4
jmp 0x4b675d
test dword [esi + 0xaa0], sym.MZ__Po__O8B1ce9M2wNF_kAyS_mBgowZ_6_ff_2___k
mov dword [esi + 0x14c], eax
je 0x4b675d
push eax
call dword [0x5a8340]
add esp, 4
mov dword [esi + 0x150], eax
test eax, eax
je 0x4b6cca
push ebx
call fcn.004b7130
add esp, 4
jmp 0x4b6755
mov eax, dword [ebx + 0x2b8]
test dword [eax + 0x40], 0x40000
je 0x4b675d
push dword [esi + 0x104]
push ebx
call fcn.004c8a20
add esp, 8
test eax, eax
jne 0x4b6baa
mov eax, dword [esi + 0xaa0]
mov edi, eax
and edi, 0x2000000
or edi, 0x4000000
shr edi, 0x19
test eax, 0x40000000
je 0x4b6792
push dword [esi + 0xf4]
push dword [esi + 0x104]
push 1
push esi
call fcn.004ab1d0
add esp, 0x10
push dword [esi + 0xf4]
push dword [esi + 0x104]
push edi
push ebx
call fcn.004ab1a0
add esp, 0x10
test eax, eax
jne 0x4b6baa
mov eax, dword [esi + 0xf4]
cdq
add dword [esi + 0xfc8], eax
adc dword [esi + 0xfcc], edx
mov eax, dword [esi + 0xf4]
cdq
add dword [esi + 0xb8], eax
adc dword [esi + 0xbc], edx
jmp 0x4b6b33
cmp al, 0xd
jne 0x4b67e8
inc edx
mov dword [esi + 0x104], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4b67f5
lea eax, [edx + 1]
mov dword [esi + 0x104], eax
mov ecx, dword [esi + 0x110]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4b6874
sub ecx, 0x64
je 0x4b683c
sub ecx, 1
je 0x4b6823
or dword [esi + 0x598], 1
mov dword [esi + 0xec], 0
jmp 0x4b68d3
cmp dword [esi + 0x12c], 1
je 0x4b6cd7
and dword [esi + 0x598], 0xfffffffe
jmp 0x4b68d3
or dword [esi + 0x598], 1
cmp dword [esi + 0x128], 0
mov dword [esi + 0xec], 0
jle 0x4b68d3
or dword [esi + 0x148], 2
push 0
push esi
mov dword [esi + 0x128], 0
call fcn.0049d450
add esp, 8
jmp 0x4b68d3
mov ecx, dword [esi + 0x598]
mov eax, dword [ebp]
and ecx, 0xfffffffe
and eax, dword [ebp + 4]
mov dword [esi + 0x598], ecx
cmp eax, 0xffffffff
jne 0x4b68d3
test cl, 0x20
jne 0x4b68d3
test byte [ebx + 0x294], 1
jne 0x4b68d3
cmp dword [ebx + 0x180], 0xb
jne 0x4b68d3
mov eax, dword [ebx + 0x2b8]
test dword [eax + 0x40], 0x40000
jne 0x4b68d3
cmp dword [esi + 0x838], 6
je 0x4b68d3
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004ab350
push 2
push ebx
call fcn.004abea0
add esp, 0x10
mov ecx, dword [ebx + 0x294]
mov eax, ecx
test cl, 1
je 0x4b6923
mov edx, dword [esi + 0x110]
cmp edx, 0x191
jne 0x4b68f7
cmp dword [ebx + 0x35c], 2
je 0x4b6908
cmp edx, 0x197
jne 0x4b6923
cmp dword [ebx + 0x360], 2
jne 0x4b6923
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004ab350
add esp, 8
or dword [esi + 0xf84], 0x20
mov eax, dword [ebx + 0x294]
test al, 1
je 0x4b6964
mov eax, dword [esi + 0x110]
cmp eax, 0x191
jne 0x4b693f
cmp dword [ebx + 0x3e4], 1
je 0x4b694f
jmp 0x4b6964
cmp eax, 0x197
jne 0x4b6964
cmp dword [ebx + 0x3e8], 1
jne 0x4b6964
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004ab350
add esp, 8
or dword [esi + 0xf84], 0x20
cmp dword [ebx + 0x3e4], 3
jne 0x4b6983
cmp dword [esi + 0x110], 0x191
je 0x4b6983
mov dword [ebx + 0x3e4], 4
cmp dword [ebx + 0x3e8], 3
jne 0x4b69a2
cmp dword [esi + 0x110], 0x197
je 0x4b69a2
mov dword [ebx + 0x3e8], 4
push ebx
call fcn.004b73a0
add esp, 4
test eax, eax
jne 0x4b6e09
mov eax, dword [esi + 0xc64]
mov edi, dword [esi + 0x104]
sub edi, eax
push edi
push eax
mov eax, dword [esi + 0xaa0]
and eax, 0x2000000
or eax, 0x4000000
shr eax, 0x19
push eax
push ebx
call fcn.004ab1a0
add esp, 0x10
test eax, eax
jne 0x4b6baa
mov eax, edi
cdq
mov ecx, eax
add dword [esi + 0xfc8], ecx
adc dword [esi + 0xfcc], edx
add ecx, dword [esi + 0xb8]
mov dword [esi + 0xb8], ecx
adc edx, dword [esi + 0xbc]
mov dword [esi + 0xbc], edx
mov eax, dword [esi + 0x110]
sub eax, 0x64
cmp eax, 0x63
jbe 0x4b6a30
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], edx
call fcn.004b56d0
add esp, 4
test eax, eax
jne 0x4b6baa
cmp dword [esi + 0x110], 0x12c
jl 0x4b6b24
test dword [ebx + 0x294], 0x18001
jne 0x4b6b03
mov eax, dword [esi + 0x838]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4b6b03
push 0
push esi
call fcn.0049d450
add esp, 8
test byte [esi + 0x598], 4
jne 0x4b6b03
test dword [esi + 0xaa0], 0x200000
je 0x4b6ac9
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004ab350
add esp, 8
cmp dword [esi + 0x128], 0
jle 0x4b6b03
or dword [esi + 0x148], 2
mov dword [esi + 0x128], 0
jmp 0x4b6b03
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004ab350
push 2
push ebx
call fcn.004abea0
or dword [esi + 0x598], 4
add esp, 0x10
and dword [esi + 0x148], 0xfffffffd
test dword [esi + 0xf84], 0x100
je 0x4b6b03
mov dword [esi + 0x128], 3
test dword [ebx + 0x294], 0x10000
je 0x4b6b24
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004ab350
add esp, 8
or dword [esi + 0x148], 2
mov ecx, dword [esi + 0x598]
test cl, 1
je 0x4b6d0d
mov eax, dword [esi + 0xc64]
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], 0
mov edi, dword [esi + 0xf8]
cmp byte [edi], 0
je 0x4b6ba8
mov eax, dword [esp + 0x48]
mov dword [esi + 0xfc], edi
push dword [eax]
push 0xa
push edi
call fcn.004df900
lea ebp, [esi + 0x98]
jmp 0x4b5d2b
push 2
push ebx
call fcn.004abea0
add esp, 8
test dword [esi + 0xaa4], 0x4000000
je 0x4b6e94
mov eax, dword [esp + 0x48]
and dword [esi + 0x598], 0xfffffffe
cmp dword [eax], 0
je 0x4b6bb2
mov dword [esi + 0xe8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xe8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
pop edi
mov dword [esi + 0xf8], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.Unsupported_HTTP_version_in_response_n
push esi
call fcn.004ab260
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [esi + 0x104]
push 4
push str.HTTP
push edi
call fcn.004eea50
add esp, 0xc
test eax, eax
jne 0x4b6e09
push 0x20
push edi
call fcn.004e1460
mov edi, eax
add esp, 8
test edi, edi
je 0x4b6e09
inc edi
cmp byte [edi], 0
je 0x4b6e09
push 0xd
push edi
mov byte [esp + 0x50], 0xd
call fcn.004e1460
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b6c5e
push 0xa
push edi
mov byte [esp + 0x50], 0xa
call fcn.004e1460
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b6e09
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.004ab260
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
and dword [esi + 0x598], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004ab260
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.004ab260
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.004ab350
add esp, 8
mov dword [esi + 0x12c], 2
or dword [esi + 0x598], 1
mov eax, 1
mov dword [esi + 0xec], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test dword [esi + 0xaa0], 0x10000000
mov ebp, dword [esp + 0x4c]
jne 0x4b6d78
mov eax, dword [ebx + 0x2b8]
test dword [eax + 0x40], 0x40000
je 0x4b6d49
cmp dword [esi + 0xa48], 2
jne 0x4b6d49
cmp dword [esi + 0x9c], 0xffffffff
jl 0x4b6d78
jg 0x4b6d49
cmp dword [esi + 0x98], 0xffffffff
jbe 0x4b6d78
test cl, 0x20
je 0x4b6d7c
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x9c], 0xffffffff
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0xa4], 0xffffffff
jmp 0x4b6d7c
mov byte [ebp], 1
mov ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x9c]
cmp ecx, 0xffffffff
jne 0x4b6d9f
cmp eax, ecx
jne 0x4b6d9f
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
jmp 0x4b6dc2
push eax
push ecx
push esi
call fcn.004b8640
mov ecx, dword [esi + 0x98]
add esp, 0xc
mov eax, dword [esi + 0x9c]
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], eax
test ecx, ecx
jne 0x4b6dd0
test eax, eax
jne 0x4b6dd0
mov byte [ebp], 1
jmp 0x4b6dd6
cmp byte [ebp], 0
je 0x4b6ddd
and dword [esi + 0x148], 0xfffffffe
test dword [esi + 0xaa0], 0x40000000
je 0x4b6ba8
push edi
push dword [esi + 0xfc]
push 1
push esi
call fcn.004ab1d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push dword [esi + 0x110]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004ab260
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x48]
push dword [eax]
push ebp
push esi
call fcn.004b7070
add esp, 0xc
test eax, eax
jne 0x4b6baa
cmp dword [esi + 0xec], eax
jne 0x4b6ba8
push dword [esi + 0xf4]
push dword [esi + 0xc64]
push ebx
push esi
call fcn.004b6f60
add esp, 0x10
cmp eax, 2
jne 0x4b6ba8
and dword [esi + 0x598], 0xfffffffe
push eax
push ebx
mov dword [esi + 0xe8], eax
call fcn.004abea0
add esp, 8
test dword [esi + 0xaa4], 0x4000000
jne 0x4b6ba8
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004ab260
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret