Function at 0x180178db0
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 [0x1802cd010]
xor rax, rsp
mov qword [rbp + 0x30], rax
movzx r15d, r9b
mov byte [rsp + 0x31], r9b
mov esi, r8d
mov dword [rsp + 0x48], r8d
mov r13, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov rbx, qword [rbp + 0xc8]
mov rdi, qword [rbp + 0xc0]
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.18004bc90
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.180029f30
nop
cmp byte [rbx + 0x169], 0
je 0x180178e9a
mov r8, r13
lea rdx, str.sbHostname0
mov rcx, rbx
call fcn.18002abd0
mov r8d, esi
lea rdx, str.port
mov rcx, rbx
call fcn.18002a810
movzx r8d, r15b
lea rdx, str.bTls
mov rcx, rbx
call fcn.18002a560
movzx r8d, byte [rbp + 0xb0]
lea rdx, str.bForceNewConnection
mov rcx, rbx
call fcn.18002a560
lea r15, [r14 + 0x50]
mov rcx, r15
call fcn.18004cde0
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.18000aea0
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.180135430
movzx r12d, byte [rbx + 0x169]
mov byte [rsp + 0x30], r12b
test r12b, r12b
je 0x180178fb3
lea r8, [rbp - 0x60]
lea rdx, str.sbProxyDomain
mov rcx, rbx
call fcn.18002abd0
mov r8d, dword [rsp + 0x50]
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.18002a810
movzx r12d, byte [rbx + 0x169]
mov byte [rsp + 0x30], r12b
test r12b, r12b
je 0x180178fb3
mov r8d, r14d
lea rdx, str.numExistingConnections
mov rcx, rbx
call fcn.18002a810
mov rcx, r13
call fcn.180010a70
mov r8, rax
lea rdx, str.lookingForHost
mov rcx, rbx
call fcn.18002a2d0
mov r8d, esi
lea rdx, str.lookingForPort
mov rcx, rbx
call fcn.18002a810
lea rcx, [rbp - 0x60]
call fcn.180010a00
test eax, eax
je 0x180178fb3
lea rcx, [rbp - 0x60]
call fcn.180010a70
mov r8, rax
lea rdx, str.lookingForProxy
mov rcx, rbx
call fcn.18002a2d0
xor esi, esi
test r14d, r14d
jle 0x1801792a1
nop
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.180029f30
nop
mov edx, esi
mov rcx, r15
call fcn.18004cc50
mov rdi, rax
test rax, rax
jne 0x18017900a
mov edx, esi
mov rcx, r15
call fcn.18004da60
dec r14d
dec esi
jmp 0x180179144
cmp dword [rax + 0x790], 0x99b4002d
je 0x180179056
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.18002a810
xor ecx, ecx
call fcn.18000d700
mov edx, esi
mov rcx, r15
call fcn.18004da60
dec r14d
dec esi
jmp 0x180179144
test r12b, r12b
je 0x1801790d0
mov rcx, rdi
call fcn.180181370
mov r8, rax
lea rdx, str.connection
mov rcx, rbx
call fcn.18002a2d0
mov rcx, rdi
call fcn.180181380
mov r8d, eax
lea rdx, str.port
mov rcx, rbx
call fcn.18002a810
lea r13, [rdi + 0x608]
mov rcx, r13
call fcn.180027e00
mov r8, rax
lea rdx, str.connection_proxyHost
mov rcx, rbx
call fcn.18002a2d0
lea r12, [rdi + 0x40]
mov rcx, r12
call fcn.1801356d0
mov r8d, eax
lea rdx, str.proxyPort
mov rcx, rbx
call fcn.18002a810
jmp 0x1801790db
lea r12, [rax + 0x40]
lea r13, [rax + 0x608]
lea rcx, [rbp - 0x60]
call fcn.180010a00
mov rcx, rdi
test eax, eax
je 0x18017915e
call fcn.180181380
cmp eax, dword [rsp + 0x48]
jne 0x180179139
mov rcx, rdi
call fcn.180181370
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.180010000
test al, al
je 0x180179139
mov rcx, r12
call fcn.1801356d0
cmp eax, dword [rsp + 0x50]
jne 0x180179139
mov rcx, r13
call fcn.180027e00
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180010000
test al, al
jne 0x180179223
mov r13, qword [rsp + 0x38]
movzx r12d, byte [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.18002a0e0
inc esi
cmp esi, r14d
jge 0x1801792a1
jmp 0x180178fc0
call fcn.180181380
cmp eax, dword [rsp + 0x48]
jne 0x180179139
mov rcx, rdi
call fcn.180181370
mov rdx, rax
mov r13, qword [rsp + 0x38]
mov rcx, r13
call fcn.180010000
test al, al
je 0x18017913e
cmp byte [rbp + 0xb0], 0
jne 0x180179284
mov r8, rbx
mov rdx, rdi
mov r14, qword [rsp + 0x40]
mov rcx, r14
call fcn.180179590
test al, al
jne 0x180179284
mov edx, esi
mov rcx, r14
call fcn.1801797b0
cmp byte [rsp + 0x30], 0
je 0x1801791ce
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, [0x180276ccc]
lea rcx, [rdi + 0x838]
call fcn.18000d230
test al, al
je 0x1801791fc
lea rcx, [rdi + 0x838]
call fcn.18000d870
mov rcx, rdi
call fcn.180041700
lea rdx, [r14 + 0xc0]
mov rcx, rdi
call fcn.1801830a0
nop
lea rcx, [rsp + 0x58]
call fcn.18002a0e0
jmp 0x180179545
cmp byte [rbp + 0xb0], 0
jne 0x18017927f
mov r8, rbx
mov rdx, rdi
mov r14, qword [rsp + 0x40]
mov rcx, r14
call fcn.180179590
test al, al
jne 0x180179264
mov edx, esi
mov rcx, r14
call fcn.1801797b0
cmp byte [rsp + 0x30], 0
je 0x1801791ce
lea rdx, str.Found_existing_proxy_connection.
jmp 0x1801791c5
cmp byte [rbx + 0x169], 0
je 0x18017927f
mov r8b, 1
lea rdx, str.inactiveForTooLong
mov rcx, rbx
call fcn.18002a560
mov r13, qword [rsp + 0x38]
mov edx, esi
mov rcx, r15
call fcn.18004da60
mov rcx, rdi
call fcn.180041630
nop
lea rcx, [rsp + 0x58]
call fcn.18002a0e0
mov rsi, qword [rsp + 0x40]
cmp dword [rsi + 0x48], 0
je 0x180179321
mov rcx, r15
call fcn.18004cde0
cmp eax, dword [rsi + 0x48]
jne 0x180179321
cmp byte [rsp + 0x30], 0
je 0x1801792d0
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.18004da60
test rax, rax
je 0x180179321
cmp dword [rax + 0x790], 0x99b4002d
je 0x180179319
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.18002a810
xor ecx, ecx
call fcn.18000d700
jmp 0x180179321
mov rcx, rax
call fcn.180041630
mov ecx, 0xb20
call fcn.1800098d0
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180179355
xor edx, edx
mov r8d, 0xb20
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.18017a850
mov rdi, rax
jmp 0x180179357
xor edi, edi
test rdi, rdi
je 0x180179394
cmp dword [rdi + 0x790], 0x99b4002d
je 0x18017939b
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.18002a810
xor ecx, ecx
call fcn.18000d700
xor edi, edi
jmp 0x180179545
mov rcx, rdi
call fcn.180041700
mov rdx, rdi
mov rcx, r15
call fcn.18004c8f0
cmp byte [rsp + 0x31], 0
je 0x18017950b
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.180029f80
nop
lea r12, [rsi + 0x90]
mov rcx, r12
call fcn.18004cdd0
mov r15d, eax
xor esi, esi
test eax, eax
jle 0x1801794f1
mov edx, esi
mov rcx, r12
call fcn.18004cc10
mov r14, rax
test rax, rax
je 0x18017948b
cmp dword [rax + 8], 0x62cb09e3
je 0x18017943d
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.18004d8a0
dec esi
dec r15d
jmp 0x18017948b
lea rcx, [rax + 0x10]
mov rdx, r13
call fcn.18000ffc0
test al, al
je 0x18017948b
mov edx, esi
mov rcx, r12
call fcn.18004d8a0
mov r13, qword [r14 + 0xa0]
mov qword [r14 + 0xa0], 0
mov rcx, r14
call fcn.18003ccf0
cmp dword [r13 + 8], 0x62cb09e3
je 0x18017949c
mov rax, qword [rbx]
lea rdx, str.Found_invalid_s730476zz_object.
mov rcx, rbx
call qword [rax + 0x28]
inc esi
cmp esi, r15d
jge 0x1801794f1
mov r13, qword [rsp + 0x38]
jmp 0x180179401
cmp byte [rbx + 0x169], 0
je 0x1801794ca
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.18002abd0
nop
lea rcx, [rsp + 0x58]
call fcn.18002a0e0
mov qword [rdi + 0xb10], r13
mov rsi, qword [rsp + 0x40]
test r13, r13
je 0x18017950b
cmp dword [r13 + 8], 0x62cb09e3
je 0x18017950b
jmp 0x180179500
lea rcx, [rsp + 0x58]
call fcn.18002a0e0
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0xb10], 0
cmp byte [rsp + 0x30], 0
je 0x180179522
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.180041700
lea rdx, [rsi + 0xc0]
mov rcx, rdi
call fcn.1801830a0
nop
lea rcx, [rbp - 0x60]
call fcn.18000aef0
nop
lea rcx, [rsp + 0x70]
call fcn.18002a0e0
nop
lea rcx, [rbp - 0x78]
call fcn.18004bd60
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180009610
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret