Function at 0x4ceec4
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 esi, [ebx + 0x18]
mov eax, dword [esi + 0x5c]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
push dword [edi]
push 0xa
push eax
call fcn.004a1a10
add esp, 0xc
test eax, eax
mov dword [esi + 0x64], eax
je 0x4cf865
sub eax, dword [esi + 0x5c]
inc eax
sub dword [edi], eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.004cd748
test eax, eax
pop ecx
jne 0x4cf996
mov eax, dword [esi + 0x54]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x524]
xor edx, edx
cmp dword [esi + 0x50], edx
mov dword [esi + 0x68], eax
jne 0x4cef4a
cmp dword [esi + 0x58], 5
jbe 0x4cef4a
push dword [ebx + 0x524]
mov eax, ebx
call fcn.004cd743
test eax, eax
pop ecx
je 0x4cf8ad
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4cf6ee
cmp cl, 0xd
je 0x4cf6f3
mov ecx, dword [esi + 0x50]
cmp ecx, edx
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
jne 0x4cf175
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x30]
test cl, 1
je 0x4cf012
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x78]
push edi
add ecx, 0x114
push ecx
lea ecx, [ebp - 4]
push ecx
push str._HTTP__d._d__3d
push eax
call fcn.004a2eb3
add esp, 0x14
cmp eax, 3
jne 0x4cefba
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
imul ecx, ecx, 0xa
add dword [eax + 0x114], ecx
jmp 0x4cf06f
push edi
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.004a2eb3
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
add eax, 0x114
add esp, 0xc
cmp dword [ebp + 8], 0
mov dword [eax], 0xa
jne 0x4cf06c
push dword [esi + 0x68]
mov eax, ebx
call fcn.004cd6ed
test eax, eax
pop ecx
je 0x4cf062
mov eax, dword [ebp + 0xc]
add eax, 0x114
mov dword [edi], 0xc8
mov dword [ebp + 8], 1
mov dword [eax], 0xa
jmp 0x4cf062
test ecx, 0x40000
je 0x4cf8d3
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x78]
push edi
add ecx, 0x118
push ecx
lea ecx, [ebp - 8]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.004a2eb3
add esp, 0x14
cmp eax, 3
jne 0x4cf05e
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
imul ecx, ecx, 0xa
add dword [eax + 0x118], ecx
mov dword [eax + 0x114], 0xb
jmp 0x4cf06f
and dword [ebp + 8], 0
cmp dword [ebp + 8], 0
je 0x4cf8d3
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi]
mov dword [ebx + 0x8674], ecx
mov ecx, dword [eax + 0x114]
mov dword [ebx + 0x867c], ecx
lea ecx, [ebx + 0x860c]
mov edx, dword [ecx]
test edx, edx
je 0x4cf097
cmp edx, dword [eax + 0x114]
jle 0x4cf09f
mov edx, dword [eax + 0x114]
mov dword [ecx], edx
xor edx, edx
cmp dword [ebx + 0x2b0], edx
je 0x4cf0fe
mov ecx, dword [edi]
cmp ecx, 0x190
jl 0x4cf0fe
cmp ecx, 0x191
jne 0x4cf0c3
cmp dword [eax + 0x1c4], edx
jne 0x4cf0fe
cmp ecx, 0x197
jne 0x4cf0d3
cmp dword [eax + 0x1c8], edx
jne 0x4cf0fe
mov edx, dword [ebx + 0x8638]
or edx, dword [ebx + 0x863c]
je 0x4cf8f1
cmp dword [ebx + 0x210], 1
jne 0x4cf8f1
cmp ecx, 0x1a0
jne 0x4cf8f1
mov ecx, dword [eax + 0x114]
cmp ecx, 0xa
jne 0x4cf125
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.004c717e
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [eax + 0x1b4], 1
jmp 0x4cf13d
cmp ecx, 0xb
jl 0x4cf13d
cmp dword [eax + 0x1b4], 0
jne 0x4cf13d
mov dword [eax + 0x268], 1
mov edi, dword [edi]
sub edi, 0xcc
je 0x4cf14c
sub edi, 0x64
jne 0x4cf175
xor eax, eax
cmp dword [ebx + 0x200], eax
je 0x4cf160
mov dword [ebx + 0x8684], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x4cf229
cmp dword [ebx + 0x30c], 0
jne 0x4cf229
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf229
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004a9f5c
mov edi, dword [ebx + 0x278]
mov ecx, dword [ebx + 0x27c]
add esp, 0xc
or edi, ecx
je 0x4cf1e2
cmp edx, ecx
jg 0x4cf8dc
jl 0x4cf1e2
cmp eax, dword [ebx + 0x278]
ja 0x4cf8dc
test edx, edx
jl 0x4cf207
jg 0x4cf1ec
test eax, eax
jb 0x4cf207
push edx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.004cab16
add esp, 0xc
jmp 0x4cf68a
mov ecx, dword [ebp + 0xc]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov dword [ecx + 0x1b4], 1
call fcn.004c717e
add esp, 0x10
jmp 0x4cf68a
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf274
push dword [esi + 0x68]
call fcn.004ccb52
test eax, eax
pop ecx
mov dword [ebp + 8], eax
je 0x4cf8ed
cmp byte [eax], 0
je 0x4cf64c
lea edi, [ebx + 0x869c]
push dword [edi]
call fcn.004bf840
mov eax, dword [ebp + 8]
pop ecx
mov dword [edi], eax
jmp 0x4cf68a
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x114], 0xa
jne 0x4cf2a9
cmp dword [edi + 0x1c0], 0
je 0x4cf2a9
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.004cd49b
add esp, 0xc
test eax, eax
je 0x4cf2a9
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x4cf30c
cmp dword [edi + 0x114], 0xb
jne 0x4cf2e5
cmp dword [edi + 0x1c0], 0
je 0x4cf2e5
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.004cd49b
add esp, 0xc
test eax, eax
je 0x4cf2e5
mov dword [edi + 0x1b4], 1
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x4cf313
cmp dword [edi + 0x114], 0xa
jne 0x4cf31f
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.004cd49b
add esp, 0xc
test eax, eax
je 0x4cf31f
push str.HTTP_1.0_connection_set_to_keep_alive__n
and dword [edi + 0x1b4], 0
push ebx
call fcn.004c717e
pop ecx
jmp 0x4cf653
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.004cd49b
add esp, 0xc
test eax, eax
je 0x4cf347
mov dword [edi + 0x1b4], 1
jmp 0x4cf68a
push str.chunked
push str.Transfer_Encoding:
push dword [esi + 0x68]
call fcn.004cd49b
add esp, 0xc
test eax, eax
je 0x4cf37e
test dword [edi + 0x30], 0x40000
jne 0x4cf37e
push edi
mov dword [esi + 0xc8], 1
call fcn.004d2812
jmp 0x4cf653
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf477
cmp dword [ebx + 0x348], 0
je 0x4cf477
mov edi, dword [esi + 0x68]
add edi, 0x11
jmp 0x4cf3bc
movzx eax, al
push eax
call fcn.004a12b2
test eax, eax
pop ecx
je 0x4cf3c2
inc edi
mov al, byte [edi]
test al, al
jne 0x4cf3ad
push 8
push edi
push str.identity
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf3e2
and dword [esi + 0x88], 0
jmp 0x4cf68a
push 7
push edi
push str.deflate
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf405
mov dword [esi + 0x88], 1
jmp 0x4cf68a
push 4
push edi
push str.gzip
call fcn.004c8110
add esp, 0xc
test eax, eax
jne 0x4cf468
push 6
push edi
push str.x_gzip
call fcn.004c8110
add esp, 0xc
test eax, eax
jne 0x4cf468
push 8
push edi
push str.compress
call fcn.004c8110
add esp, 0xc
test eax, eax
jne 0x4cf459
push 0xa
push edi
push str.x_compress
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf68a
mov dword [esi + 0x88], 3
jmp 0x4cf68a
mov dword [esi + 0x88], 2
jmp 0x4cf68a
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf4e6
mov edi, dword [esi + 0x68]
add edi, 0xe
jmp 0x4cf4a4
movzx eax, al
push eax
call fcn.004a11bb
test eax, eax
pop ecx
jne 0x4cf4aa
inc edi
mov al, byte [edi]
test al, al
jne 0x4cf495
push 0xa
push 0
push edi
call fcn.004a9f5c
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x8638]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x4cf68a
mov eax, dword [ebx + 0x863c]
cmp eax, edx
jne 0x4cf68a
mov dword [esi + 0x6c], 1
jmp 0x4cf68a
cmp dword [ebx + 0x408], 0
je 0x4cf54b
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf54b
push 2
push 2
push ebx
call fcn.004cc210
mov eax, dword [edi + 0x254]
add esp, 0xc
test eax, eax
jne 0x4cf51f
mov eax, dword [edi + 0x7c]
push dword [ebx + 0x8624]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x408]
push ebx
call fcn.004c6030
push 2
push ebx
call fcn.004cc249
add esp, 0x20
jmp 0x4cf68a
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf5b7
cmp dword [ebx + 0x200], 0
jne 0x4cf573
cmp dword [ebx + 0x294], 0
je 0x4cf5b7
push 0
call fcn.0049ed88
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xe
push eax
mov dword [ebp - 0xc], edx
call fcn.004d38e9
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebx + 0x294], 0
je 0x4cf68a
mov dword [ebx + 0x8680], eax
jmp 0x4cf68a
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf5d7
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4cf5f7
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf606
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4cf606
push dword [esi + 0x68]
push eax
push edi
call fcn.004cd023
add esp, 0xc
jmp 0x4cf682
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4cf68a
cmp eax, 0x190
jge 0x4cf68a
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.004c8110
add esp, 0xc
test eax, eax
je 0x4cf68a
cmp dword [ebx + 0xd0], 0
jne 0x4cf68a
push dword [esi + 0x68]
call fcn.004ccb52
test eax, eax
pop ecx
je 0x4cf8ed
cmp byte [eax], 0
jne 0x4cf656
push eax
call dword [0x60c85c]
pop ecx
jmp 0x4cf68a
cmp dword [ebx + 0x2b4], 0
mov dword [ebx + 0xd0], eax
je 0x4cf68a
push eax
call dword [0x60c864]
test eax, eax
pop ecx
mov dword [ebx + 0xd4], eax
je 0x4cf8ed
push edi
call fcn.004cccf3
pop ecx
test eax, eax
jne 0x4cf996
cmp dword [ebx + 0x2bc], 0
push 2
pop edi
je 0x4cf699
push 3
pop edi
cmp dword [ebx + 0x2d8], 0
je 0x4cf6b6
push dword [ebp + 0xc]
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.004c70c2
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push edi
push dword [ebp + 0xc]
call fcn.004c73a5
add esp, 0x10
test eax, eax
jne 0x4cf996
mov eax, dword [esi + 0x58]
add dword [ebx + 0x8688], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x524]
and dword [esi + 0x58], 0
jmp 0x4cf845
cmp cl, 0xd
jne 0x4cf6f7
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4cf703
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4cf731
cmp eax, 0xc7
jg 0x4cf731
lea eax, [esi + 0x84]
cmp dword [eax], edx
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
je 0x4cf77d
or dword [esi + 0xa8], 2
mov dword [eax], edx
jmp 0x4cf77d
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x4cf77d
cmp dword [esi + 0xc8], edx
jne 0x4cf77d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1b4], edx
jne 0x4cf77d
cmp dword [eax + 0x114], 0xb
jl 0x4cf77d
test dword [eax + 0x30], 0x40000
jne 0x4cf77d
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.004c717e
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [eax + 0x1b4], 1
cmp dword [esi + 0x78], 0x1a1
jne 0x4cf797
and dword [esi + 0xa8], 0xfffffffd
mov dword [esi + 0x84], 3
push dword [ebp + 0xc]
call fcn.004cd120
test eax, eax
pop ecx
jne 0x4cf8f1
cmp dword [ebx + 0x2bc], eax
push 2
pop ecx
je 0x4cf7b6
push 3
pop ecx
mov eax, dword [ebx + 0x524]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push dword [ebp + 0xc]
call fcn.004c73a5
add esp, 0x10
test eax, eax
jne 0x4cf996
add dword [ebx + 0x48], edi
add dword [ebx + 0x8688], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebx + 0x48]
jl 0x4cf7f2
cmp eax, 0xc7
jle 0x4cf7f4
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x4c], ecx
cmp dword [eax], 0
jne 0x4cf831
push dword [ebp + 0xc]
call fcn.004cd7ee
test eax, eax
pop ecx
jne 0x4cf996
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp dword [eax + 0x1f0], edx
je 0x4cf833
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.004c717e
or dword [esi + 0xa8], 2
pop ecx
pop ecx
xor edx, edx
cmp dword [esi + 0x48], edx
je 0x4cf90a
mov eax, dword [ebx + 0x524]
mov dword [esi + 0x58], edx
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4cf994
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
je 0x4cf994
jmp 0x4ceed3
push dword [edi]
call fcn.004cd748
test eax, eax
pop ecx
jne 0x4cf996
cmp dword [esi + 0x50], eax
jne 0x4cf994
cmp dword [esi + 0x58], 5
jbe 0x4cf994
push dword [ebx + 0x524]
mov eax, ebx
call fcn.004cd743
test eax, eax
pop ecx
jne 0x4cf994
and dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
jmp 0x4cf994
and dword [esi + 0x48], 0
cmp dword [edi], 0
je 0x4cf8c2
mov dword [esi + 0x4c], 1
jmp 0x4cf994
mov eax, dword [ebp + 8]
mov dword [esi + 0x4c], 2
mov dword [edi], eax
jmp 0x4cf994
and dword [esi + 0x48], 0
jmp 0x4cf994
push str.Maximum_file_size_exceeded
push ebx
call fcn.004c71f1
pop ecx
pop ecx
push 0x3f
jmp 0x4cf904
push 0x1b
jmp 0x4cf904
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.004c71f1
add esp, 0xc
push 0x16
pop eax
jmp 0x4cf996
cmp dword [ebx + 0x2c8], edx
je 0x4cf91d
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x4cf933
cmp dword [esi + 0xc8], edx
je 0x4cf933
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]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
jne 0x4cf941
cmp ecx, eax
je 0x4cf959
push ecx
push eax
push ebx
call fcn.004cab16
mov eax, dword [esi]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x14], eax
xor edx, edx
cmp dword [esi + 0x10], edx
jne 0x4cf96c
cmp dword [esi + 0x14], edx
jne 0x4cf96c
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
je 0x4cf97a
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x2d8], edx
je 0x4cf994
push dword [ebp + 0xc]
push edi
push dword [esi + 0x60]
push 1
push ebx
call fcn.004c70c2
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret