Function at 0x1400c4600
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 [0x1402bc7c0]
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.14002edf0
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.140051790
nop
cmp byte [rbx + 0x169], 0
je 0x1400c46ea
mov r8, r13
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.140052350
mov r8d, esi
lea rdx, str.port
mov rcx, rbx
call fcn.140051f90
movzx r8d, r14b
lea rdx, str.bTls
mov rcx, rbx
call fcn.140051ce0
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.140051ce0
lea r15, [r12 + 0x50]
mov rcx, r15
call fcn.140066230
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.14002f1e0
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.140017e90
cmp byte [rbx + 0x169], 0
je 0x1400c477f
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.140052350
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.140051f90
movzx edi, byte [rbx + 0x169]
mov byte [rsp + 0x30], dil
test dil, dil
je 0x1400c47f6
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.140051f90
mov rcx, r13
call fcn.1400351b0
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.140051a50
mov r8d, esi
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.140051f90
lea rcx, [rbp - 0x60]
call fcn.140035140
test eax, eax
je 0x1400c47f6
lea rcx, [rbp - 0x60]
call fcn.1400351b0
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.140051a50
xor esi, esi
test r14d, r14d
jle 0x1400c49a4
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.140051790
nop
mov edx, esi
mov rcx, r15
call fcn.140066090
mov rdi, rax
test rax, rax
jne 0x1400c484b
mov edx, esi
mov rcx, r15
call fcn.140066f20
dec r14d
dec esi
jmp 0x1400c4985
cmp dword [rax + 0x790], 0x99b4002d
je 0x1400c4897
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.140051f90
xor ecx, ecx
call fcn.14000c230
mov edx, esi
mov rcx, r15
call fcn.140066f20
dec r14d
dec esi
jmp 0x1400c4985
cmp byte [rsp + 0x30], 0
je 0x1400c4913
mov rcx, rdi
call fcn.14008ae10
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.140051a50
mov rcx, rdi
call fcn.14008ae20
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.140051f90
lea r13, [rdi + 0x608]
mov rcx, r13
call fcn.140008ee0
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.140051a50
lea r12, [rdi + 0x40]
mov rcx, r12
call fcn.140018130
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.140051f90
jmp 0x1400c491e
lea r12, [rax + 0x40]
lea r13, [rax + 0x608]
lea rcx, [rbp - 0x60]
call fcn.140035140
mov rcx, rdi
test eax, eax
je 0x1400c4a2c
call fcn.14008ae20
cmp eax, dword [rsp + 0x48]
jne 0x1400c4980
mov rcx, rdi
call fcn.14008ae10
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140034810
test al, al
je 0x1400c4980
mov rcx, r12
call fcn.140018130
cmp eax, dword [rsp + 0x50]
jne 0x1400c4980
mov rcx, r13
call fcn.140008ee0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140034810
test al, al
jne 0x1400c4afa
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400518b0
inc esi
cmp esi, r14d
jl 0x1400c4801
mov r12, qword [rsp + 0x40]
movzx edi, byte [rsp + 0x30]
cmp dword [r12 + 0x48], 0
je 0x1400c4b85
mov rcx, r15
call fcn.140066230
cmp eax, dword [r12 + 0x48]
jne 0x1400c4b85
test dil, dil
je 0x1400c49d8
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.140066f20
test rax, rax
je 0x1400c4b85
cmp dword [rax + 0x790], 0x99b4002d
je 0x1400c4b7d
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.140051f90
xor ecx, ecx
call fcn.14000c230
jmp 0x1400c4b85
call fcn.14008ae20
cmp eax, dword [rsp + 0x48]
jne 0x1400c4980
mov rcx, rdi
call fcn.14008ae10
mov rdx, rax
mov r13, qword [rsp + 0x38]
mov rcx, r13
call fcn.140034810
test al, al
je 0x1400c4985
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x1400c4b5b
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.1400c4df0
test al, al
jne 0x1400c4b5b
mov edx, esi
mov rcx, r12
call fcn.1400c5010
cmp byte [rsp + 0x30], 0
je 0x1400c4aa4
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, [0x14021d480]
lea rcx, [rdi + 0x838]
call fcn.1400318e0
test al, al
je 0x1400c4ad2
lea rcx, [rdi + 0x838]
call fcn.140031e20
mov rcx, rdi
call fcn.14000e210
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.14008e170
nop
lea rcx, [rsp + 0x58]
call fcn.1400518b0
jmp 0x1400c4dae
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x1400c4b56
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.1400c4df0
test al, al
jne 0x1400c4b3b
mov edx, esi
mov rcx, r12
call fcn.1400c5010
cmp byte [rsp + 0x30], 0
je 0x1400c4aa4
lea rdx, str.Found_existing_proxy_connection.
jmp 0x1400c4a9b
cmp byte [rbx + 0x169], 0
je 0x1400c4b56
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.140051ce0
mov r13, qword [rsp + 0x38]
mov edx, esi
mov rcx, r15
call fcn.140066f20
mov rcx, rdi
call fcn.14000e140
nop
lea rcx, [rsp + 0x58]
call fcn.1400518b0
jmp 0x1400c499f
mov rcx, rax
call fcn.14000e140
mov ecx, 0xb20
call fcn.1401d788c
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400c4bb9
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.140081580
mov rdi, rax
jmp 0x1400c4bbb
xor edi, edi
test rdi, rdi
je 0x1400c4bf8
cmp dword [rdi + 0x790], 0x99b4002d
je 0x1400c4bff
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.140051f90
xor ecx, ecx
call fcn.14000c230
xor edi, edi
jmp 0x1400c4dae
mov rcx, rdi
call fcn.14000e210
mov rdx, rdi
mov rcx, r15
call fcn.140065db0
cmp byte [rsp + 0x31], 0
je 0x1400c4d73
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.1400517e0
nop
add r12, 0x90
mov rcx, r12
call fcn.140066220
mov r15d, eax
xor esi, esi
test eax, eax
jle 0x1400c4d59
mov edx, esi
mov rcx, r12
call fcn.140066050
mov r14, rax
test rax, rax
je 0x1400c4cf3
cmp dword [rax + 8], 0x62cb09e3
je 0x1400c4ca5
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.140066d60
dec esi
dec r15d
jmp 0x1400c4cf3
lea rcx, [rax + 0x10]
mov rdx, r13
call fcn.1400347e0
test al, al
je 0x1400c4cf3
mov edx, esi
mov rcx, r12
call fcn.140066d60
mov r13, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.14002ecb0
cmp dword [r13 + 8], 0x62cb09e3
je 0x1400c4d04
mov rax, qword [rbx]
lea rdx, str.Found_invalid_TlsSessionInfo_object.
mov rcx, rbx
call qword [rax + 0x28]
inc esi
cmp esi, r15d
jge 0x1400c4d59
mov r13, qword [rsp + 0x38]
jmp 0x1400c4c65
cmp byte [rbx + 0x169], 0
je 0x1400c4d32
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.140052350
nop
lea rcx, [rsp + 0x58]
call fcn.1400518b0
mov qword [rdi + 0xb10], r13
mov r12, qword [rsp + 0x40]
test r13, r13
je 0x1400c4d73
cmp dword [r13 + 8], 0x62cb09e3
je 0x1400c4d73
jmp 0x1400c4d68
lea rcx, [rsp + 0x58]
call fcn.1400518b0
mov r12, qword [rsp + 0x40]
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x1400c4d8a
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.14000e210
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.14008e170
nop
lea rcx, [rbp - 0x60]
call fcn.14002f230
nop
lea rcx, [rsp + 0x70]
call fcn.1400518b0
nop
lea rcx, [rbp - 0x78]
call fcn.14002eec0
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret