Function at 0x140150e50
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x78]
add rax, 0xe8
mov qword [rsp + 0x48], rax
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0x88]
call fcn.1400e8df0
test eax, eax
je 0x140150eac
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x60], 0x191
je 0x140150ee0
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0x88]
call fcn.1400e8df0
test eax, eax
je 0x140150f84
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x60], 0x197
jne 0x140150f84
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x60], 0x197
jne 0x140150ef8
mov dword [rsp + 0x38], 1
jmp 0x140150f00
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
jne 0x140150f11
mov dword [rsp + 0x3c], 0
jmp 0x140150f19
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x88]
call fcn.1400f44c0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140150f46
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140151330
xor eax, eax
test eax, eax
jne 0x140150f46
mov r8, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.1400fa320
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x50]
call qword [fcn.1401581f2]
cmp dword [rsp + 0x34], 0
je 0x140150f7f
mov eax, dword [rsp + 0x34]
jmp 0x140151330
jmp 0x14015132c
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x1401e6e00]
mov rcx, qword [rsp + 0x88]
call fcn.1400e8df0
test eax, eax
je 0x14015101d
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x60]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x140150fd3
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x60]
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x78]
call fcn.1400e21d0
jmp 0x140151018
mov rax, qword [rsp + 0x80]
add rax, 0x2a8
mov qword [rsp + 0x58], rax
lea rcx, str.Content_Length:
call fcn.140158210
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov r9, rcx
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.140102de0
jmp 0x14015132c
mov qword [rsp + 0x20], 5
lea r9, [0x1401e6d44]
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, qword [rsp + 0x88]
call fcn.1400f4350
movzx eax, al
test eax, eax
je 0x140151062
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x2b5], 1
jmp 0x14015132c
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1401e6e68]
mov rcx, qword [rsp + 0x88]
call fcn.1400e8df0
test eax, eax
je 0x140151115
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x60]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1401510b5
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x60]
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x78]
call fcn.1400e21d0
jmp 0x140151110
mov qword [rsp + 0x20], 7
lea r9, str.chunked
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, qword [rsp + 0x88]
call fcn.1400f4350
movzx eax, al
test eax, eax
je 0x140151110
lea rdx, str.CONNECT_responded_chunked
mov rcx, qword [rsp + 0x78]
call fcn.1400e21d0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x2b4], 1
mov rcx, qword [rsp + 0x78]
call fcn.14013ea10
jmp 0x14015132c
mov qword [rsp + 0x20], 5
lea r9, str.close
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, qword [rsp + 0x88]
call fcn.1400f4350
movzx eax, al
test eax, eax
je 0x14015115a
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x2b5], 1
jmp 0x14015132c
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14015132c
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
je 0x1401511b5
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x31
jne 0x14015132c
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
jne 0x14015132c
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14015132c
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x14015132c
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14015132c
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x14015132c
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14015132c
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x14015132c
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1401512bb
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jle 0x14015132c
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, 1
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
imul ecx, ecx, 0xa
add eax, ecx
mov ecx, 1
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
add eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x60], ecx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x1374], ecx
mov eax, dword [rsp + 0x34]
add rsp, 0x68
ret