Function at 0x483100
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0x88
mov dword [ebp - 8], eax
push 0x11
push str.WWW_Authenticate:
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00438a90
add esp, 0xc
test eax, eax
je 0x483156
mov edx, dword [ebp - 8]
cmp dword [edx + 0x50], 0x191
je 0x483181
push 0x13
push str.Proxy_authenticate:
mov eax, dword [ebp + 0x14]
push eax
call fcn.00438a90
add esp, 0xc
test eax, eax
je 0x483232
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x50], 0x197
jne 0x483232
mov edx, dword [ebp - 8]
cmp dword [edx + 0x50], 0x197
jne 0x483196
mov dword [ebp - 0x14], 1
jmp 0x48319d
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x4831ac
mov dword [ebp - 0x18], 0
jmp 0x4831b3
mov dword [ebp - 0x18], 1
mov al, byte [ebp - 0x18]
mov byte [ebp - 9], al
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00440c50
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4831d8
mov eax, 0x1b
jmp 0x48350f
mov edx, dword [ebp + 0x14]
push edx
push str.CONNECT:_fwd_auth_header__s
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e9f0
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
movzx eax, byte [ebp - 9]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00445b20
add esp, 0xc
mov dword [ebp - 4], eax
mov esi, esp
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
cmp dword [ebp - 4], 0
je 0x48322d
mov eax, dword [ebp - 4]
jmp 0x48350f
jmp 0x48350c
push 0xf
push 0x4b6308
mov eax, dword [ebp + 0x14]
push eax
call fcn.00438a90
add esp, 0xc
test eax, eax
je 0x4832a2
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x50]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x483276
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
push eax
push str.Ignoring_Content_Length_in_CONNECT__03d_response
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e8d0
add esp, 0xc
jmp 0x48329d
mov edx, dword [ebp + 0x10]
add edx, 0x80
push edx
push 0xa
push 0
push str.Content_Length:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, dword [ebp + 0x14]
push eax
call fcn.0044e2b0
add esp, 0x10
jmp 0x48350c
push 5
push 0x4b635c
push 0xb
push str.Connection:
mov eax, dword [ebp + 0x14]
push eax
call fcn.00440b20
add esp, 0x14
movzx ecx, al
test ecx, ecx
je 0x4832d2
mov edx, dword [ebp + 0x10]
mov byte [edx + 0x8d], 1
jmp 0x48350c
push 0x12
push 0x4b6370
mov eax, dword [ebp + 0x14]
push eax
call fcn.00438a90
add esp, 0xc
test eax, eax
je 0x483363
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x50]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x483316
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
push eax
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e8d0
add esp, 0xc
jmp 0x48335e
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
mov edx, dword [ebp + 0x14]
push edx
call fcn.00440b20
add esp, 0x14
movzx eax, al
test eax, eax
je 0x48335e
push str.CONNECT_responded_chunked
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e8d0
add esp, 8
mov edx, dword [ebp + 0x10]
mov byte [edx + 0x8c], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048a470
add esp, 4
jmp 0x48350c
push 5
push 0x4b63f0
push 0x11
push str.Proxy_Connection:
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00440b20
add esp, 0x14
movzx edx, al
test edx, edx
je 0x483393
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x8d], 1
jmp 0x48350c
mov esi, esp
push 7
push str.HTTP_1.
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
test eax, eax
jne 0x48350c
mov edx, 1
imul eax, edx, 7
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx + eax]
cmp edx, 0x30
je 0x4833e4
mov eax, 1
imul ecx, eax, 7
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + ecx]
cmp eax, 0x31
jne 0x48350c
mov ecx, 1
shl ecx, 3
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + ecx]
cmp eax, 0x20
jne 0x48350c
mov ecx, 1
imul edx, ecx, 9
mov eax, dword [ebp + 0x14]
movsx ecx, byte [eax + edx]
cmp ecx, 0x30
jl 0x48350c
mov edx, 1
imul eax, edx, 9
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx + eax]
cmp edx, 0x39
jg 0x48350c
mov eax, 1
imul ecx, eax, 0xa
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x48350c
mov ecx, 1
imul edx, ecx, 0xa
mov eax, dword [ebp + 0x14]
movsx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x48350c
mov edx, 1
imul eax, edx, 0xb
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx + eax]
cmp edx, 0x30
jl 0x48350c
mov eax, 1
imul ecx, eax, 0xb
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + ecx]
cmp eax, 0x39
jg 0x48350c
mov ecx, 1
imul edx, ecx, 0xc
mov eax, dword [ebp + 0x14]
movsx ecx, byte [eax + edx]
cmp ecx, 0x30
jl 0x4834b4
mov edx, 1
imul eax, edx, 0xc
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx + eax]
cmp edx, 0x39
jle 0x48350c
mov eax, 1
imul ecx, eax, 9
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + ecx]
sub eax, 0x30
imul ecx, eax, 0x64
mov edx, 1
imul eax, edx, 0xa
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + eax]
sub eax, 0x30
imul edx, eax, 0xa
add ecx, edx
mov eax, 1
imul edx, eax, 0xb
mov eax, dword [ebp + 0x14]
movsx edx, byte [eax + edx]
sub edx, 0x30
add ecx, edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x50], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xd7c], eax
mov eax, dword [ebp - 4]
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.004a09b1
mov esp, ebp
pop ebp
ret