Function at 0x14016a6f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1403dd7c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
movzx r14d, r9b
mov byte [rsp + 0x31], r9b
mov esi, r8d
mov dword [rsp + 0x48], r8d
mov r13, rdx
mov qword [rsp + 0x38], rdx
mov r12, rcx
mov qword [rsp + 0x40], rcx
mov rdi, qword [rbp + 0xc0]
mov rbx, qword [rbp + 0xc8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov rdx, rcx
lea rcx, [rbp - 0x78]
call fcn.1400d3bc0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
lea r8, str.findAddHttpConn
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400f6560
nop
cmp byte [rbx + 0x169], 0
je 0x14016a7da
mov r8, r13
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.1400f7120
mov r8d, esi
lea rdx, str.port
mov rcx, rbx
call fcn.1400f6d60
movzx r8d, r14b
lea rdx, str.bTls
mov rcx, rbx
call fcn.1400f6ab0
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.1400f6ab0
lea r15, [r12 + 0x50]
mov rcx, r15
call fcn.14010aff0
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp - 0x60]
call fcn.1400d3fb0
nop
mov dword [rsp + 0x50], 0
lea rcx, [rdi + 0x460]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x60]
xor edx, edx
call fcn.1400bcc60
cmp byte [rbx + 0x169], 0
je 0x14016a86f
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.1400f7120
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.1400f6d60
movzx edi, byte [rbx + 0x169]
mov byte [rsp + 0x30], dil
test dil, dil
je 0x14016a8e6
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.1400f6d60
mov rcx, r13
call fcn.1400d9f80
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.1400f6820
mov r8d, esi
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.1400f6d60
lea rcx, [rbp - 0x60]
call fcn.1400d9f10
test eax, eax
je 0x14016a8e6
lea rcx, [rbp - 0x60]
call fcn.1400d9f80
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.1400f6820
xor esi, esi
test r14d, r14d
jle 0x14016aa94
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
lea r8, str.existingConnection
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400f6560
nop
mov edx, esi
mov rcx, r15
call fcn.14010ae50
mov rdi, rax
test rax, rax
jne 0x14016a93b
mov edx, esi
mov rcx, r15
call fcn.14010bce0
dec r14d
dec esi
jmp 0x14016aa75
cmp dword [rax + 0x790], 0x99b4002d
je 0x14016a987
mov rax, qword [rbx]
lea rdx, str.Invalid_HTTP_connection_object_found.
mov rcx, rbx
call qword [rax + 0x28]
mov r8d, 0x78
lea rdx, str.calledFrom
mov rcx, rbx
call fcn.1400f6d60
xor ecx, ecx
call fcn.1400a1ee0
mov edx, esi
mov rcx, r15
call fcn.14010bce0
dec r14d
dec esi
jmp 0x14016aa75
cmp byte [rsp + 0x30], 0
je 0x14016aa03
mov rcx, rdi
call fcn.14012fbd0
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.1400f6820
mov rcx, rdi
call fcn.14012fbe0
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.1400f6d60
lea r13, [rdi + 0x608]
mov rcx, r13
call fcn.1400aa530
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.1400f6820
lea r12, [rdi + 0x40]
mov rcx, r12
call fcn.1400bcf00
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.1400f6d60
jmp 0x14016aa0e
lea r12, [rax + 0x40]
lea r13, [rax + 0x608]
lea rcx, [rbp - 0x60]
call fcn.1400d9f10
mov rcx, rdi
test eax, eax
je 0x14016ab1c
call fcn.14012fbe0
cmp eax, dword [rsp + 0x48]
jne 0x14016aa70
mov rcx, rdi
call fcn.14012fbd0
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.1400d95e0
test al, al
je 0x14016aa70
mov rcx, r12
call fcn.1400bcf00
cmp eax, dword [rsp + 0x50]
jne 0x14016aa70
mov rcx, r13
call fcn.1400aa530
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400d95e0
test al, al
jne 0x14016abea
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400f6680
inc esi
cmp esi, r14d
jl 0x14016a8f1
mov r12, qword [rsp + 0x40]
movzx edi, byte [rsp + 0x30]
cmp dword [r12 + 0x48], 0
je 0x14016ac75
mov rcx, r15
call fcn.14010aff0
cmp eax, dword [r12 + 0x48]
jne 0x14016ac75
test dil, dil
je 0x14016aac8
mov rax, qword [rbx]
lea rdx, str.At_max_connections__removing_oldest.
mov rcx, rbx
call qword [rax + 0x30]
xor edx, edx
mov rcx, r15
call fcn.14010bce0
test rax, rax
je 0x14016ac75
cmp dword [rax + 0x790], 0x99b4002d
je 0x14016ac6d
mov rax, qword [rbx]
lea rdx, str.Invalid_HTTP_connection_object_found.
mov rcx, rbx
call qword [rax + 0x28]
mov r8d, 0x79
lea rdx, str.calledFrom
mov rcx, rbx
call fcn.1400f6d60
xor ecx, ecx
call fcn.1400a1ee0
jmp 0x14016ac75
call fcn.14012fbe0
cmp eax, dword [rsp + 0x48]
jne 0x14016aa70
mov rcx, rdi
call fcn.14012fbd0
mov rdx, rax
mov r13, qword [rsp + 0x38]
mov rcx, r13
call fcn.1400d95e0
test al, al
je 0x14016aa75
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x14016ac4b
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.14016aee0
test al, al
jne 0x14016ac4b
mov edx, esi
mov rcx, r12
call fcn.14016b100
cmp byte [rsp + 0x30], 0
je 0x14016ab94
lea rdx, str.Found_existing_connection.
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
call sub.KERNEL32.dll_GetTickCount
mov dword [rdi + 0x830], eax
lea rdx, [0x1402c0d70]
lea rcx, [rdi + 0x838]
call fcn.1400d66b0
test al, al
je 0x14016abc2
lea rcx, [rdi + 0x838]
call fcn.1400d6bf0
mov rcx, rdi
call fcn.1400af940
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.140132f30
nop
lea rcx, [rsp + 0x58]
call fcn.1400f6680
jmp 0x14016ae9e
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x14016ac46
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.14016aee0
test al, al
jne 0x14016ac2b
mov edx, esi
mov rcx, r12
call fcn.14016b100
cmp byte [rsp + 0x30], 0
je 0x14016ab94
lea rdx, str.Found_existing_proxy_connection.
jmp 0x14016ab8b
cmp byte [rbx + 0x169], 0
je 0x14016ac46
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.1400f6ab0
mov r13, qword [rsp + 0x38]
mov edx, esi
mov rcx, r15
call fcn.14010bce0
mov rcx, rdi
call fcn.1400af870
nop
lea rcx, [rsp + 0x58]
call fcn.1400f6680
jmp 0x14016aa8f
mov rcx, rax
call fcn.1400af870
mov ecx, 0xb20
call fcn.140279230
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14016aca9
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.140126340
mov rdi, rax
jmp 0x14016acab
xor edi, edi
test rdi, rdi
je 0x14016ace8
cmp dword [rdi + 0x790], 0x99b4002d
je 0x14016acef
mov rax, qword [rbx]
lea rdx, str.Invalid_HTTP_connection_object_found.
mov rcx, rbx
call qword [rax + 0x28]
mov r8d, 0x3e9
lea rdx, str.calledFrom
mov rcx, rbx
call fcn.1400f6d60
xor ecx, ecx
call fcn.1400a1ee0
xor edi, edi
jmp 0x14016ae9e
mov rcx, rdi
call fcn.1400af940
mov rdx, rdi
mov rcx, r15
call fcn.14010ab70
cmp byte [rsp + 0x31], 0
je 0x14016ae63
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
movzx r9d, byte [rbx + 0x169]
lea r8, str.findRecentTlsSession
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400f65b0
nop
add r12, 0x90
mov rcx, r12
call fcn.14010afe0
mov r15d, eax
xor esi, esi
test eax, eax
jle 0x14016ae49
mov edx, esi
mov rcx, r12
call fcn.14010ae10
mov r14, rax
test rax, rax
je 0x14016ade3
cmp dword [rax + 8], 0x62cb09e3
je 0x14016ad95
mov rax, qword [rbx]
lea rdx, str.Found_invalid_RecentTlsSession_object.
mov rcx, rbx
call qword [rax + 0x28]
mov edx, esi
mov rcx, r12
call fcn.14010bb20
dec esi
dec r15d
jmp 0x14016ade3
lea rcx, [rax + 0x10]
mov rdx, r13
call fcn.1400d95b0
test al, al
je 0x14016ade3
mov edx, esi
mov rcx, r12
call fcn.14010bb20
mov r13, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.1400d3a80
cmp dword [r13 + 8], 0x62cb09e3
je 0x14016adf4
mov rax, qword [rbx]
lea rdx, str.Found_invalid_TlsSessionInfo_object.
mov rcx, rbx
call qword [rax + 0x28]
inc esi
cmp esi, r15d
jge 0x14016ae49
mov r13, qword [rsp + 0x38]
jmp 0x14016ad55
cmp byte [rbx + 0x169], 0
je 0x14016ae22
mov rax, qword [rbx]
lea rdx, str.Returning_matching_recent_TLS_session.
mov rcx, rbx
call qword [rax + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, str.host
mov rcx, rbx
call fcn.1400f7120
nop
lea rcx, [rsp + 0x58]
call fcn.1400f6680
mov qword [rdi + 0xb10], r13
mov r12, qword [rsp + 0x40]
test r13, r13
je 0x14016ae63
cmp dword [r13 + 8], 0x62cb09e3
je 0x14016ae63
jmp 0x14016ae58
lea rcx, [rsp + 0x58]
call fcn.1400f6680
mov r12, qword [rsp + 0x40]
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x14016ae7a
mov rax, qword [rbx]
lea rdx, str.Will_need_to_open_a_new_connection.
mov rcx, rbx
call qword [rax + 0x30]
call sub.KERNEL32.dll_GetTickCount
mov dword [rdi + 0x830], eax
mov rcx, rdi
call fcn.1400af940
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.140132f30
nop
lea rcx, [rbp - 0x60]
call fcn.1400d4000
nop
lea rcx, [rsp + 0x70]
call fcn.1400f6680
nop
lea rcx, [rbp - 0x78]
call fcn.1400d3c90
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140278f40
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret