Function at 0x14013be80
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, 0xe8
mov qword [rsp + 0x38], rax
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0x98]
call fcn.1400e2fa0
test eax, eax
je 0x14013bee0
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x60], 0x191
je 0x14013bf14
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0x98]
call fcn.1400e2fa0
test eax, eax
je 0x14013bfbb
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x60], 0x197
jne 0x14013bfbb
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x60], 0x197
jne 0x14013bf2c
mov dword [rsp + 0x50], 1
jmp 0x14013bf34
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
jne 0x14013bf45
mov dword [rsp + 0x54], 0
jmp 0x14013bf4d
mov dword [rsp + 0x54], 1
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x98]
call fcn.1400ec610
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14013bf7a
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14013c375
xor eax, eax
test eax, eax
jne 0x14013bf7a
mov r8, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call fcn.1400f2130
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.14017bc50]
cmp dword [rsp + 0x30], 0
je 0x14013bfb6
mov eax, dword [rsp + 0x30]
jmp 0x14013c375
jmp 0x14013c371
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140256338]
mov rcx, qword [rsp + 0x98]
call fcn.1400e2fa0
test eax, eax
je 0x14013c057
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x60]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x14013c00d
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x60]
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x88]
call fcn.1400db800
jmp 0x14013c052
mov rax, qword [rsp + 0x90]
add rax, 0x298
mov qword [rsp + 0x58], rax
lea rcx, str.Content_Length:
call fcn.140199be0
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.1400ff890
jmp 0x14013c371
mov qword [rsp + 0x20], 5
lea r9, [0x140256390]
mov r8d, recv
lea rdx, str.Connection:
mov rcx, qword [rsp + 0x98]
call fcn.1400ec4a0
movzx eax, al
test eax, eax
je 0x14013c09c
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x2a5], 1
jmp 0x14013c371
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1402563a8]
mov rcx, qword [rsp + 0x98]
call fcn.1400e2fa0
test eax, eax
je 0x14013c158
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x60]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x14013c0f2
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x60]
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x88]
call fcn.1400db800
jmp 0x14013c153
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 + 0x98]
call fcn.1400ec4a0
movzx eax, al
test eax, eax
je 0x14013c153
lea rdx, str.CONNECT_responded_chunked
mov rcx, qword [rsp + 0x88]
call fcn.1400db800
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x2a4], 1
mov rcx, qword [rsp + 0x88]
call fcn.140142990
jmp 0x14013c371
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 + 0x98]
call fcn.1400ec4a0
movzx eax, al
test eax, eax
je 0x14013c19d
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x2a5], 1
jmp 0x14013c371
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, qword [rsp + 0x98]
call fcn.1401a3610
test eax, eax
jne 0x14013c371
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
je 0x14013c1f7
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x31
jne 0x14013c371
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
jne 0x14013c371
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14013c371
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x14013c371
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14013c371
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x14013c371
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14013c371
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x14013c371
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x14013c2fd
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jle 0x14013c371
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 + 0x60], ecx
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x1354], ecx
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret