Function at 0x565ab0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x18]
nop
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call fcn.006f75b0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x64], esi
test esi, esi
je 0x5667cb
sub esi, dword [edi + 0x5c]
inc esi
sub dword [eax], esi
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
push edi
push ebx
call fcn.00566a00
add esp, 0xc
test eax, eax
jne 0x56680c
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x55c]
mov dword [edi + 0x68], eax
jne 0x565b3f
cmp dword [edi + 0x58], 5
jbe 0x565b3f
push dword [ebx + 0x55c]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00566890
add esp, 0xc
test eax, eax
je 0x56669f
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x566498
cmp al, 0xd
je 0x56649c
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x565d59
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x294]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x565ca7
lea eax, [edi + 0x78]
push eax
lea esi, [ecx + 0x118]
push esi
lea eax, [ebp - 4]
push eax
push str._HTTP__d._d__3d
push edx
call fcn.00701257
add esp, 0x14
cmp eax, 3
jne 0x565c5f
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x8efc], eax
mov eax, dword [esi]
mov dword [ebx + 0x8f04], eax
mov eax, dword [ebx + 0x8e90]
test eax, eax
je 0x565bcb
cmp eax, dword [esi]
jle 0x565bd3
mov eax, dword [esi]
mov dword [ebx + 0x8e90], eax
cmp dword [ebx + 0x2b8], 0
je 0x565c34
mov edx, dword [edi + 0x78]
cmp edx, 0x190
jl 0x565c34
cmp edx, 0x191
jne 0x565bf8
cmp dword [ecx + 0x230], 0
jne 0x565c34
cmp edx, 0x197
jne 0x565c09
cmp dword [ecx + 0x234], 0
jne 0x565c34
mov eax, dword [ebx + 0x8ec0]
or eax, dword [ebx + 0x8ec4]
je 0x5666d0
cmp dword [ebx + 0x218], 1
jne 0x5666d0
cmp edx, 0x1a0
jne 0x5666d0
mov eax, dword [esi]
cmp eax, 0xa
jne 0x565cfa
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.0055d170
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [eax + 0x220], 1
jmp 0x565d12
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.00701257
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x565ba9
push dword [edi + 0x68]
push ebx
call fcn.00566820
add esp, 8
test eax, eax
je 0x566803
mov dword [edi + 0x78], 0xc8
mov dword [esi], 0xa
jmp 0x565ba9
test eax, 0x40000
je 0x566803
lea eax, [edi + 0x78]
push eax
lea esi, [ecx + 0x11c]
push esi
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.00701257
add esp, 0x14
cmp eax, 3
jne 0x566803
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x118], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
lea esi, [ecx + 0x118]
jmp 0x565bac
cmp eax, 0xb
jl 0x565d12
cmp dword [ecx + 0x220], 0
jne 0x565d12
mov dword [ecx + 0x2dc], 1
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x565d21
sub eax, 0x64
jne 0x565d59
cmp dword [ebx + 0x208], 0
je 0x565d34
mov dword [ebx + 0x8f0c], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 0
jne 0x565e6d
cmp dword [ebx + 0x318], 0
jne 0x565e6d
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x565e6d
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.007034e8
mov ecx, dword [ebx + 0x280]
add esp, 0xc
mov esi, dword [ebx + 0x284]
or ecx, esi
je 0x565dc6
cmp edx, esi
jg 0x5666e5
jl 0x565dc6
cmp eax, dword [ebx + 0x280]
ja 0x5666e5
test edx, edx
jl 0x565e4e
jg 0x565dd4
test eax, eax
jb 0x565e4e
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.005600f0
add esp, 0xc
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x2c8], 0
mov eax, 2
mov ecx, 3
cmovne eax, ecx
cmp dword [ebx + 0x2e4], 0
mov dword [ebp + 8], eax
je 0x565e22
push esi
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.0055cff0
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push eax
push esi
call fcn.0055ce90
add esp, 0x10
test eax, eax
jne 0x56680c
mov eax, dword [edi + 0x58]
add dword [ebx + 0x8f10], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x48], eax
jmp 0x56666e
mov esi, dword [ebp + 0xc]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov dword [esi + 0x220], 1
call fcn.0055d170
add esp, 0x10
jmp 0x565ded
push 0xd
push dword [edi + 0x68]
push str.Content_Type:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x565ed5
push dword [edi + 0x68]
call fcn.005668b0
mov esi, eax
add esp, 4
test esi, esi
je 0x5666ff
cmp byte [esi], 0
jne 0x565eac
push esi
call dword [0x8057e0]
add esp, 4
jmp 0x565dea
mov eax, dword [ebx + 0x8f24]
test eax, eax
je 0x565eca
push eax
call dword [0x8057e0]
add esp, 4
mov dword [ebx + 0x8f24], 0
mov dword [ebx + 0x8f24], esi
jmp 0x565dea
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x118], 0xa
jne 0x565f20
cmp dword [esi + 0x22c], 0
je 0x565f20
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.005654a0
add esp, 0xc
test eax, eax
je 0x565f20
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov dword [esi + 0x220], 0
call fcn.0055d170
add esp, 8
jmp 0x565ded
cmp dword [esi + 0x118], 0xb
jne 0x565f68
cmp dword [esi + 0x22c], 0
je 0x565f68
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.005654a0
add esp, 0xc
test eax, eax
je 0x565f68
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov dword [esi + 0x220], 1
call fcn.0055d170
add esp, 8
jmp 0x565ded
cmp dword [esi + 0x118], 0xa
jne 0x565fa7
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.005654a0
add esp, 0xc
test eax, eax
je 0x565fa7
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov dword [esi + 0x220], 0
call fcn.0055d170
add esp, 8
jmp 0x565ded
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.005654a0
add esp, 0xc
test eax, eax
je 0x565fcf
mov dword [esi + 0x220], 1
jmp 0x565ded
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x566131
mov esi, dword [edi + 0x68]
add esi, 0x12
nop
mov al, byte [esi]
test al, al
je 0x566013
movzx eax, al
push eax
call fcn.006ffb68
add esp, 4
test eax, eax
jne 0x56600b
cmp byte [esi], 0x2c
jne 0x566013
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x565ff6
push 7
push esi
push str.chunked
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x56603f
push dword [ebp + 0xc]
mov dword [edi + 0xc8], 1
call fcn.00563290
add esp, 4
add esi, 7
cmp dword [edi + 0x88], 0
jne 0x565dea
push 8
push esi
push str.identity
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x56606f
mov dword [edi + 0x88], 0
add esi, 8
jmp 0x565ff0
push 7
push esi
push str.deflate
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x566095
mov dword [edi + 0x88], 1
add esi, 7
jmp 0x565ff0
push 4
push esi
push str.gzip
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x5660bb
mov dword [edi + 0x88], 2
add esi, 4
jmp 0x565ff0
push 6
push esi
push str.x_gzip
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x5660e1
mov dword [edi + 0x88], 2
add esi, 6
jmp 0x565ff0
push 8
push esi
push str.compress
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x566107
mov dword [edi + 0x88], 3
add esi, 8
jmp 0x565ff0
push 0xa
push esi
push str.x_compress
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x565dea
mov dword [edi + 0x88], 3
add esi, 0xa
jmp 0x565ff0
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x566234
cmp dword [ebx + 0x358], 0
je 0x566234
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x56617c
movzx eax, al
push eax
call fcn.006ffb68
add esp, 4
test eax, eax
je 0x56617c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x566164
push 8
push esi
push str.identity
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x56619f
mov dword [edi + 0x88], 0
jmp 0x565dea
push 7
push esi
push str.deflate
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x5661c2
mov dword [edi + 0x88], 1
jmp 0x565dea
push 4
push esi
push str.gzip
call fcn.0055fe70
add esp, 0xc
test eax, eax
jne 0x566225
push 6
push esi
push str.x_gzip
call fcn.0055fe70
add esp, 0xc
test eax, eax
jne 0x566225
push 8
push esi
push str.compress
call fcn.0055fe70
add esp, 0xc
test eax, eax
jne 0x566216
push 0xa
push esi
push str.x_compress
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x565dea
mov dword [edi + 0x88], 3
jmp 0x565dea
mov dword [edi + 0x88], 2
jmp 0x565dea
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x5662ab
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x56626e
movzx eax, al
push eax
call fcn.006ffae5
add esp, 4
test eax, eax
jne 0x56626e
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x566256
push 0xa
push 0
push esi
call fcn.007034e8
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8ec0]
cmp eax, dword [edi + 0x70]
jne 0x565dea
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x8ec4], edx
jne 0x565ded
mov dword [edi + 0x6c], 1
jmp 0x565ded
cmp dword [ebx + 0x438], 0
je 0x566313
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x566313
push 2
push 2
push ebx
call fcn.00560e10
mov eax, dword [esi + 0x2c4]
add esp, 0xc
test eax, eax
jne 0x5662e7
mov eax, dword [esi + 0x80]
push dword [ebx + 0x8ea8]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x438]
push ebx
call fcn.00552550
push 2
push ebx
call fcn.00560e50
add esp, 0x20
jmp 0x565ded
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x56637f
cmp dword [ebx + 0x208], 0
jne 0x56633b
cmp dword [ebx + 0x29c], 0
je 0x56637f
push 0
call fcn.00702562
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
mov dword [ebp - 0xc], edx
push eax
call fcn.00561070
add esp, 0xc
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp dword [ebx + 0x29c], 0
je 0x565ded
mov dword [ebx + 0x8f08], eax
jmp 0x565ded
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x56639f
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x5663bf
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x5663d9
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x5663d9
push dword [edi + 0x68]
push eax
push esi
call fcn.00565740
add esp, 0xc
test eax, eax
jne 0x56680c
jmp 0x565ded
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x566479
cmp eax, 0x190
jge 0x566479
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.0055fe70
add esp, 0xc
test eax, eax
je 0x566479
cmp dword [ebx + 0xd0], 0
jne 0x566479
push dword [edi + 0x68]
call fcn.005668b0
add esp, 4
test eax, eax
je 0x5666ff
cmp byte [eax], 0
jne 0x566438
push eax
call dword [0x8057e0]
add esp, 4
jmp 0x565ded
cmp dword [ebx + 0x2bc], 0
mov dword [ebx + 0xd0], eax
je 0x565ded
push eax
call dword [0x8057e8]
add esp, 4
mov dword [ebx + 0xd4], eax
test eax, eax
je 0x5666ff
push esi
call fcn.00566bc0
add esp, 4
test eax, eax
jne 0x56680c
jmp 0x565ded
mov eax, dword [esi + 0x294]
test dword [eax + 0x3c], 0x40000
je 0x565ded
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0xd
jne 0x5664a2
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x5664ae
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x5664ea
cmp eax, 0xc7
jg 0x5664ea
cmp dword [edi + 0x84], 0
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], 0
je 0x566549
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x566549
mov eax, dword [edi]
and eax, dword [edi + 4]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x566549
cmp dword [edi + 0xc8], 0
jne 0x566549
cmp dword [esi + 0x220], 0
jne 0x566549
cmp dword [esi + 0x118], 0xb
jl 0x566549
mov eax, dword [esi + 0x294]
test dword [eax + 0x3c], 0x40000
jne 0x566549
cmp dword [ebx + 0x218], 5
je 0x566549
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.0055d170
add esp, 8
mov dword [esi + 0x220], 1
push esi
call fcn.00566d70
add esp, 4
test eax, eax
jne 0x5667ae
cmp dword [ebx + 0x2c8], eax
mov ecx, 2
mov edx, dword [edi + 0x68]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x55c]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp + 8], edx
call fcn.0055ce90
add esp, 0x10
test eax, eax
jne 0x56680c
mov eax, dword [ebp + 8]
add dword [ebx + 0x48], eax
add dword [ebx + 0x8f10], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x48]
cmp eax, 0x64
jl 0x5665ad
cmp eax, 0xc7
jle 0x5665af
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x4c], ecx
cmp dword [eax], 0
jne 0x566664
push esi
call fcn.00565570
add esp, 4
test eax, eax
jne 0x56680c
cmp dword [edi + 0x78], 0x12c
jl 0x566643
cmp dword [esi + 0x258], eax
jne 0x566643
cmp dword [esi + 0x220], eax
jne 0x566643
cmp dword [esi + 0x25c], eax
jne 0x56664c
mov eax, dword [ebx + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x566643
cmp dword [edi + 0xac], 0
jne 0x566643
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.0055d170
mov dword [esi + 0x220], 1
add esp, 8
and dword [edi + 0xa8], 0xfffffffd
mov dword [edi + 0xac], 1
cmp dword [ebx + 0x8e94], 0
je 0x566643
mov dword [edi + 0x84], 3
cmp dword [esi + 0x25c], 0
je 0x566661
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.0055d170
add esp, 8
or dword [edi + 0xa8], 2
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x48], 0
je 0x56670b
mov eax, dword [ebx + 0x55c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x58], 0
cmp dword [eax], 0
jne 0x56680a
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
jne 0x565ac0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x48], 0
cmp dword [eax], 0
je 0x5666be
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x4c], 2
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00567020
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 ebx
call fcn.0055d0d0
add esp, 8
mov eax, 0x3f
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
cmp dword [ebx + 0x2d4], 0
je 0x56671c
mov dword [eax], 1
jmp 0x566740
cmp dword [edi + 0xc8], 0
je 0x566740
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x56674e
cmp eax, ecx
je 0x566764
push eax
push ecx
push ebx
call fcn.005600f0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x56677b
cmp dword [edi + 0x14], 0
jne 0x56677b
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x566783
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x56678a
and dword [edi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x2e4], 0
je 0x56680a
push esi
push dword [ebp + 8]
push dword [edi + 0x60]
push 1
push ebx
call fcn.0055cff0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.0055d0d0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [eax]
push edi
push ebx
call fcn.00566a00
add esp, 0xc
test eax, eax
jne 0x56680c
cmp dword [edi + 0x50], eax
jne 0x56680a
cmp dword [edi + 0x58], 5
jbe 0x56680a
push dword [ebx + 0x55c]
push dword [ebp + 0xc]
push ebx
call fcn.00566890
add esp, 0xc
test eax, eax
jne 0x56680a
mov dword [edi + 0x4c], 2
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret