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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd045
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.0042a510
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.00447f50
cmp byte [esi + 0x129], 0
mov byte [ebp - 4], 1
je 0x4a7278
push edi
push str.sbHostname0
mov ecx, esi
call fcn.00448ae0
push dword [ebp + 0xc]
mov ecx, esi
push str.port
call fcn.00448770
push dword [ebp + 0x10]
mov ecx, esi
push str.bTls
call fcn.004484f0
push dword [ebp + 0x14]
mov ecx, esi
push str.bForceNewConnection
call fcn.004484f0
mov eax, dword [ebp - 0xb4]
add eax, 0x2c
mov ecx, eax
mov dword [ebp - 0xbc], eax
call fcn.0045b2e0
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.0042a910
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.00414e90
cmp byte [esi + 0x129], 0
je 0x4a7303
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
push str.sbProxyDomain
call fcn.00448ae0
push dword [ebp - 0x14]
mov ecx, esi
push str.proxyPort
call fcn.00448770
mov al, byte [esi + 0x129]
mov byte [ebp - 0xad], al
test al, al
je 0x4a736e
push edi
push str.numExistingConnections
mov ecx, esi
call fcn.00448770
mov ecx, dword [ebp - 0xc0]
call fcn.0042f430
push eax
push str.lookingForHost
mov ecx, esi
call fcn.00448270
push dword [ebp + 0xc]
mov ecx, esi
push str.lookingForPort
call fcn.00448770
lea ecx, [ebp - 0xac]
call fcn.0042f3d0
test eax, eax
je 0x4a736e
lea ecx, [ebp - 0xac]
call fcn.0042f430
push eax
push str.lookingForProxy
mov ecx, esi
call fcn.00448270
xor ebx, ebx
test edi, edi
jle 0x4a755b
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.00447f50
mov ecx, dword [ebp - 0xbc]
push ebx
mov byte [ebp - 4], 3
call fcn.0045b1a0
mov edi, eax
test edi, edi
jne 0x4a73cb
mov ecx, dword [ebp - 0xbc]
push ebx
call fcn.0045bcd0
dec dword [ebp - 0xb8]
dec ebx
jmp 0x4a7542
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4a7413
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.00448770
push 0
call fcn.004014f0
mov ecx, dword [ebp - 0xbc]
add esp, 4
push ebx
call fcn.0045bcd0
dec dword [ebp - 0xb8]
dec ebx
jmp 0x4a7542
cmp byte [ebp - 0xad], 0
je 0x4a7471
mov ecx, edi
call fcn.0047d120
push eax
push str.connection
mov ecx, esi
call fcn.00448270
mov ecx, edi
call fcn.0047d130
push eax
push str.port
mov ecx, esi
call fcn.00448770
lea ecx, [edi + 0x48c]
call fcn.00406960
push eax
push str.connection_proxyHost
mov ecx, esi
call fcn.00448270
lea ecx, [edi + 0x28]
call fcn.00415120
push eax
push str.proxyPort
mov ecx, esi
call fcn.00448770
lea ecx, [ebp - 0xac]
call fcn.0042f3d0
mov ecx, edi
test eax, eax
je 0x4a751d
call fcn.0047d130
cmp eax, dword [ebp + 0xc]
jne 0x4a7542
mov ecx, edi
call fcn.0047d120
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.0042ec40
test al, al
je 0x4a7542
lea ecx, [edi + 0x28]
call fcn.00415120
cmp eax, dword [ebp - 0x14]
jne 0x4a7542
lea ecx, [edi + 0x48c]
call fcn.00406960
push eax
lea ecx, [ebp - 0xac]
call fcn.0042ec40
test al, al
je 0x4a7542
cmp byte [ebp + 0x14], 0
jne 0x4a75f7
mov ecx, dword [ebp - 0xb4]
push esi
push edi
call fcn.004a7940
test al, al
jne 0x4a75e0
mov ecx, dword [ebp - 0xb4]
push ebx
call fcn.004a7b60
cmp byte [ebp - 0xad], 0
je 0x4a7655
push str.Found_existing_proxy_connection.
jmp 0x4a764e
call fcn.0047d130
cmp eax, dword [ebp + 0xc]
jne 0x4a7542
mov ecx, edi
call fcn.0047d120
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.0042ec40
test al, al
jne 0x4a761d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00448050
inc ebx
cmp ebx, dword [ebp - 0xb8]
jl 0x4a7380
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb4]
cmp dword [edi + 0x28], 0
je 0x4a76ab
mov ecx, ebx
call fcn.0045b2e0
cmp eax, dword [edi + 0x28]
jne 0x4a76ab
cmp byte [ebp - 0xad], 0
je 0x4a7596
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.0045bcd0
test eax, eax
je 0x4a76ab
cmp dword [eax + 0x5b4], 0x99b4002d
je 0x4a76a4
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.00448770
push 0
call fcn.004014f0
add esp, 4
jmp 0x4a76ab
cmp byte [esi + 0x129], 0
je 0x4a75f7
push 1
push str.inactiveForTooLong
mov ecx, esi
call fcn.004484f0
push ebx
mov ebx, dword [ebp - 0xbc]
mov ecx, ebx
call fcn.0045bcd0
mov ecx, edi
call fcn.0040b430
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00448050
jmp 0x4a7561
cmp byte [ebp + 0x14], 0
jne 0x4a75f7
mov ecx, dword [ebp - 0xb4]
push esi
push edi
call fcn.004a7940
test al, al
jne 0x4a75f7
mov ecx, dword [ebp - 0xb4]
push ebx
call fcn.004a7b60
cmp byte [ebp - 0xad], 0
je 0x4a7655
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.0042c5a0
test al, al
je 0x4a767f
lea ecx, [edi + 0x638]
call fcn.0042c990
mov ecx, edi
call fcn.0040b4c0
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 0x6c
push eax
call fcn.00480300
lea ecx, [ebp - 0x20]
call fcn.00448050
jmp 0x4a789d
mov ecx, eax
call fcn.0040b430
push 0x870
call fcn.005af62b
mov edi, eax
add esp, 4
mov dword [ebp - 0xb8], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x4a76e3
push 0x870
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.004748a0
mov edi, eax
jmp 0x4a76e5
xor edi, edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4a7720
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4a7727
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.00448770
push 0
call fcn.004014f0
add esp, 4
xor edi, edi
jmp 0x4a789d
mov ecx, edi
call fcn.0040b4c0
push edi
mov ecx, ebx
call fcn.0045ae90
cmp byte [ebp + 0x10], 0
je 0x4a7865
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.00447f80
mov ecx, dword [ebp - 0xb4]
add ecx, 0x50
mov byte [ebp - 4], 5
call fcn.0045b2d0
xor ebx, ebx
mov dword [ebp - 0xb8], eax
test eax, eax
jle 0x4a784f
nop word [eax + eax]
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045b160
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4a7840
cmp dword [eax + 4], 0x62cb09e3
je 0x4a77e1
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.0045bbb0
mov eax, dword [ebp - 0xb8]
dec ebx
dec eax
mov dword [ebp - 0xb8], eax
jmp 0x4a7846
push dword [ebp - 0xc0]
lea ecx, [eax + 8]
call fcn.0042ec10
test al, al
je 0x4a7840
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045bbb0
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0xbc], ecx
mov dword [eax + 0x7c], 0
call fcn.0042a3f0
mov eax, dword [ebp - 0xbc]
add esp, 4
cmp dword [eax + 4], 0x62cb09e3
je 0x4a78d8
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 0x4a7790
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00448050
mov dword [edi + 0x864], 0
cmp byte [ebp - 0xad], 0
je 0x4a787a
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.0040b4c0
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 0x6c
push eax
call fcn.00480300
lea ecx, [ebp - 0xac]
call fcn.0042a960
lea ecx, [ebp - 0x2c]
call fcn.00448050
lea ecx, [ebp - 0x38]
call fcn.0042a5e0
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.005af618
mov esp, ebp
pop ebp
ret 0x1c
cmp byte [esi + 0x129], 0
je 0x4a78ff
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.00448ae0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00448050
mov eax, dword [ebp - 0xbc]
mov dword [edi + 0x864], eax
test eax, eax
je 0x4a7865
cmp dword [eax + 4], 0x62cb09e3
je 0x4a7865
jmp 0x4a785b