Function at 0xd23750
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, edx
mov edx, str.WWW_Authenticate:
push 0x11
call fcn.00cef910
add esp, 4
test eax, eax
je 0xd23781
mov eax, dword [edi + 0xe0]
mov dword [ebp - 4], eax
cmp eax, 0x191
je 0xd237a6
push 0x13
mov edx, str.Proxy_authenticate:
mov ecx, esi
call fcn.00cef910
add esp, 4
test eax, eax
je 0xd237ef
mov eax, dword [edi + 0xe0]
mov dword [ebp - 4], eax
cmp eax, 0x197
jne 0xd237ef
mov ecx, esi
call fcn.00cfa0a0
mov esi, eax
test esi, esi
jne 0xd237bd
lea eax, [esi + 0x1b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], 0x197
mov ecx, edi
push esi
sete dl
call fcn.00cfaad0
add esp, 4
mov edi, eax
push esi
call dword [0xd93ddc]
add esp, 4
test edi, edi
je 0xd2399e
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
mov edx, str.Content_Length:
mov ecx, esi
call fcn.00cef910
add esp, 4
test eax, eax
je 0xd2384e
mov ecx, dword [edi + 0xe0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0xd2382d
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00cedeb0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xf]
add eax, 0x208
xor edx, edx
push eax
push 0xa
call fcn.00d05480
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0xb
mov edx, str.Connection:
mov ecx, esi
call fcn.00cfb1b0
add esp, 0xc
test al, al
jne 0xd23994
push 0x12
mov edx, str.Transfer_Encoding:
mov ecx, esi
call fcn.00cef910
add esp, 4
test eax, eax
je 0xd238f4
mov ecx, dword [edi + 0xe0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0xd238ac
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00cedeb0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 7
push str.chunked
push 0x12
mov edx, str.Transfer_Encoding:
mov ecx, esi
call fcn.00cfb1b0
add esp, 0xc
test al, al
je 0xd2399e
push str.CONNECT_responded_chunked
push edi
call fcn.00cedeb0
mov eax, dword [ebp + 8]
add esp, 8
mov ecx, edi
mov byte [eax + 0x214], 1
call fcn.00d1b790
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0x11
mov edx, str.Proxy_Connection:
mov ecx, esi
call fcn.00cfb1b0
add esp, 0xc
test al, al
jne 0xd23994
push 7
push str.HTTP_1.
push esi
call fcn.00d3b120
add esp, 0xc
test eax, eax
jne 0xd2399e
mov al, byte [esi + 7]
cmp al, 0x30
je 0xd23933
cmp al, 0x31
jne 0xd2399e
cmp byte [esi + 8], 0x20
jne 0xd2399e
mov cl, byte [esi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0xd2399e
mov dl, byte [esi + 0xa]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0xd2399e
mov bl, byte [esi + 0xb]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0xd2399e
mov al, byte [esi + 0xc]
cmp al, 0x30
jl 0xd23965
cmp al, 0x39
jle 0xd2399e
movsx eax, cl
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 + 0xd6c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov byte [eax + 0x215], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret