Function at 0x4a7180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcfd5
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xb4], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov ebx, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x20]
push eax
mov dword [ebp - 0xc0], edi
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
call fcn.0042a4a0
push str.findAddHttpConn
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call fcn.00447ef0
cmp byte [esi + 0x129], 0
mov byte [ebp - 4], 1
je 0x4a7248
push edi
push str.sbHostname0
mov ecx, esi
call fcn.00448a80
push dword [ebp + 0xc]
mov ecx, esi
push str.port
call fcn.00448710
push dword [ebp + 0x10]
mov ecx, esi
push str.bTls
call fcn.00448490
push dword [ebp + 0x14]
mov ecx, esi
push str.bForceNewConnection
call fcn.00448490
mov eax, dword [ebp - 0xb4]
add eax, 0x2c
mov ecx, eax
mov dword [ebp - 0xbc], eax
call fcn.0045b290
mov edi, eax
lea eax, [ebp - 0xac]
push 0x74
push 0
push eax
mov dword [ebp - 0xb8], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.0042a8a0
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x14], 0
push eax
push 0
lea ecx, [ebx + 0x354]
call fcn.00414e30
cmp byte [esi + 0x129], 0
je 0x4a72d3
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
push str.sbProxyDomain
call fcn.00448a80
push dword [ebp - 0x14]
mov ecx, esi
push str.proxyPort
call fcn.00448710
mov al, byte [esi + 0x129]
mov byte [ebp - 0xad], al
test al, al
je 0x4a733e
push edi
push str.numExistingConnections
mov ecx, esi
call fcn.00448710
mov ecx, dword [ebp - 0xc0]
call fcn.0042f3c0
push eax
push str.lookingForHost
mov ecx, esi
call fcn.00448210
push dword [ebp + 0xc]
mov ecx, esi
push str.lookingForPort
call fcn.00448710
lea ecx, [ebp - 0xac]
call fcn.0042f360
test eax, eax
je 0x4a733e
lea ecx, [ebp - 0xac]
call fcn.0042f3c0
push eax
push str.lookingForProxy
mov ecx, esi
call fcn.00448210
xor ebx, ebx
test edi, edi
jle 0x4a752b
nop dword [eax + eax]
push str.existingConnection
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.00447ef0
mov ecx, dword [ebp - 0xbc]
push ebx
mov byte [ebp - 4], 3
call fcn.0045b150
mov edi, eax
test edi, edi
jne 0x4a739b
mov ecx, dword [ebp - 0xbc]
push ebx
call fcn.0045bc80
dec dword [ebp - 0xb8]
dec ebx
jmp 0x4a7512
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4a73e3
mov eax, dword [esi]
mov ecx, esi
push str.Invalid_HTTP_connection_object_found.
call dword [eax + 0x14]
push 0x78
push str.calledFrom
mov ecx, esi
call fcn.00448710
push 0
call fcn.004014f0
mov ecx, dword [ebp - 0xbc]
add esp, 4
push ebx
call fcn.0045bc80
dec dword [ebp - 0xb8]
dec ebx
jmp 0x4a7512
cmp byte [ebp - 0xad], 0
je 0x4a7441
mov ecx, edi
call fcn.0047d0d0
push eax
push str.connection
mov ecx, esi
call fcn.00448210
mov ecx, edi
call fcn.0047d0e0
push eax
push str.port
mov ecx, esi
call fcn.00448710
lea ecx, [edi + 0x48c]
call fcn.004068f0
push eax
push str.connection_proxyHost
mov ecx, esi
call fcn.00448210
lea ecx, [edi + 0x28]
call fcn.004150c0
push eax
push str.proxyPort
mov ecx, esi
call fcn.00448710
lea ecx, [ebp - 0xac]
call fcn.0042f360
mov ecx, edi
test eax, eax
je 0x4a74ed
call fcn.0047d0e0
cmp eax, dword [ebp + 0xc]
jne 0x4a7512
mov ecx, edi
call fcn.0047d0d0
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.0042ebd0
test al, al
je 0x4a7512
lea ecx, [edi + 0x28]
call fcn.004150c0
cmp eax, dword [ebp - 0x14]
jne 0x4a7512
lea ecx, [edi + 0x48c]
call fcn.004068f0
push eax
lea ecx, [ebp - 0xac]
call fcn.0042ebd0
test al, al
je 0x4a7512
cmp byte [ebp + 0x14], 0
jne 0x4a75c7
mov ecx, dword [ebp - 0xb4]
push esi
push edi
call fcn.004a7910
test al, al
jne 0x4a75b0
mov ecx, dword [ebp - 0xb4]
push ebx
call fcn.004a7b30
cmp byte [ebp - 0xad], 0
je 0x4a7625
push str.Found_existing_proxy_connection.
jmp 0x4a761e
call fcn.0047d0e0
cmp eax, dword [ebp + 0xc]
jne 0x4a7512
mov ecx, edi
call fcn.0047d0d0
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.0042ebd0
test al, al
jne 0x4a75ed
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00447ff0
inc ebx
cmp ebx, dword [ebp - 0xb8]
jl 0x4a7350
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb4]
cmp dword [edi + 0x28], 0
je 0x4a767b
mov ecx, ebx
call fcn.0045b290
cmp eax, dword [edi + 0x28]
jne 0x4a767b
cmp byte [ebp - 0xad], 0
je 0x4a7566
mov eax, dword [esi]
mov ecx, esi
push str.At_max_connections__removing_oldest.
call dword [eax + 0x18]
push 0
mov ecx, ebx
call fcn.0045bc80
test eax, eax
je 0x4a767b
cmp dword [eax + 0x5b4], 0x99b4002d
je 0x4a7674
mov eax, dword [esi]
mov ecx, esi
push str.Invalid_HTTP_connection_object_found.
call dword [eax + 0x14]
push 0x79
push str.calledFrom
mov ecx, esi
call fcn.00448710
push 0
call fcn.004014f0
add esp, 4
jmp 0x4a767b
cmp byte [esi + 0x129], 0
je 0x4a75c7
push 1
push str.inactiveForTooLong
mov ecx, esi
call fcn.00448490
push ebx
mov ebx, dword [ebp - 0xbc]
mov ecx, ebx
call fcn.0045bc80
mov ecx, edi
call fcn.0040b3c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00447ff0
jmp 0x4a7531
cmp byte [ebp + 0x14], 0
jne 0x4a75c7
mov ecx, dword [ebp - 0xb4]
push esi
push edi
call fcn.004a7910
test al, al
jne 0x4a75c7
mov ecx, dword [ebp - 0xb4]
push ebx
call fcn.004a7b30
cmp byte [ebp - 0xad], 0
je 0x4a7625
push str.Found_existing_connection.
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
call sub.KERNEL32.DLL_GetTickCount
push 0x607530
lea ecx, [edi + 0x638]
mov dword [edi + 0x634], eax
call fcn.0042c530
test al, al
je 0x4a764f
lea ecx, [edi + 0x638]
call fcn.0042c920
mov ecx, edi
call fcn.0040b450
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 0x6c
push eax
call fcn.004802b0
lea ecx, [ebp - 0x20]
call fcn.00447ff0
jmp 0x4a786d
mov ecx, eax
call fcn.0040b3c0
push 0x870
call fcn.005af5bb
mov edi, eax
add esp, 4
mov dword [ebp - 0xb8], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x4a76b3
push 0x870
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.00474850
mov edi, eax
jmp 0x4a76b5
xor edi, edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4a76f0
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4a76f7
mov eax, dword [esi]
mov ecx, esi
push str.Invalid_HTTP_connection_object_found.
call dword [eax + 0x14]
push 0x3e9
push str.calledFrom
mov ecx, esi
call fcn.00448710
push 0
call fcn.004014f0
add esp, 4
xor edi, edi
jmp 0x4a786d
mov ecx, edi
call fcn.0040b450
push edi
mov ecx, ebx
call fcn.0045ae40
cmp byte [ebp + 0x10], 0
je 0x4a7835
movzx eax, byte [esi + 0x129]
lea ecx, [ebp - 0x20]
push eax
push str.findRecentTlsSession
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push esi
movq qword [ebp - 0x20], xmm0
call fcn.00447f20
mov ecx, dword [ebp - 0xb4]
add ecx, 0x50
mov byte [ebp - 4], 5
call fcn.0045b280
xor ebx, ebx
mov dword [ebp - 0xb8], eax
test eax, eax
jle 0x4a781f
nop word [eax + eax]
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045b110
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4a7810
cmp dword [eax + 4], 0x62cb09e3
je 0x4a77b1
mov eax, dword [esi]
mov ecx, esi
push str.Found_invalid_RecentTlsSession_object.
call dword [eax + 0x14]
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045bb60
mov eax, dword [ebp - 0xb8]
dec ebx
dec eax
mov dword [ebp - 0xb8], eax
jmp 0x4a7816
push dword [ebp - 0xc0]
lea ecx, [eax + 8]
call fcn.0042eba0
test al, al
je 0x4a7810
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045bb60
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0xbc], ecx
mov dword [eax + 0x7c], 0
call fcn.0042a380
mov eax, dword [ebp - 0xbc]
add esp, 4
cmp dword [eax + 4], 0x62cb09e3
je 0x4a78a8
mov eax, dword [esi]
mov ecx, esi
push str.Found_invalid_TlsSessionInfo_object.
call dword [eax + 0x14]
mov eax, dword [ebp - 0xb8]
inc ebx
cmp ebx, eax
jl 0x4a7760
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00447ff0
mov dword [edi + 0x864], 0
cmp byte [ebp - 0xad], 0
je 0x4a784a
mov eax, dword [esi]
mov ecx, esi
push str.Will_need_to_open_a_new_connection.
call dword [eax + 0x18]
call sub.KERNEL32.DLL_GetTickCount
mov ecx, edi
mov dword [edi + 0x634], eax
call fcn.0040b450
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 0x6c
push eax
call fcn.004802b0
lea ecx, [ebp - 0xac]
call fcn.0042a8f0
lea ecx, [ebp - 0x2c]
call fcn.00447ff0
lea ecx, [ebp - 0x38]
call fcn.0042a570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret 0x1c
cmp byte [esi + 0x129], 0
je 0x4a78cf
mov eax, dword [esi]
mov ecx, esi
push str.Returning_matching_recent_TLS_session.
call dword [eax + 0x18]
push dword [ebp - 0xc0]
mov ecx, esi
push str.host
call fcn.00448a80
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00447ff0
mov eax, dword [ebp - 0xbc]
mov dword [edi + 0x864], eax
test eax, eax
je 0x4a7835
cmp dword [eax + 4], 0x62cb09e3
je 0x4a7835
jmp 0x4a782b