Function at 0xa78200
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.00a41650
add esp, 0xc
test eax, eax
je 0xa7822d
mov eax, dword [edi + 0xe0]
cmp eax, 0x191
je 0xa7824e
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa78292
mov eax, dword [edi + 0xe0]
cmp eax, 0x197
jne 0xa78292
xor ebx, ebx
cmp eax, 0x197
push esi
sete bl
call fcn.00a469c0
mov esi, eax
add esp, 4
test esi, esi
jne 0xa7826f
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebx
pop ebp
ret
push esi
push ebx
push edi
call fcn.00a48580
push esi
mov edi, eax
call dword [0xac87ac]
add esp, 0x10
test edi, edi
je 0xa78450
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xf
push str.Content_Length:
push esi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa782f8
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 0xa782d8
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00a3db10
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.00a4f8a0
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.00a46910
add esp, 0x14
test eax, eax
jne 0xa783bf
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa783a4
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 0xa7835d
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00a3db10
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.00a46910
add esp, 0x14
test eax, eax
je 0xa78450
push str.CONNECT_responded_chunked
push edi
call fcn.00a3db10
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax + 0x214], 1
call fcn.00a6f220
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.00a46910
add esp, 0x14
test eax, eax
je 0xa783d3
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.00a7c620
add esp, 0xc
test eax, eax
jne 0xa78450
mov al, byte [esi + 7]
cmp al, 0x30
je 0xa783f2
cmp al, 0x31
jne 0xa78450
cmp byte [esi + 8], 0x20
jne 0xa78450
mov al, byte [esi + 9]
cmp al, 0x30
jl 0xa78450
cmp al, 0x39
jg 0xa78450
mov dl, byte [esi + 0xa]
cmp dl, 0x30
jl 0xa78450
cmp dl, 0x39
jg 0xa78450
mov bl, byte [esi + 0xb]
cmp bl, 0x30
jl 0xa78450
cmp bl, 0x39
jg 0xa78450
mov cl, byte [esi + 0xc]
cmp cl, 0x30
jl 0xa7842a
cmp cl, 0x39
jle 0xa78450
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