Function at 0x14021ff00
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
push rdi
sub rsp, 0x70
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x88]
add rax, 0xf0
mov qword [rsp + 0x38], rax
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0x98]
call fcn.1401491c2
test eax, eax
je 0x14021ff60
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x50], 0x191
je 0x14021ff94
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0x98]
call fcn.1401491c2
test eax, eax
je 0x140220059
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x50], 0x197
jne 0x140220059
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x50], 0x197
jne 0x14021ffac
mov dword [rsp + 0x50], 1
jmp 0x14021ffb4
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
jne 0x14021ffc5
mov dword [rsp + 0x54], 0
jmp 0x14021ffcd
mov dword [rsp + 0x54], 1
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x98]
call fcn.1401448b1
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14021fffa
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140220427
mov r9, qword [rsp + 0x98]
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.140149f23
mov r8, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call fcn.14014a676
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.14014674c]
cmp dword [rsp + 0x30], 0
je 0x140220054
mov eax, dword [rsp + 0x30]
jmp 0x140220427
jmp 0x140220423
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x14046a830]
mov rcx, qword [rsp + 0x98]
call fcn.1401491c2
test eax, eax
je 0x1402200f5
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1402200ab
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x50]
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x88]
call fcn.14014a487
jmp 0x1402200f0
mov rax, qword [rsp + 0x90]
add rax, 0x110
mov qword [rsp + 0x58], rax
lea rcx, str.Content_Length:
call fcn.1401471e2
mov rcx, qword [rsp + 0x98]
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.140147827
jmp 0x140220423
mov qword [rsp + 0x20], 5
lea r9, [0x14046a888]
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, qword [rsp + 0x98]
call fcn.14014530b
movzx eax, al
test eax, eax
je 0x14022013a
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x11d], 1
jmp 0x140220423
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x14046a8a0]
mov rcx, qword [rsp + 0x98]
call fcn.1401491c2
test eax, eax
je 0x14022020a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x140220190
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x50]
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x88]
call fcn.14014a487
jmp 0x140220205
mov qword [rsp + 0x20], 7
lea r9, [0x14046a8f0]
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, qword [rsp + 0x98]
call fcn.14014530b
movzx eax, al
test eax, eax
je 0x140220205
lea rdx, str.CONNECT_responded_chunked
mov rcx, qword [rsp + 0x88]
call fcn.14014a487
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x11c], 1
mov rax, qword [rsp + 0x90]
add rax, 0xc0
mov r8b, 1
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140148a42
jmp 0x140220423
mov qword [rsp + 0x20], 5
lea r9, [0x14046a92c]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, qword [rsp + 0x98]
call fcn.14014530b
movzx eax, al
test eax, eax
je 0x14022024f
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x11d], 1
jmp 0x140220423
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, qword [rsp + 0x98]
call fcn.140149a4b
test eax, eax
jne 0x140220423
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
je 0x1402202a9
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x31
jne 0x140220423
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
jne 0x140220423
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x140220423
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x140220423
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x140220423
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x140220423
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x140220423
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x140220423
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1402203af
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jle 0x140220423
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, 1
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x98]
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 + 0x98]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
add eax, ecx
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x1384], ecx
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret