Function at 0x4ccbe0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x24]
cmp dword [esi + 0x14c], ebp
jne 0x4cccd0
cmp dword [esi + 0x7f8], ebp
jne 0x4cccd0
push 0xf
push edi
push str.Content_Length:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cccd0
lea eax, [esp + 0x10]
push eax
push 0xa
push ebp
add edi, 0xf
push edi
call fcn.004e3650
add esp, 0x10
cmp eax, ebp
jne 0x4ccc63
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x80], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ecx
mov dword [esi + 0x8c], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x4cccb5
mov ecx, dword [esi + 0x568]
or ecx, dword [esi + 0x56c]
je 0x4ccc91
push str.Maximum_file_size_exceeded
push esi
call fcn.004c8260
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x20]
push 2
push edx
call fcn.004c5b70
push str.Overflow_Content_Length:_value_
push esi
call fcn.004c81e0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004c8260
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 8
ret
push 0xd
push edi
push str.Content_Type:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4ccd39
push edi
call fcn.004c99a0
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x4ccd00
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x4ccd19
push edi
call dword [0x6434cc]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0c]
push eax
call dword [0x6434cc]
add esp, 4
mov dword [esi + 0xf0c], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x20]
cmp byte [ebx + 0x114], 0xa
jne 0x4ccd84
cmp dword [ebx + 0x27c], ebp
je 0x4ccd84
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.004ca730
add esp, 0xc
test eax, eax
je 0x4ccd84
push ebp
push ebx
call fcn.004c5b70
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
push esi
call fcn.004c81e0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xb
jne 0x4ccdcc
cmp dword [ebx + 0x27c], ebp
je 0x4ccdcc
push 0x5d4e78
push str.Proxy_Connection:
push edi
call fcn.004ca730
add esp, 0xc
test eax, eax
je 0x4ccdcc
push 1
push ebx
call fcn.004c5b70
push str.HTTP_1.1_proxy_connection_set_close_
push esi
call fcn.004c81e0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xa
jne 0x4cce0b
push str.keep_alive
push str.Connection:
push edi
call fcn.004ca730
add esp, 0xc
test eax, eax
je 0x4cce0b
push ebp
push ebx
call fcn.004c5b70
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.004c81e0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0x5d4e78
push str.Connection:
push edi
call fcn.004ca730
add esp, 0xc
test eax, eax
je 0x4cce37
push 2
push ebx
call fcn.004c5b70
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebp
jne 0x4ccedb
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cce99
push 1
add edi, 0x12
push edi
push esi
call fcn.004be770
add esp, 0xc
cmp eax, ebp
jne 0x4cd3a9
cmp dword [esi + 0x150], ebp
jne 0x4cd3a7
push 1
push ebx
call fcn.004c5b70
add esp, 8
pop edi
mov dword [esi + 0x154], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebp
jne 0x4ccedb
push 0x11
push edi
push str.Content_Encoding:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4ccedb
cmp dword [esi + 0x5c0], ebp
je 0x4ccedb
push ebp
add edi, 0x11
push edi
push esi
call fcn.004be770
add esp, 0xc
cmp eax, ebp
je 0x4cd3a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xc
push edi
push str.Retry_After:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4ccf66
xor eax, eax
lea ebx, [edi + 0xc]
push ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.004e3210
mov edi, eax
add esp, 4
mov ebp, edx
cmp edi, 0xffffffff
jne 0x4ccf42
cmp ebp, eax
jne 0x4ccf42
lea ecx, [esp + 0x10]
push ecx
push 0xa
push 0
push ebx
call fcn.004e3650
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
add esp, 0x10
mov dword [esi + 0xf18], edi
pop edi
mov dword [esi + 0xf1c], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
call fcn.004f3208
add esp, 4
sub edi, eax
sbb ebp, edx
mov dword [esi + 0xf18], edi
pop edi
mov dword [esi + 0xf1c], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebp
jne 0x4cd021
push 0xe
push edi
push str.Content_Range:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd021
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x4ccfb1
movzx edx, al
push edx
call fcn.004ce7b0
add esp, 4
test eax, eax
jne 0x4ccfb1
cmp byte [edi], 0x2a
je 0x4ccfb1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ccf94
movzx eax, byte [edi]
push eax
call fcn.004ce7b0
add esp, 4
test eax, eax
je 0x4cd00b
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push ebp
push edi
call fcn.004e3650
add esp, 0x10
test eax, eax
jne 0x4cd3a7
mov ecx, dword [esi + 0xda0]
cmp ecx, dword [ebx]
jne 0x4cd3a7
mov edx, dword [esi + 0xda4]
cmp edx, dword [ebx + 4]
jne 0x4cd3a7
pop edi
mov dword [esi + 0x140], 1
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0xda0], ebp
mov dword [esi + 0xda4], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x860], ebp
je 0x4cd124
cmp dword [esi + 0xe98], ebp
je 0x4cd124
push 0xb
push edi
push str.Set_Cookie:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd124
mov eax, dword [esi + 0xe40]
cmp eax, ebp
mov ebp, eax
jne 0x4cd060
mov ebp, dword [ebx + 0x64]
mov eax, dword [ebx + 0x330]
test byte [eax + 0x44], 2
jne 0x4cd0e2
push ebp
push str.localhost
call fcn.004be2b0
add esp, 8
test eax, eax
jne 0x4cd0e2
mov ecx, str.127.0.0.1
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cd0a5
test dl, dl
je 0x4cd0a1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cd0a5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4cd085
xor eax, eax
jmp 0x4cd0aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4cd0e2
mov ecx, str._::1_
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cd0d5
test dl, dl
je 0x4cd0d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cd0d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4cd0b5
xor eax, eax
jmp 0x4cd0da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4cd0e2
xor ebx, ebx
jmp 0x4cd0e7
mov ebx, 1
push 2
push 2
push esi
call fcn.004be450
mov ecx, dword [esi + 0xdf0]
mov edx, dword [esi + 0x860]
push ebx
push ecx
push ebp
add edi, 0xb
push edi
push 0
push 1
push edx
push esi
call fcn.004bd0f0
push 2
push esi
call fcn.004be490
add esp, 0x34
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebp
jne 0x4cd190
push 0xe
push edi
push str.Last_Modified:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd190
cmp dword [esi + 0x40c], ebp
jne 0x4cd150
cmp dword [esi + 0x78c], ebp
je 0x4cd190
add edi, 0xe
push edi
call fcn.004e3210
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp dword [esi + 0x78c], ebp
je 0x4cd3a7
mov dword [esi + 0xee8], eax
mov ecx, dword [esi + 0x11c]
pop edi
mov dword [esi + 0xeec], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd1b1
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x4cd1d2
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd215
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x4cd215
xor ebx, ebx
cmp eax, 0x197
push edi
sete bl
call fcn.004c99a0
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x4cccf3
push edi
push ebx
push esi
call fcn.004ca110
push edi
mov esi, eax
call dword [0x6434cc]
add esp, 0x10
cmp esi, ebp
je 0x4cd3a7
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x4cd2b6
cmp eax, 0x190
jge 0x4cd2b6
push 9
push edi
push str.Location:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd2b6
cmp dword [esi + 0x124], ebp
jne 0x4cd2b6
push edi
call fcn.004c99a0
add esp, 4
cmp eax, ebp
je 0x4cccf3
cmp byte [eax], 0
jne 0x4cd277
push eax
call dword [0x6434cc]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov dword [esi + 0x124], eax
cmp dword [esi + 0x7c0], ebp
je 0x4cd3a7
push eax
call dword [0x6434d4]
add esp, 4
mov dword [esi + 0x128], eax
cmp eax, ebp
je 0x4cccf3
call fcn.004c9c80
test eax, eax
je 0x4cd3a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x864], ebp
je 0x4cd318
push 0x1a
push edi
push str.Strict_Transport_Security:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd318
mov edx, dword [ebx + 0x330]
test byte [edx + 0x4c], 1
je 0x4cd318
mov eax, dword [esi + 0xddc]
mov ecx, dword [esi + 0x864]
add edi, 0x1a
push edi
push eax
push ecx
call fcn.004b8ee0
add esp, 0xc
test eax, eax
je 0x4cd3a7
push str.Illegal_STS_header_skipped
push esi
call fcn.004c81e0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x868], ebp
je 0x4cd38a
push 8
push edi
push str.Alt_Svc:
call fcn.004be440
add esp, 0xc
test eax, eax
je 0x4cd38a
mov edx, dword [ebx + 0x330]
test byte [edx + 0x4c], 1
je 0x4cd38a
mov ecx, dword [ebx + 0xc8]
xor eax, eax
cmp byte [ebx + 0x114], 0x14
push ecx
sete al
lea eax, [eax*8 + 8]
mov ebp, eax
call fcn.004be8c0
mov ecx, dword [esi + 0x868]
movzx edx, ax
mov eax, dword [ebx + 0x64]
push edx
push eax
push ebp
add edi, 8
push edi
push ecx
push esi
call fcn.004b8150
add esp, 0x1c
test eax, eax
je 0x4cd3a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [ebx + 0x330]
test dword [edx + 0x44], 0x40000
je 0x4cd3a7
push edi
push esi
call fcn.004d06e0
add esp, 8
cmp eax, ebp
jne 0x4cd3a9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret