Function at 0x4a5140
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x70], eax
push dword [ecx]
push 0xa
push eax
call fcn.0058b0b0
add esp, 0xc
mov dword [esi + 0x74], eax
test eax, eax
je 0x4a5f68
mov ecx, dword [esi + 0x6c]
sub ecx, eax
mov eax, dword [ebp + 0x10]
dec ecx
add dword [eax], ecx
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push edi
call fcn.004a6200
add esp, 0xc
test eax, eax
jne 0x4a5fa7
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x874]
mov dword [esi + 0x78], eax
jne 0x4a51d6
cmp dword [esi + 0x68], 5
jbe 0x4a51d6
push dword [edi + 0x874]
push ebx
push edi
call fcn.004a6100
add esp, 0xc
test al, al
je 0x4a5daa
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x4a5af4
cmp al, 0xd
je 0x4a5af8
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x4a54cc
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4a5323
lea ecx, [esi + 0x88]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [ebx + 0x180]
push eax
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004930e0
add esp, 0x18
cmp eax, 1
jne 0x4a5272
cmp dword [ebp - 0xc], 2
jne 0x4a5de1
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.004930e0
add esp, 0xc
cmp eax, 1
jne 0x4a5de1
lea ecx, [ebx + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x4a5287
cmp eax, 4
jne 0x4a52c0
cmp byte [ebp + 0xb], 0x20
jne 0x4a5de1
lea ecx, [ebx + 0x180]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0xa4], 2
jne 0x4a537f
cmp dword [ecx], 0x14
je 0x4a537f
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.0049da90
add esp, 8
lea ecx, [ebx + 0x180]
jmp 0x4a537f
test eax, eax
jne 0x4a5de1
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.004930e0
add esp, 0xc
mov dword [ebx + 0x180], 0xa
lea ecx, [ebx + 0x180]
test eax, eax
jne 0x4a537f
push dword [esi + 0x78]
push edi
call fcn.004a6080
add esp, 8
test al, al
je 0x4a5fa1
lea ecx, [ebx + 0x180]
mov dword [esi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x4a537f
test eax, 0x40000
je 0x4a5fa1
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebx + 0x184]
push ecx
lea eax, [ebp - 0x10]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004930e0
add esp, 0x18
cmp eax, 4
jne 0x4a5fa1
cmp byte [ebp - 1], 0x20
jne 0x4a5fa1
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x184], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x4bb8], eax
mov eax, dword [ecx]
mov dword [edi + 0x4bc0], eax
mov eax, dword [edi + 0x4b38]
test eax, eax
je 0x4a53a1
cmp eax, dword [ecx]
jle 0x4a53a9
mov eax, dword [ecx]
mov dword [edi + 0x4b38], eax
mov eax, dword [edi + 0x4b50]
or eax, dword [edi + 0x4b54]
je 0x4a53d5
cmp dword [edi + 0x400], 1
jne 0x4a53d5
cmp dword [esi + 0x88], 0x1a0
jne 0x4a53d5
mov byte [esi + 0xc9], 1
jmp 0x4a5413
cmp byte [edi + 0x4f8], 0
je 0x4a5413
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x4a5413
cmp eax, 0x191
jne 0x4a53fb
cmp byte [ebx + 0x288], 0
jne 0x4a5413
cmp eax, 0x197
jne 0x4a5dfb
cmp byte [ebx + 0x289], 0
je 0x4a5dfb
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x4a5432
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.0049da90
push 1
push ebx
call fcn.0049e470
add esp, 0x10
jmp 0x4a5488
cmp eax, 0x14
je 0x4a547c
cmp dword [esi + 0xa4], 1
jne 0x4a5449
cmp dword [esi + 0x88], 0x65
je 0x4a547c
cmp eax, 0xb
jl 0x4a5488
cmp byte [ebx + 0x281], 0
jne 0x4a5488
cmp dword [ebx + 0x548], 0
je 0x4a5488
push ebx
push edi
call fcn.004aa9b0
add esp, 8
test al, al
jne 0x4a5488
mov eax, dword [ebx + 0x548]
mov dword [eax], 1
jmp 0x4a5488
mov eax, dword [ebx + 0x548]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x4a549a
sub eax, 0x64
jne 0x4a54cc
cmp dword [edi + 0x3f0], 0
je 0x4a54aa
mov byte [edi + 0x4bd0], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xca], 1
cmp byte [esi + 0xca], 0
jne 0x4a5598
cmp byte [edi + 0x51f], 0
jne 0x4a5598
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a5598
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004ac070
add esp, 0x10
test eax, eax
jne 0x4a5562
mov eax, dword [edi + 0x4d8]
mov edx, dword [edi + 0x4dc]
or eax, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
je 0x4a5547
cmp ecx, edx
jg 0x4a5e10
jl 0x4a5547
cmp eax, dword [edi + 0x4d8]
ja 0x4a5e10
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.004a9440
add esp, 0xc
jmp 0x4a5a97
cmp eax, 1
jne 0x4a5e2a
mov eax, dword [edi + 0x4d8]
or eax, dword [edi + 0x4dc]
jne 0x4a5e10
push 2
push ebx
call fcn.0049e470
push str.Overflow_Content_Length:_value__n
push edi
call fcn.0049da90
add esp, 0x10
jmp 0x4a5a97
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a55f5
push dword [esi + 0x78]
call fcn.004a4bd0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x4a5e44
cmp byte [eax], 0
jne 0x4a55d8
push eax
call dword [0x630324]
add esp, 4
jmp 0x4a5a97
push dword [edi + 0x4be8]
call dword [0x630324]
mov eax, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x4be8], eax
jmp 0x4a5a97
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a5661
cmp dword [ebx + 0x180], 0x14
jge 0x4a5a97
push dword [esi + 0x78]
call fcn.004a4bd0
mov ecx, dword [ebx + 0x548]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x4a5652
cmp dword [ecx], 1
jne 0x4a5652
push eax
push edi
call fcn.004aa7b0
add esp, 8
test al, al
je 0x4a564f
mov eax, dword [ebx + 0x548]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x630324]
add esp, 4
jmp 0x4a5a97
cmp dword [ebx + 0x180], 0xa
jne 0x4a56a7
cmp byte [ebx + 0x286], 0
je 0x4a56a7
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.004a4b00
add esp, 0xc
test al, al
je 0x4a56a7
push 0
push ebx
call fcn.0049e470
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.0049da90
add esp, 0x10
jmp 0x4a5a97
cmp dword [ebx + 0x180], 0xb
jne 0x4a56ed
cmp byte [ebx + 0x286], 0
je 0x4a56ed
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.004a4b00
add esp, 0xc
test al, al
je 0x4a56ed
push 1
push ebx
call fcn.0049e470
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.0049da90
add esp, 0x10
jmp 0x4a5a97
cmp dword [ebx + 0x180], 0xa
jne 0x4a572a
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.004a4b00
add esp, 0xc
test al, al
je 0x4a572a
push 0
push ebx
call fcn.0049e470
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.0049da90
add esp, 0x10
jmp 0x4a5a97
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.004a4b00
add esp, 0xc
test al, al
je 0x4a5753
push 2
push ebx
call fcn.0049e470
add esp, 8
jmp 0x4a5a97
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a5780
mov eax, dword [esi + 0x78]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004a1940
add esp, 0xc
jmp 0x4a5a8f
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a57b6
cmp dword [edi + 0x55c], 0
je 0x4a57b6
mov eax, dword [esi + 0x78]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004a1940
add esp, 0xc
jmp 0x4a5a8f
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a587b
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 8], eax
mov cl, byte [eax]
test cl, cl
je 0x4a5807
mov ebx, eax
movzx eax, cl
push eax
call fcn.0049ff40
add esp, 4
test eax, eax
jne 0x4a57fe
cmp byte [ebx], 0x2a
je 0x4a57fe
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x4a57e1
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.0049ff40
add esp, 4
test eax, eax
je 0x4a5862
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push dword [ebp - 8]
call fcn.004ac070
add esp, 0x10
test eax, eax
jne 0x4a5a97
mov eax, dword [edi + 0x4b50]
cmp eax, dword [esi + 0x80]
jne 0x4a5a97
mov eax, dword [edi + 0x4b54]
cmp eax, dword [esi + 0x84]
jne 0x4a5a97
mov byte [esi + 0x7c], 1
jmp 0x4a5a97
mov dword [edi + 0x4b50], 0
mov dword [edi + 0x4b54], 0
jmp 0x4a5a97
cmp dword [edi + 0x6b8], 0
je 0x4a58e5
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a58e5
push 2
push 2
push edi
call fcn.004a1b80
mov eax, dword [ebx + 0x2f8]
add esp, 0xc
test eax, eax
jne 0x4a58b7
mov eax, dword [ebx + 0xa0]
push dword [edi + 0x4b44]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 0
push 1
push dword [edi + 0x6b8]
push edi
call fcn.004915f0
push 2
push edi
call fcn.004a1bc0
add esp, 0x24
jmp 0x4a5a97
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a595d
cmp dword [edi + 0x3f0], 0
jne 0x4a590d
cmp byte [edi + 0x4f1], 0
je 0x4a595d
push 0
call fcn.0058f792
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 0x28], edx
push eax
call fcn.004ab990
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [edi + 0x4f1], 0
je 0x4a5a97
mov dword [edi + 0x4bc8], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x4bcc], eax
jmp 0x4a5a97
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a5983
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x4a59a9
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a59eb
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x4a59eb
push dword [esi + 0x78]
call fcn.004a4bd0
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a5e44
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.004a4e70
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call dword [0x630324]
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x4a5a8f
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x4a5a74
cmp eax, 0x190
jge 0x4a5a74
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.004a1760
add esp, 0xc
test eax, eax
je 0x4a5a74
cmp dword [edi + 0x13c], 0
jne 0x4a5a74
push dword [esi + 0x78]
call fcn.004a4bd0
add esp, 4
test eax, eax
je 0x4a5e44
cmp byte [eax], 0
jne 0x4a5a42
push eax
call dword [0x630324]
add esp, 4
jmp 0x4a5a97
cmp byte [edi + 0x4fa], 0
mov dword [edi + 0x13c], eax
je 0x4a5a97
push eax
call dword [0x63032c]
add esp, 4
mov dword [edi + 0x140], eax
test eax, eax
je 0x4a5e44
push ebx
call fcn.004a6410
add esp, 4
jmp 0x4a5a8f
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x4a5a97
push dword [esi + 0x78]
push ebx
call fcn.004bfdf0
add esp, 8
test eax, eax
jne 0x4a5fa7
xor eax, eax
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
cmp byte [edi + 0x508], 0
mov dword [ebp - 0x14], eax
je 0x4a5ac5
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.0049d930
mov eax, dword [ebp - 0x14]
add esp, 0x10
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push ebx
call fcn.0049d900
add esp, 0x10
test eax, eax
jne 0x4a5fa7
mov eax, dword [esi + 0x68]
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
jmp 0x4a5d86
cmp al, 0xd
jne 0x4a5afe
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x4a5b0a
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x4a5b7e
cmp eax, 0xc7
jg 0x4a5b7e
sub eax, 0x64
je 0x4a5b4c
sub eax, 1
je 0x4a5b36
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x4a5bd5
cmp dword [esi + 0xa4], 1
je 0x4a5e50
mov byte [esi + 0x58], 0
jmp 0x4a5bd5
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x4a5bd5
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.0048eb40
add esp, 8
jmp 0x4a5bd5
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x4a5bd5
cmp byte [esi + 0xdc], 0
jne 0x4a5bd5
cmp byte [ebx + 0x281], 0
jne 0x4a5bde
cmp dword [ebx + 0x180], 0xb
jne 0x4a5bd5
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x4a5bd5
cmp dword [edi + 0x400], 6
je 0x4a5bd5
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.0049da90
push 2
push ebx
call fcn.0049e470
add esp, 0x10
cmp byte [ebx + 0x281], 0
je 0x4a5c19
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x4a5bf4
cmp dword [ebx + 0x33c], 2
je 0x4a5c04
cmp eax, 0x197
jne 0x4a5c19
cmp dword [ebx + 0x354], 2
jne 0x4a5c19
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.0049da90
add esp, 8
mov byte [edi + 0x494c], 1
push ebx
call fcn.004a65c0
add esp, 4
test eax, eax
jne 0x4a5f48
mov eax, dword [edi + 0x874]
mov ecx, dword [esi + 0x78]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 8], ecx
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
push eax
push ebx
call fcn.0049d900
add esp, 0x10
test eax, eax
jne 0x4a5fa7
mov eax, dword [ebp - 8]
add dword [edi + 0xa0], eax
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x4a5c81
cmp eax, 0xc7
jle 0x4a5c83
xor ecx, ecx
push ebx
mov dword [edi + 0xa4], ecx
call fcn.004a4ca0
add esp, 4
test eax, eax
jne 0x4a5fa7
cmp dword [esi + 0x88], 0x12c
jl 0x4a5d7c
cmp byte [ebx + 0x292], al
jne 0x4a5d5e
cmp byte [ebx + 0x281], al
jne 0x4a5d5e
cmp byte [ebx + 0x293], al
jne 0x4a5d67
mov eax, dword [edi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4a5d5e
push 0
push edi
call fcn.0048eb40
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x4a5d5e
cmp byte [edi + 0x4f9], 0
je 0x4a5d27
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.0049da90
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x4a5d5e
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x4a5d5e
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.0049da90
push 2
push ebx
call fcn.0049e470
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [edi + 0x4b3c], 0
je 0x4a5d5e
mov dword [esi + 0xa0], 3
cmp byte [ebx + 0x293], 0
je 0x4a5d7c
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.0049da90
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x4a5e7f
mov eax, dword [edi + 0x874]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
je 0x4a5fa5
mov ecx, dword [ebp + 0x10]
jmp 0x4a5160
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x58], 0
cmp dword [eax], 0
je 0x4a5dc6
pop edi
mov dword [esi + 0x5c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x5c], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
pop edi
mov dword [esi + 0x6c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.0049d9b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004a6840
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.0049d9b0
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 edi
call fcn.0049d9b0
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 edi
call fcn.0049da90
add esp, 8
mov dword [esi + 0xa4], 2
mov byte [esi + 0x58], 1
mov eax, 1
mov dword [esi + 0x60], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x500], 0
je 0x4a5e90
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x4a5ee4
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x4a5ebd
cmp dword [edi + 0x63c], 2
jne 0x4a5ebd
cmp dword [esi + 4], 0xffffffff
jg 0x4a5ebd
jl 0x4a5eb5
cmp dword [esi], 0xffffffff
ja 0x4a5ebd
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x4a5ee4
cmp byte [esi + 0xdc], 0
mov ebx, dword [ebp + 0x14]
je 0x4a5ee4
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x4a5ef2
cmp eax, ecx
je 0x4a5f08
push eax
push ecx
push edi
call fcn.004a9440
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x4a5f19
cmp dword [esi + 0x14], 0
jne 0x4a5f19
mov byte [ebx], 1
jmp 0x4a5f1e
cmp byte [ebx], 0
je 0x4a5f25
and dword [esi + 0xc4], 0xfffffffe
cmp byte [edi + 0x508], 0
je 0x4a5fa5
push dword [ebp - 8]
push dword [esi + 0x70]
push 1
push edi
call fcn.0049d930
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.0049d9b0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push dword [eax]
push esi
push edi
call fcn.004a6200
add esp, 0xc
test eax, eax
jne 0x4a5fa7
cmp dword [esi + 0x60], eax
jne 0x4a5fa5
cmp dword [esi + 0x68], 5
jbe 0x4a5fa5
push dword [edi + 0x874]
push ebx
push edi
call fcn.004a6100
add esp, 0xc
test al, al
jne 0x4a5fa5
mov dword [esi + 0x5c], 2
mov byte [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret