Function at 0x1401cf2f0
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 [0x14040f040]
xor rax, rsp
mov qword [rbp + 0x30], rax
movzx r14d, r9b
mov byte [rsp + 0x31], r9b
mov r13d, r8d
mov rsi, rdx
mov qword [rsp + 0x40], rdx
mov r15, rcx
mov qword [rsp + 0x38], 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.1401739b0
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.14015bdd0
nop
cmp byte [rbx + 0x169], 0
je 0x1401cf3d5
mov r8, rsi
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.14015ca70
mov r8d, r13d
lea rdx, str.port
mov rcx, rbx
call fcn.14015c6b0
movzx r8d, r14b
lea rdx, str.bTls
mov rcx, rbx
call fcn.14015c400
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.14015c400
lea r12, [r15 + 0x50]
mov rcx, r12
call fcn.140172840
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.140138d70
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.140121820
cmp byte [rbx + 0x169], 0
je 0x1401cf469
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.14015ca70
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.14015c6b0
movzx edi, byte [rbx + 0x169]
mov byte [rsp + 0x30], dil
test dil, dil
je 0x1401cf4e0
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.14015c6b0
mov rcx, rsi
call fcn.14013ec50
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.14015c170
mov r8d, r13d
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.14015c6b0
lea rcx, [rbp - 0x60]
call fcn.14013ebe0
test eax, eax
je 0x1401cf4e0
lea rcx, [rbp - 0x60]
call fcn.14013ec50
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.14015c170
xor esi, esi
test r14d, r14d
jle 0x1401cf707
nop dword [rax + rax]
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.14015bdd0
nop
mov edx, esi
mov rcx, r12
call fcn.1401726b0
mov rdi, rax
test rax, rax
jne 0x1401cf53a
mov edx, esi
mov rcx, r12
call fcn.140173540
dec r14d
dec esi
jmp 0x1401cf6e8
cmp dword [rax + 0x790], 0x99b4002d
je 0x1401cf586
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.14015c6b0
xor ecx, ecx
call fcn.140110850
mov edx, esi
mov rcx, r12
call fcn.140173540
dec r14d
dec esi
jmp 0x1401cf6e8
cmp byte [rsp + 0x30], 0
je 0x1401cf60a
mov rcx, rdi
call fcn.1401959a0
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.14015c170
mov rcx, rdi
call fcn.1401959b0
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.14015c6b0
lea rcx, [rdi + 0x608]
call fcn.14010e410
test al, al
jne 0x1401cf60a
lea rcx, [rdi + 0x608]
call fcn.14010ddb0
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.14015c170
lea rcx, [rdi + 0x40]
call fcn.140121ac0
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.14015c6b0
lea rcx, [rbp - 0x60]
call fcn.14013ebe0
mov rcx, rdi
test eax, eax
je 0x1401cf6c1
call fcn.1401959b0
cmp eax, r13d
jne 0x1401cf6e8
mov rcx, rdi
call fcn.1401959a0
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14013e1f0
test al, al
je 0x1401cf6e8
lea rcx, [rdi + 0x40]
call fcn.140121ac0
cmp eax, dword [rsp + 0x50]
jne 0x1401cf6e8
lea rcx, [rdi + 0x608]
call fcn.14010ddb0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14013e1f0
test al, al
je 0x1401cf6e8
mov r15, qword [rsp + 0x38]
cmp byte [rbp + 0xb0], 0
jne 0x1401cf7a8
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.1401cfae0
test al, al
jne 0x1401cf78d
mov edx, esi
mov rcx, r15
call fcn.1401cfd00
cmp byte [rsp + 0x30], 0
je 0x1401cf80b
lea rdx, str.Found_existing_proxy_connection.
jmp 0x1401cf802
call fcn.1401959b0
cmp eax, r13d
jne 0x1401cf6e8
mov rcx, rdi
call fcn.1401959a0
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14013e1f0
test al, al
jne 0x1401cf7ca
lea rcx, [rsp + 0x58]
call fcn.14015bf80
inc esi
cmp esi, r14d
jl 0x1401cf4f0
mov r15, qword [rsp + 0x38]
movzx edi, byte [rsp + 0x30]
cmp dword [r15 + 0x48], 0
je 0x1401cf868
mov rcx, r12
call fcn.140172840
cmp eax, dword [r15 + 0x48]
jne 0x1401cf868
test dil, dil
je 0x1401cf739
mov rax, qword [rbx]
lea rdx, str.At_max_connections__removing_oldest.
mov rcx, rbx
call qword [rax + 0x30]
xor edx, edx
mov rcx, r12
call fcn.140173540
test rax, rax
je 0x1401cf868
cmp dword [rax + 0x790], 0x99b4002d
je 0x1401cf860
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.14015c6b0
xor ecx, ecx
call fcn.140110850
jmp 0x1401cf868
cmp byte [rbx + 0x169], 0
je 0x1401cf7a8
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.14015c400
mov edx, esi
mov rcx, r12
call fcn.140173540
mov rcx, rdi
call fcn.140113a80
nop
lea rcx, [rsp + 0x58]
call fcn.14015bf80
jmp 0x1401cf702
mov r15, qword [rsp + 0x38]
cmp byte [rbp + 0xb0], 0
jne 0x1401cf7a8
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.1401cfae0
test al, al
jne 0x1401cf7a8
mov edx, esi
mov rcx, r15
call fcn.1401cfd00
cmp byte [rsp + 0x30], 0
je 0x1401cf80b
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, [0x140352920]
lea rcx, [rdi + 0x838]
call fcn.14013b830
test al, al
je 0x1401cf839
lea rcx, [rdi + 0x838]
call fcn.14013bd70
mov rcx, rdi
call fcn.140113b50
lea rdx, [r15 + 0xc0]
mov rcx, rdi
call fcn.140198c80
nop
lea rcx, [rsp + 0x58]
call fcn.14015bf80
jmp 0x1401cfa43
mov rcx, rax
call fcn.140113a80
mov ecx, 0xb20
call fcn.1401088d8
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401cf89c
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.14018c1e0
mov rdi, rax
jmp 0x1401cf89e
xor edi, edi
test rdi, rdi
je 0x1401cf8db
cmp dword [rdi + 0x790], 0x99b4002d
je 0x1401cf8e2
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.14015c6b0
xor ecx, ecx
call fcn.140110850
xor edi, edi
jmp 0x1401cfa43
mov rcx, rdi
call fcn.140113b50
mov rdx, rdi
mov rcx, r12
call fcn.140172330
cmp byte [rsp + 0x31], 0
je 0x1401cfa04
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.14015be20
nop
lea r13, [r15 + 0x90]
mov rcx, r13
call fcn.140172830
mov r12d, eax
xor esi, esi
test eax, eax
jle 0x1401cf9ef
nop dword [rax + rax]
mov edx, esi
mov rcx, r13
call fcn.140172670
mov r14, rax
test rax, rax
je 0x1401cf9e4
cmp dword [rax + 8], 0x62cb09e3
je 0x1401cf990
mov rax, qword [rbx]
lea rdx, str.Found_invalid_RecentTlsSession_object.
mov rcx, rbx
call qword [rax + 0x28]
mov edx, esi
mov rcx, r13
call fcn.140173380
dec esi
dec r12d
jmp 0x1401cf9e4
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.14013e1c0
test al, al
je 0x1401cf9e4
mov edx, esi
mov rcx, r13
call fcn.140173380
mov r15, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.14011a220
cmp dword [r15 + 8], 0x62cb09e3
je 0x1401cfa84
mov rax, qword [rbx]
lea rdx, str.Found_invalid_s154510zz_object.
mov rcx, rbx
call qword [rax + 0x28]
inc esi
cmp esi, r12d
jl 0x1401cf950
lea rcx, [rsp + 0x58]
call fcn.14015bf80
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x1401cfa1b
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.140113b50
mov rdx, qword [rsp + 0x38]
add rdx, 0xc0
mov rcx, rdi
call fcn.140198c80
nop
lea rcx, [rbp - 0x60]
call fcn.140138dc0
nop
lea rcx, [rsp + 0x70]
call fcn.14015bf80
nop
lea rcx, [rbp - 0x78]
call fcn.140173a80
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140109210
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [rbx + 0x169], 0
je 0x1401cfab2
mov rax, qword [rbx]
lea rdx, str.Returning_matching_recent_TLS_session.
mov rcx, rbx
call qword [rax + 0x30]
mov r8, qword [rsp + 0x40]
lea rdx, str.host
mov rcx, rbx
call fcn.14015ca70
nop
lea rcx, [rsp + 0x58]
call fcn.14015bf80
mov qword [rdi + 0xb10], r15
test r15, r15
je 0x1401cfa04
cmp dword [r15 + 8], 0x62cb09e3
je 0x1401cfa04
jmp 0x1401cf9f9