Function at 0x4bec60
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
lea esi, [edi + 0x18]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x60], eax
mov ecx, dword [ebx]
push ecx
push 0xa
push eax
call fcn.004cdcb0
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x4bf6e3
sub eax, dword [esi + 0x5c]
inc eax
mov ebp, eax
mov eax, ebx
sub dword [eax], ebp
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
mov ebx, edi
push eax
call fcn.004bd320
add esp, 4
test eax, eax
jne 0x4bf848
mov edx, dword [esi + 0x54]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x484]
xor ebx, ebx
mov dword [esi + 0x68], eax
cmp dword [esi + 0x50], ebx
jne 0x4beced
cmp dword [esi + 0x58], 5
jbe 0x4beced
mov eax, dword [edi + 0x484]
push edi
call fcn.004bd310
add esp, 4
test al, al
je 0x4bf736
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4bf515
cmp cl, 0xd
je 0x4bf51a
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
cmp ecx, ebx
jne 0x4beee3
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x30]
test cl, 1
je 0x4bed99
mov ebx, dword [esp + 0x24]
lea ebp, [esi + 0x78]
push ebp
add ebx, 0xb0
push ebx
lea edx, [esp + 0x28]
push edx
push str._HTTP__d._d__3d
push eax
call fcn.004cdf16
add esp, 0x14
cmp eax, 3
jne 0x4bed58
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
jmp 0x4bedeb
mov ecx, dword [esi + 0x68]
push ebp
push str._HTTP__3d
push ecx
call fcn.004cdf16
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x4bedeb
mov edx, dword [esi + 0x68]
push edx
mov eax, edi
call fcn.004bd2a0
add esp, 4
test al, al
je 0x4bf765
mov dword [ebp], 0xc8
mov dword [ebx], 0xa
jmp 0x4bedeb
test ecx, 0x40000
je 0x4bf765
mov ebx, dword [esp + 0x24]
lea ebp, [esi + 0x78]
push ebp
add ebx, 0xb4
push ebx
lea ecx, [esp + 0x18]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.004cdf16
add esp, 0x14
cmp eax, 3
jne 0x4bf765
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*4]
add edx, edx
add dword [ebx], edx
mov ebx, dword [esp + 0x24]
add ebx, 0xb0
mov dword [ebx], 0xb
mov eax, dword [ebp]
mov dword [edi + 0x8598], eax
mov eax, dword [edi + 0x8558]
mov ecx, dword [ebx]
mov dword [edi + 0x85a0], ecx
test eax, eax
je 0x4bee0a
cmp eax, dword [ebx]
jle 0x4bee12
mov edx, dword [ebx]
mov dword [edi + 0x8558], edx
cmp byte [edi + 0x268], 0
je 0x4bee70
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x4bee70
mov ecx, dword [esp + 0x24]
cmp eax, 0x191
jne 0x4bee39
cmp byte [ecx + 0x120], 0
jne 0x4bee74
cmp eax, 0x197
jne 0x4bee49
cmp byte [ecx + 0x121], 0
jne 0x4bee74
mov edx, dword [edi + 0x8578]
or edx, dword [edi + 0x857c]
je 0x4bee67
cmp dword [edi + 0x1e8], 1
jne 0x4bee67
cmp eax, 0x1a0
je 0x4bee74
mov ecx, dword [esi + 0x78]
push ecx
jmp 0x4bf79f
mov ecx, dword [esp + 0x24]
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x4bee96
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.004b7380
mov eax, dword [esp + 0x2c]
add esp, 8
mov byte [eax + 0x11c], 1
jmp 0x4beeab
cmp ebx, 0xb
jl 0x4beeab
cmp byte [ecx + 0x11c], 0
jne 0x4beeab
mov byte [ecx + 0x16a], 1
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x4beec0
sub ebp, 0x64
je 0x4beec0
sub ebp, 0x70
jne 0x4beee3
xor eax, eax
cmp dword [edi + 0x1d8], eax
je 0x4beed1
mov byte [edi + 0x85a8], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov byte [esi + 0xae], 1
cmp byte [esi + 0xae], 0
jne 0x4bef9c
cmp byte [edi + 0x28f], 0
jne 0x4bef9c
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bef9c
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.004d4a88
mov ebx, dword [edi + 0x248]
mov ecx, dword [edi + 0x24c]
mov ebp, ebx
add esp, 0xc
or ebp, ecx
je 0x4bef4f
cmp edx, ecx
jg 0x4bf773
jl 0x4bef4f
cmp eax, ebx
ja 0x4bf773
test edx, edx
jl 0x4bef78
jg 0x4bef59
test eax, eax
jb 0x4bef78
push edx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.004c3cb0
mov ebp, dword [esp + 0x30]
add esp, 0xc
jmp 0x4bf4ae
mov ecx, dword [esp + 0x24]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push edi
mov byte [ecx + 0x11c], 1
call fcn.004b7380
mov ebp, dword [esp + 0x34]
add esp, 0x10
jmp 0x4bf4ae
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4befff
mov eax, dword [esi + 0x68]
push eax
call fcn.004bc5c0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4bf78e
cmp byte [ebx], 0
jne 0x4befe1
push ebx
call dword [0x56a508]
mov ebp, dword [esp + 0x28]
add esp, 4
jmp 0x4bf4ae
mov ecx, dword [edi + 0x85c0]
push ecx
call fcn.004ae800
mov ebp, dword [esp + 0x28]
add esp, 4
mov dword [edi + 0x85c0], ebx
jmp 0x4bf4ae
mov ebp, dword [esp + 0x24]
mov ebx, 0xa
cmp dword [ebp + 0xb0], ebx
jne 0x4bf04d
cmp byte [ebp + 0x11f], 0
je 0x4bf04d
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.004bd050
add esp, 0xc
test al, al
je 0x4bf04d
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov byte [ebp + 0x11c], 0
call fcn.004b7380
add esp, 8
jmp 0x4bf4ae
cmp dword [ebp + 0xb0], 0xb
jne 0x4bf093
cmp byte [ebp + 0x11f], 0
je 0x4bf093
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.004bd050
add esp, 0xc
test al, al
je 0x4bf093
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov byte [ebp + 0x11c], 1
call fcn.004b7380
add esp, 8
jmp 0x4bf4ae
cmp dword [ebp + 0xb0], ebx
jne 0x4bf0cf
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.004bd050
add esp, 0xc
test al, al
je 0x4bf0cf
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov byte [ebp + 0x11c], 0
call fcn.004b7380
add esp, 8
jmp 0x4bf4ae
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.004bd050
add esp, 0xc
test al, al
je 0x4bf0f5
mov byte [ebp + 0x11c], 1
jmp 0x4bf4ae
mov eax, dword [esi + 0x68]
push str.chunked
push str.Transfer_Encoding:
push eax
call fcn.004bd050
add esp, 0xc
test al, al
je 0x4bf12d
test dword [ebp + 0x30], 0x40000
jne 0x4bf12d
push ebp
mov byte [esi + 0xc0], 1
call fcn.004c58a0
add esp, 4
jmp 0x4bf4ae
mov ecx, dword [esi + 0x68]
push 8
push ecx
push str.Trailer:
call fcn.004c4560
add esp, 0xc
test eax, eax
jne 0x4bf4a7
mov edx, dword [esi + 0x68]
push 9
push edx
push str.Trailers:
call fcn.004c4560
add esp, 0xc
test eax, eax
jne 0x4bf4a7
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf270
cmp dword [edi + 0x2c0], 0
je 0x4bf270
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x4bf1b8
jmp 0x4bf1a0
movzx ecx, al
push ecx
call fcn.004cd7f7
add esp, 4
test eax, eax
je 0x4bf1b8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4bf1a0
push 8
push ebx
push str.identity
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf1db
mov dword [esi + 0x88], 0
jmp 0x4bf4ae
push 7
push ebx
push str.deflate
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf1fe
mov dword [esi + 0x88], 1
jmp 0x4bf4ae
push 4
push ebx
push str.gzip
call fcn.004c4560
add esp, 0xc
test eax, eax
jne 0x4bf261
push 6
push ebx
push str.x_gzip
call fcn.004c4560
add esp, 0xc
test eax, eax
jne 0x4bf261
push 8
push ebx
push str.compress
call fcn.004c4560
add esp, 0xc
test eax, eax
jne 0x4bf252
push 0xa
push ebx
push str.x_compress
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf4ae
mov dword [esi + 0x88], 3
jmp 0x4bf4ae
mov dword [esi + 0x88], 2
jmp 0x4bf4ae
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf2e5
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x4bf2ac
movzx eax, al
push eax
call fcn.004cd6f2
add esp, 4
test eax, eax
jne 0x4bf2ac
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4bf294
push 0xa
push 0
push ebx
call fcn.004d4a88
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov ecx, dword [edi + 0x8578]
add esp, 0xc
cmp ecx, eax
jne 0x4bf4ae
mov edx, dword [edi + 0x857c]
cmp edx, dword [esi + 0x74]
jne 0x4bf4ae
mov byte [esi + 0x6c], 1
jmp 0x4bf4ae
cmp dword [edi + 0x36c], 0
je 0x4bf34d
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf34d
push 2
push 2
push edi
call fcn.004b9a80
mov eax, dword [ebp + 0x15c]
add esp, 0xc
test eax, eax
jne 0x4bf31f
mov eax, dword [ebp + 0x7c]
mov ecx, dword [edi + 0x856c]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [edi + 0x36c]
add edx, 0xb
push edx
push 1
push eax
push edi
call fcn.004b6040
push 2
push edi
call fcn.004b9ac0
add esp, 0x20
jmp 0x4bf4ae
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf3bf
cmp dword [edi + 0x1d8], 0
jne 0x4bf376
cmp byte [edi + 0x261], 0
je 0x4bf3bf
push 0
call fcn.004cb0f5
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
push edx
add eax, 0xe
push eax
call fcn.004c6e40
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp byte [edi + 0x261], 0
je 0x4bf4ae
mov ecx, eax
mov dword [edi + 0x85a4], ecx
jmp 0x4bf4ae
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf3e0
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4bf401
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf41c
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4bf41c
mov ecx, dword [esi + 0x68]
push ecx
push eax
push ebp
call fcn.004bcb60
add esp, 0xc
test eax, eax
jne 0x4bf848
jmp 0x4bf4ae
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4bf4ae
cmp eax, 0x190
jge 0x4bf4ae
mov edx, dword [esi + 0x68]
push 9
push edx
push str.Location:
call fcn.004c4560
add esp, 0xc
test eax, eax
je 0x4bf4ae
mov eax, dword [esi + 0x68]
push eax
call fcn.004bc5c0
add esp, 4
test eax, eax
je 0x4bf78e
cmp byte [eax], 0
jne 0x4bf46d
push eax
call dword [0x56a508]
add esp, 4
jmp 0x4bf4ae
cmp byte [edi + 0x269], 0
mov dword [edi + 0xc8], eax
je 0x4bf4ae
push eax
call dword [0x56a510]
add esp, 4
mov dword [edi + 0xcc], eax
test eax, eax
je 0x4bf78e
push ebp
call fcn.004bc7d0
add esp, 4
test eax, eax
jne 0x4bf848
jmp 0x4bf4ae
mov byte [esi + 0xc4], 1
cmp byte [edi + 0x26b], 0
mov ebx, 2
je 0x4bf4c1
mov ebx, 3
cmp byte [edi + 0x278], 0
je 0x4bf4de
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
push ebp
push ecx
push edx
push 1
push edi
call fcn.004b7290
add esp, 0x14
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push eax
push ecx
push ebx
push ebp
call fcn.004b75a0
add esp, 0x10
test eax, eax
jne 0x4bf848
mov edx, dword [esi + 0x58]
add dword [edi + 0x85ac], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [edi + 0x484]
add dword [edi + 0x48], eax
mov dword [esi + 0x54], ecx
jmp 0x4bf6b9
cmp cl, 0xd
jne 0x4bf51e
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4bf52a
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4bf60d
cmp eax, 0xc7
jg 0x4bf60d
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], ebx
cmp dword [esi + 0x84], ebx
je 0x4bf55d
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], ebx
mov ebx, dword [esp + 0x24]
cmp dword [esi + 0x78], 0x1a1
jne 0x4bf57b
and dword [esi + 0xa8], 0xfffffffd
mov dword [esi + 0x84], 3
push ebx
call fcn.004bcc60
add esp, 4
test eax, eax
jne 0x4bf79b
lea ecx, [eax + 2]
cmp byte [edi + 0x26b], al
je 0x4bf59a
lea ecx, [eax + 3]
mov eax, dword [edi + 0x484]
mov ebx, dword [esi + 0x68]
mov ebp, dword [esp + 0x24]
sub ebx, eax
push ebx
push eax
push ecx
push ebp
call fcn.004b75a0
add esp, 0x10
test eax, eax
jne 0x4bf848
add dword [edi + 0x48], ebx
add dword [edi + 0x85ac], ebx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [edi + 0x48]
jl 0x4bf5d8
cmp eax, 0xc7
jle 0x4bf5da
xor ecx, ecx
mov eax, dword [edi + 0x8578]
or eax, dword [edi + 0x857c]
mov dword [edi + 0x4c], ecx
je 0x4bf66f
cmp dword [edi + 0x1e8], 1
jne 0x4bf66f
cmp dword [esi + 0x78], 0x1a0
jne 0x4bf66f
mov ecx, dword [esp + 0x2c]
mov byte [ecx], 1
jmp 0x4bf6a6
mov edx, dword [esi]
and edx, dword [esi + 4]
mov byte [esi + 0x48], bl
cmp edx, 0xffffffff
jne 0x4bf55d
cmp byte [esi + 0xc0], bl
jne 0x4bf55d
mov ebx, dword [esp + 0x24]
cmp byte [ebx + 0x11c], 0
jne 0x4bf561
cmp dword [ebx + 0xb0], 0xb
jl 0x4bf561
test dword [ebx + 0x30], 0x40000
jne 0x4bf561
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.004b7380
add esp, 8
mov byte [ebx + 0x11c], 1
jmp 0x4bf561
mov edx, dword [esp + 0x2c]
cmp byte [edx], 0
jne 0x4bf6a6
push ebp
call fcn.004bd3d0
add esp, 4
test eax, eax
jne 0x4bf848
cmp byte [ebp + 0x12b], al
je 0x4bf6a6
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.004b7380
add esp, 8
or dword [esi + 0xa8], 2
cmp byte [esi + 0x48], 0
je 0x4bf7ba
mov eax, dword [edi + 0x484]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x58], 0
cmp byte [ecx], 0
jne 0x4bf846
mov edx, dword [esi + 0x5c]
cmp byte [edx], 0
jne 0x4bec70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [ebx]
push eax
mov ebx, edi
call fcn.004bd320
add esp, 4
test eax, eax
jne 0x4bf848
cmp dword [esi + 0x50], eax
jne 0x4bf846
cmp dword [esi + 0x58], 5
jbe 0x4bf846
mov eax, dword [edi + 0x484]
push edi
call fcn.004bd310
add esp, 4
test al, al
jne 0x4bf846
pop edi
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 2
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x28]
mov byte [esi + 0x48], bl
cmp dword [eax], ebx
je 0x4bf752
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [eax], ebp
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
mov byte [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.004b7410
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.004b7410
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0xc
ret
cmp byte [edi + 0x26e], 0
je 0x4bf7cc
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
jmp 0x4bf7e3
cmp byte [esi + 0xc0], 0
je 0x4bf7e3
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x4bf7f1
cmp ecx, eax
je 0x4bf807
push ecx
push eax
push edi
call fcn.004c3cb0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
cmp dword [esi + 0x10], 0
jne 0x4bf81c
cmp dword [esi + 0x14], 0
jne 0x4bf81c
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
jmp 0x4bf825
mov ecx, dword [esp + 0x2c]
cmp byte [ecx], 0
je 0x4bf82c
and dword [esi + 0xa8], 0xfffffffe
cmp byte [edi + 0x278], 0
je 0x4bf846
mov edx, dword [esi + 0x60]
push ebp
push ebx
push edx
push 1
push edi
call fcn.004b7290
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret