Function at 0x1401652d0
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 [0x1403721e8]
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.1400d4190
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.1400f64d0
nop
cmp byte [rbx + 0x161], 0
je 0x1401653ba
mov r8, r13
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.1400f70c0
mov r8d, esi
lea rdx, str.port
mov rcx, rbx
call fcn.1400f6d00
movzx r8d, r14b
lea rdx, str.bTls
mov rcx, rbx
call fcn.1400f6a50
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.1400f6a50
lea r15, [r12 + 0x50]
mov rcx, r15
call fcn.14010adf0
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.1400d4580
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.1400be1a0
cmp byte [rbx + 0x161], 0
je 0x14016544f
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.1400f70c0
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.1400f6d00
movzx edi, byte [rbx + 0x161]
mov byte [rsp + 0x30], dil
test dil, dil
je 0x1401654c6
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.1400f6d00
mov rcx, r13
call fcn.1400da480
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.1400f67c0
mov r8d, esi
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.1400f6d00
lea rcx, [rbp - 0x60]
call fcn.1400da410
test eax, eax
je 0x1401654c6
lea rcx, [rbp - 0x60]
call fcn.1400da480
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.1400f67c0
xor esi, esi
test r14d, r14d
jle 0x140165674
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.1400f64d0
nop
mov edx, esi
mov rcx, r15
call fcn.14010acc0
mov rdi, rax
test rax, rax
jne 0x14016551b
mov edx, esi
mov rcx, r15
call fcn.14010b9b0
dec r14d
dec esi
jmp 0x140165655
cmp dword [rax + 0x790], 0x99b4002d
je 0x140165567
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.1400f6d00
xor ecx, ecx
call fcn.1400b09c0
mov edx, esi
mov rcx, r15
call fcn.14010b9b0
dec r14d
dec esi
jmp 0x140165655
cmp byte [rsp + 0x30], 0
je 0x1401655e3
mov rcx, rdi
call fcn.14012f450
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.1400f67c0
mov rcx, rdi
call fcn.14012f460
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.1400f6d00
lea r13, [rdi + 0x608]
mov rcx, r13
call fcn.1400ad740
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.1400f67c0
lea r12, [rdi + 0x40]
mov rcx, r12
call fcn.1400be440
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.1400f6d00
jmp 0x1401655ee
lea r12, [rax + 0x40]
lea r13, [rax + 0x608]
lea rcx, [rbp - 0x60]
call fcn.1400da410
mov rcx, rdi
test eax, eax
je 0x1401656fc
call fcn.14012f460
cmp eax, dword [rsp + 0x48]
jne 0x140165650
mov rcx, rdi
call fcn.14012f450
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.1400d9ae0
test al, al
je 0x140165650
mov rcx, r12
call fcn.1400be440
cmp eax, dword [rsp + 0x50]
jne 0x140165650
mov rcx, r13
call fcn.1400ad740
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400d9ae0
test al, al
jne 0x1401657ca
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400f65e0
inc esi
cmp esi, r14d
jl 0x1401654d1
mov r12, qword [rsp + 0x40]
movzx edi, byte [rsp + 0x30]
cmp dword [r12 + 0x48], 0
je 0x140165855
mov rcx, r15
call fcn.14010adf0
cmp eax, dword [r12 + 0x48]
jne 0x140165855
test dil, dil
je 0x1401656a8
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.14010b9b0
test rax, rax
je 0x140165855
cmp dword [rax + 0x790], 0x99b4002d
je 0x14016584d
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.1400f6d00
xor ecx, ecx
call fcn.1400b09c0
jmp 0x140165855
call fcn.14012f460
cmp eax, dword [rsp + 0x48]
jne 0x140165650
mov rcx, rdi
call fcn.14012f450
mov rdx, rax
mov r13, qword [rsp + 0x38]
mov rcx, r13
call fcn.1400d9ae0
test al, al
je 0x140165655
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x14016582b
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.140165ac0
test al, al
jne 0x14016582b
mov edx, esi
mov rcx, r12
call fcn.140165ce0
cmp byte [rsp + 0x30], 0
je 0x140165774
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, [0x14029bab0]
lea rcx, [rdi + 0x838]
call fcn.1400d6c80
test al, al
je 0x1401657a2
lea rcx, [rdi + 0x838]
call fcn.1400d71c0
mov rcx, rdi
call fcn.1400b2a20
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.1401327a0
nop
lea rcx, [rsp + 0x58]
call fcn.1400f65e0
jmp 0x140165a7e
mov r12, qword [rsp + 0x40]
cmp byte [rbp + 0xb0], 0
jne 0x140165826
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.140165ac0
test al, al
jne 0x14016580b
mov edx, esi
mov rcx, r12
call fcn.140165ce0
cmp byte [rsp + 0x30], 0
je 0x140165774
lea rdx, str.Found_existing_proxy_connection.
jmp 0x14016576b
cmp byte [rbx + 0x161], 0
je 0x140165826
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.1400f6a50
mov r13, qword [rsp + 0x38]
mov edx, esi
mov rcx, r15
call fcn.14010b9b0
mov rcx, rdi
call fcn.1400b2950
nop
lea rcx, [rsp + 0x58]
call fcn.1400f65e0
jmp 0x14016566f
mov rcx, rax
call fcn.1400b2950
mov ecx, 0xb20
call fcn.1402548a0
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140165889
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.140125bc0
mov rdi, rax
jmp 0x14016588b
xor edi, edi
test rdi, rdi
je 0x1401658c8
cmp dword [rdi + 0x790], 0x99b4002d
je 0x1401658cf
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.1400f6d00
xor ecx, ecx
call fcn.1400b09c0
xor edi, edi
jmp 0x140165a7e
mov rcx, rdi
call fcn.1400b2a20
mov rdx, rdi
mov rcx, r15
call fcn.14010a9e0
cmp byte [rsp + 0x31], 0
je 0x140165a43
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
movzx r9d, byte [rbx + 0x161]
lea r8, str.findRecentTlsSession
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400f6520
nop
add r12, 0x90
mov rcx, r12
call fcn.14010ade0
mov r15d, eax
xor esi, esi
test eax, eax
jle 0x140165a29
mov edx, esi
mov rcx, r12
call fcn.14010ac80
mov r14, rax
test rax, rax
je 0x1401659c3
cmp dword [rax + 8], 0x62cb09e3
je 0x140165975
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.14010b7f0
dec esi
dec r15d
jmp 0x1401659c3
lea rcx, [rax + 0x10]
mov rdx, r13
call fcn.1400d9ab0
test al, al
je 0x1401659c3
mov edx, esi
mov rcx, r12
call fcn.14010b7f0
mov r13, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.1400d4050
cmp dword [r13 + 8], 0x62cb09e3
je 0x1401659d4
mov rax, qword [rbx]
lea rdx, str.Found_invalid_TlsSessionInfo_object.
mov rcx, rbx
call qword [rax + 0x28]
inc esi
cmp esi, r15d
jge 0x140165a29
mov r13, qword [rsp + 0x38]
jmp 0x140165935
cmp byte [rbx + 0x161], 0
je 0x140165a02
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.1400f70c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400f65e0
mov qword [rdi + 0xb10], r13
mov r12, qword [rsp + 0x40]
test r13, r13
je 0x140165a43
cmp dword [r13 + 8], 0x62cb09e3
je 0x140165a43
jmp 0x140165a38
lea rcx, [rsp + 0x58]
call fcn.1400f65e0
mov r12, qword [rsp + 0x40]
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x140165a5a
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.1400b2a20
lea rdx, [r12 + 0xc0]
mov rcx, rdi
call fcn.1401327a0
nop
lea rcx, [rbp - 0x60]
call fcn.1400d45d0
nop
lea rcx, [rsp + 0x70]
call fcn.1400f65e0
nop
lea rcx, [rbp - 0x78]
call fcn.1400d4260
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret