Function at 0x1400c16a0
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 [0x1402b87c0]
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.14002c390
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.14004ed30
nop
cmp byte [rbx + 0x169], 0
je 0x1400c178a
mov r8, r13
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.14004f8f0
mov r8d, esi
lea rdx, str.port
mov rcx, rbx
call fcn.14004f530
movzx r8d, r14b
lea rdx, str.bTls
mov rcx, rbx
call fcn.14004f280
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.14004f280
lea r15, [r12 + 0x50]
mov rcx, r15
call fcn.140063340
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.14002c780
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.1400189a0
cmp byte [rbx + 0x169], 0
je 0x1400c181f
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.14004f8f0
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.14004f530
movzx edi, byte [rbx + 0x169]
mov byte [rsp + 0x30], dil
test dil, dil
je 0x1400c1896
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.14004f530
mov rcx, r13
call fcn.140032750
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.14004eff0
mov r8d, esi
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.14004f530
lea rcx, [rbp - 0x60]
call fcn.1400326e0
test eax, eax
je 0x1400c1896
lea rcx, [rbp - 0x60]
call fcn.140032750
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.14004eff0
xor esi, esi
test r14d, r14d
jle 0x1400c1a44
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.14004ed30
nop
mov edx, esi
mov rcx, r15
call fcn.1400631a0
mov rdi, rax
test rax, rax
jne 0x1400c18eb
mov edx, esi
mov rcx, r15
call fcn.140064030
dec r14d
dec esi
jmp 0x1400c1a25
cmp dword [rax + 0x790], 0x99b4002d
je 0x1400c1937
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.14004f530
xor ecx, ecx
call fcn.14000d6a0
mov edx, esi
mov rcx, r15
call fcn.140064030
dec r14d
dec esi
jmp 0x1400c1a25
cmp byte [rsp + 0x30], 0
je 0x1400c19b3
mov rcx, rdi
call fcn.140087eb0
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.14004eff0
mov rcx, rdi
call fcn.140087ec0
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.14004f530
lea r13, [rdi + 0x608]
mov rcx, r13
call fcn.14000a650
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.14004eff0
lea r12, [rdi + 0x40]
mov rcx, r12
call fcn.140018c40
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.14004f530
jmp 0x1400c19be
lea r12, [rax + 0x40]
lea r13, [rax + 0x608]
lea rcx, [rbp - 0x60]
call fcn.1400326e0
mov rcx, rdi
test eax, eax
je 0x1400c1acc
call fcn.140087ec0
cmp eax, dword [rsp + 0x48]
jne 0x1400c1a20
mov rcx, rdi
call fcn.140087eb0
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140031db0
test al, al
je 0x1400c1a20
mov rcx, r12
call fcn.140018c40
cmp eax, dword [rsp + 0x50]
jne 0x1400c1a20
mov rcx, r13
call fcn.14000a650
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140031db0
test al, al
jne 0x1400c1b9a
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14004ee50
inc esi
cmp esi, r14d
jl 0x1400c18a1
mov r12, qword [rsp + 0x40]
movzx edi, byte [rsp + 0x30]
cmp dword [r12 + 0x48], 0
je 0x1400c1c25
mov rcx, r15
call fcn.140063340
cmp eax, dword [r12 + 0x48]
jne 0x1400c1c25
test dil, dil
je 0x1400c1a78
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.140064030
test rax, rax
je 0x1400c1c25
cmp dword [rax + 0x790], 0x99b4002d
je 0x1400c1c1d
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.14004f530
xor ecx, ecx
call fcn.14000d6a0
jmp 0x1400c1c25
call fcn.140087ec0
cmp eax, dword [rsp + 0x48]
jne 0x1400c1a20
mov rcx, rdi
call fcn.140087eb0
mov rdx, rax
mov r13, qword [rsp + 0x38]
mov rcx, r13
call fcn.140031db0
test al, al
je 0x1400c1a25
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x1400c1bfb
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.1400c1e90
test al, al
jne 0x1400c1bfb
mov edx, esi
mov rcx, r12
call fcn.1400c20b0
cmp byte [rsp + 0x30], 0
je 0x1400c1b44
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, [0x14021a170]
lea rcx, [rdi + 0x838]
call fcn.14002ee80
test al, al
je 0x1400c1b72
lea rcx, [rdi + 0x838]
call fcn.14002f3c0
mov rcx, rdi
call fcn.14000f530
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.14008b210
nop
lea rcx, [rsp + 0x58]
call fcn.14004ee50
jmp 0x1400c1e4e
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x1400c1bf6
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.1400c1e90
test al, al
jne 0x1400c1bdb
mov edx, esi
mov rcx, r12
call fcn.1400c20b0
cmp byte [rsp + 0x30], 0
je 0x1400c1b44
lea rdx, str.Found_existing_proxy_connection.
jmp 0x1400c1b3b
cmp byte [rbx + 0x169], 0
je 0x1400c1bf6
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.14004f280
mov r13, qword [rsp + 0x38]
mov edx, esi
mov rcx, r15
call fcn.140064030
mov rcx, rdi
call fcn.14000f460
nop
lea rcx, [rsp + 0x58]
call fcn.14004ee50
jmp 0x1400c1a3f
mov rcx, rax
call fcn.14000f460
mov ecx, 0xb20
call fcn.1401d455c
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400c1c59
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.14007e620
mov rdi, rax
jmp 0x1400c1c5b
xor edi, edi
test rdi, rdi
je 0x1400c1c98
cmp dword [rdi + 0x790], 0x99b4002d
je 0x1400c1c9f
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.14004f530
xor ecx, ecx
call fcn.14000d6a0
xor edi, edi
jmp 0x1400c1e4e
mov rcx, rdi
call fcn.14000f530
mov rdx, rdi
mov rcx, r15
call fcn.140062ec0
cmp byte [rsp + 0x31], 0
je 0x1400c1e13
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.14004ed80
nop
add r12, 0x90
mov rcx, r12
call fcn.140063330
mov r15d, eax
xor esi, esi
test eax, eax
jle 0x1400c1df9
mov edx, esi
mov rcx, r12
call fcn.140063160
mov r14, rax
test rax, rax
je 0x1400c1d93
cmp dword [rax + 8], 0x62cb09e3
je 0x1400c1d45
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.140063e70
dec esi
dec r15d
jmp 0x1400c1d93
lea rcx, [rax + 0x10]
mov rdx, r13
call fcn.140031d80
test al, al
je 0x1400c1d93
mov edx, esi
mov rcx, r12
call fcn.140063e70
mov r13, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.14002c250
cmp dword [r13 + 8], 0x62cb09e3
je 0x1400c1da4
mov rax, qword [rbx]
lea rdx, str.Found_invalid_TlsSessionInfo_object.
mov rcx, rbx
call qword [rax + 0x28]
inc esi
cmp esi, r15d
jge 0x1400c1df9
mov r13, qword [rsp + 0x38]
jmp 0x1400c1d05
cmp byte [rbx + 0x169], 0
je 0x1400c1dd2
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.14004f8f0
nop
lea rcx, [rsp + 0x58]
call fcn.14004ee50
mov qword [rdi + 0xb10], r13
mov r12, qword [rsp + 0x40]
test r13, r13
je 0x1400c1e13
cmp dword [r13 + 8], 0x62cb09e3
je 0x1400c1e13
jmp 0x1400c1e08
lea rcx, [rsp + 0x58]
call fcn.14004ee50
mov r12, qword [rsp + 0x40]
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x1400c1e2a
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.14000f530
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.14008b210
nop
lea rcx, [rbp - 0x60]
call fcn.14002c7d0
nop
lea rcx, [rsp + 0x70]
call fcn.14004ee50
nop
lea rcx, [rbp - 0x78]
call fcn.14002c460
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401d42a0
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret