Function at 0x1401a0870
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 [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x30], rax
movzx r14d, r9b
mov byte [rsp + 0x31], r9b
mov esi, r8d
mov dword [rsp + 0x40], r8d
mov r13, rdx
mov qword [rsp + 0x48], 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.14006fda0
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.14004ce70
nop
cmp byte [rbx + 0x169], 0
je 0x1401a095a
mov r8, r13
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.14004db10
mov r8d, esi
lea rdx, str.port
mov rcx, rbx
call fcn.14004d750
movzx r8d, r14b
lea rdx, str.bTls
mov rcx, rbx
call fcn.14004d4a0
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.14004d4a0
lea rcx, [r15 + 0x50]
call fcn.140070f20
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.14002e000
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.14015ba30
cmp byte [rbx + 0x169], 0
je 0x1401a09eb
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.14004db10
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.14004d750
movzx edi, byte [rbx + 0x169]
mov byte [rsp + 0x30], dil
test dil, dil
je 0x1401a0a62
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.14004d750
mov rcx, r13
call fcn.140033b70
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.14004d210
mov r8d, esi
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.14004d750
lea rcx, [rbp - 0x60]
call fcn.140033b00
test eax, eax
je 0x1401a0a62
lea rcx, [rbp - 0x60]
call fcn.140033b70
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.14004d210
xor esi, esi
test r14d, r14d
jle 0x1401a0c92
nop dword [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.14004ce70
nop
mov edx, esi
lea rcx, [r15 + 0x50]
call fcn.140070d90
mov rdi, rax
test rax, rax
jne 0x1401a0abc
mov edx, esi
lea rcx, [r15 + 0x50]
call fcn.140071c20
dec r14d
dec esi
jmp 0x1401a0c3d
cmp dword [rax + 0x790], 0x99b4002d
je 0x1401a0af6
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.14004d750
xor ecx, ecx
call fcn.140030ce0
jmp 0x1401a0aa7
cmp byte [rsp + 0x30], 0
je 0x1401a0b6a
mov rcx, rdi
call fcn.1401a8e50
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.14004d210
mov rcx, rdi
call fcn.1401a8e60
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.14004d750
lea rcx, [rdi + 0x608]
call fcn.14004acf0
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.14004d210
lea rcx, [rdi + 0x40]
call fcn.14015bcd0
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.14004d750
lea rcx, [rbp - 0x60]
call fcn.140033b00
mov rcx, rdi
test eax, eax
je 0x1401a0c17
call fcn.1401a8e60
cmp eax, dword [rsp + 0x40]
jne 0x1401a0c3d
mov rcx, rdi
call fcn.1401a8e50
mov rdx, rax
mov rcx, r13
call fcn.140033110
test al, al
je 0x1401a0c3d
lea rcx, [rdi + 0x40]
call fcn.14015bcd0
cmp eax, dword [rsp + 0x50]
jne 0x1401a0c3d
lea rcx, [rdi + 0x608]
call fcn.14004acf0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140033110
test al, al
je 0x1401a0c3d
cmp byte [rbp + 0xb0], 0
jne 0x1401a0c6f
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.1401a1040
test al, al
jne 0x1401a0c54
mov edx, esi
mov rcx, r15
call fcn.1401a1260
cmp byte [rsp + 0x30], 0
je 0x1401a0d5e
lea rdx, str.Found_existing_proxy_connection.
jmp 0x1401a0d55
call fcn.1401a8e60
cmp eax, dword [rsp + 0x40]
jne 0x1401a0c3d
mov rcx, rdi
call fcn.1401a8e50
mov rdx, rax
mov rcx, r13
call fcn.140033110
test al, al
jne 0x1401a0d1a
lea rcx, [rsp + 0x58]
call fcn.14004d020
inc esi
cmp esi, r14d
jl 0x1401a0a70
jmp 0x1401a0c8d
cmp byte [rbx + 0x169], 0
je 0x1401a0c6f
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.14004d4a0
lea rcx, [r15 + 0x50]
mov edx, esi
call fcn.140071c20
mov rcx, rdi
call fcn.140064820
nop
lea rcx, [rsp + 0x58]
call fcn.14004d020
movzx edi, byte [rsp + 0x30]
cmp dword [r15 + 0x48], 0
je 0x1401a0dbb
lea rcx, [r15 + 0x50]
call fcn.140070f20
cmp eax, dword [r15 + 0x48]
jne 0x1401a0dbb
test dil, dil
je 0x1401a0cc5
mov rax, qword [rbx]
lea rdx, str.At_max_connections__removing_oldest.
mov rcx, rbx
call qword [rax + 0x30]
lea rcx, [r15 + 0x50]
xor edx, edx
call fcn.140071c20
test rax, rax
je 0x1401a0dbb
cmp dword [rax + 0x790], 0x99b4002d
je 0x1401a0db3
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.14004d750
xor ecx, ecx
call fcn.140030ce0
jmp 0x1401a0dbb
cmp byte [rbp + 0xb0], 0
jne 0x1401a0c6f
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.1401a1040
test al, al
jne 0x1401a0c6f
mov edx, esi
mov rcx, r15
call fcn.1401a1260
cmp byte [rsp + 0x30], 0
je 0x1401a0d5e
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, [0x1402da14c]
lea rcx, [rdi + 0x838]
call fcn.140030810
test al, al
je 0x1401a0d8c
lea rcx, [rdi + 0x838]
call fcn.140030e50
mov rcx, rdi
call fcn.1400648f0
lea rdx, [r15 + 0xc0]
mov rcx, rdi
call fcn.1401aabb0
nop
lea rcx, [rsp + 0x58]
call fcn.14004d020
jmp 0x1401a0f96
mov rcx, rax
call fcn.140064820
mov ecx, 0xb20
call fcn.140247500
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a0def
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.1401a2320
mov rdi, rax
jmp 0x1401a0df1
xor edi, edi
test rdi, rdi
je 0x1401a0e2e
cmp dword [rdi + 0x790], 0x99b4002d
je 0x1401a0e35
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.14004d750
xor ecx, ecx
call fcn.140030ce0
xor edi, edi
jmp 0x1401a0f96
mov rcx, rdi
call fcn.1400648f0
lea rcx, [r15 + 0x50]
mov rdx, rdi
call fcn.140070a10
cmp byte [rsp + 0x31], 0
je 0x1401a0f5c
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.14004cec0
nop
lea r12, [r15 + 0x90]
mov rcx, r12
call fcn.140070f10
mov r15d, eax
xor esi, esi
test eax, eax
jle 0x1401a0f42
nop dword [rax]
mov edx, esi
mov rcx, r12
call fcn.140070d50
mov r14, rax
test rax, rax
je 0x1401a0f37
cmp dword [rax + 8], 0x62cb09e3
je 0x1401a0ee0
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.140071a60
dec esi
dec r15d
jmp 0x1401a0f37
lea rcx, [rax + 0x10]
mov rdx, r13
call fcn.1400330e0
test al, al
je 0x1401a0f37
mov edx, esi
mov rcx, r12
call fcn.140071a60
mov r13, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.14005fd80
cmp dword [r13 + 8], 0x62cb09e3
je 0x1401a0fd7
mov rax, qword [rbx]
lea rdx, str.Found_invalid_s730476zz_object.
mov rcx, rbx
call qword [rax + 0x28]
mov r13, qword [rsp + 0x48]
inc esi
cmp esi, r15d
jl 0x1401a0ea0
lea rcx, [rsp + 0x58]
call fcn.14004d020
mov r15, qword [rsp + 0x38]
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x1401a0f73
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.1400648f0
lea rdx, [r15 + 0xc0]
mov rcx, rdi
call fcn.1401aabb0
nop
lea rcx, [rbp - 0x60]
call fcn.14002e050
nop
lea rcx, [rsp + 0x70]
call fcn.14004d020
nop
lea rcx, [rbp - 0x78]
call fcn.14006fe70
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1402474e0
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 0x1401a1005
mov rax, qword [rbx]
lea rdx, str.Returning_matching_recent_TLS_session.
mov rcx, rbx
call qword [rax + 0x30]
mov r8, qword [rsp + 0x48]
lea rdx, str.host
mov rcx, rbx
call fcn.14004db10
nop
lea rcx, [rsp + 0x58]
call fcn.14004d020
mov qword [rdi + 0xb10], r13
mov r15, qword [rsp + 0x38]
test r13, r13
je 0x1401a0f5c
cmp dword [r13 + 8], 0x62cb09e3
je 0x1401a0f5c
jmp 0x1401a0f51