Function at 0xa89fd0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push 0x11
push str.WWW_Authenticate:
push esi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa89ffd
mov eax, dword [edi + 0xe0]
cmp eax, 0x191
je 0xa8a01e
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa8a062
mov eax, dword [edi + 0xe0]
cmp eax, 0x197
jne 0xa8a062
xor ebx, ebx
cmp eax, 0x197
push esi
sete bl
call fcn.00a587a0
mov esi, eax
add esp, 4
test esi, esi
jne 0xa8a03f
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebx
pop ebp
ret
push esi
push ebx
push edi
call fcn.00a5a360
push esi
mov edi, eax
call dword [0xada7ac]
add esp, 0x10
test edi, edi
je 0xa8a220
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xf
push str.Content_Length:
push esi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa8a0c8
mov ecx, dword [edi + 0xe0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0xa8a0a8
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00a4f8f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
add eax, 0x208
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.00a61670
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.00a586f0
add esp, 0x14
test eax, eax
jne 0xa8a18f
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa8a174
mov ecx, dword [edi + 0xe0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0xa8a12d
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00a4f8f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00a586f0
add esp, 0x14
test eax, eax
je 0xa8a220
push str.CONNECT_responded_chunked
push edi
call fcn.00a4f8f0
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax + 0x214], 1
call fcn.00a80ff0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.00a586f0
add esp, 0x14
test eax, eax
je 0xa8a1a3
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax + 0x218], 1
xor eax, eax
pop ebx
pop ebp
ret
push 7
push str.HTTP_1.
push esi
call fcn.00a8e3f0
add esp, 0xc
test eax, eax
jne 0xa8a220
mov al, byte [esi + 7]
cmp al, 0x30
je 0xa8a1c2
cmp al, 0x31
jne 0xa8a220
cmp byte [esi + 8], 0x20
jne 0xa8a220
mov al, byte [esi + 9]
cmp al, 0x30
jl 0xa8a220
cmp al, 0x39
jg 0xa8a220
mov dl, byte [esi + 0xa]
cmp dl, 0x30
jl 0xa8a220
cmp dl, 0x39
jg 0xa8a220
mov bl, byte [esi + 0xb]
cmp bl, 0x30
jl 0xa8a220
cmp bl, 0x39
jg 0xa8a220
mov cl, byte [esi + 0xc]
cmp cl, 0x30
jl 0xa8a1fa
cmp cl, 0x39
jle 0xa8a220
movsx eax, al
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, bl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [edi + 0xe0], eax
mov dword [edi + 0xed4], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret