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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0ff5
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x692c00]
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.0042a6f0
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.004481f0
cmp byte [esi + 0x129], 0
mov byte [ebp - 4], 1
je 0x4a7e68
push edi
push str.sbHostname0
mov ecx, esi
call fcn.00448d80
push dword [ebp + 0xc]
mov ecx, esi
push str.port
call fcn.00448a10
push dword [ebp + 0x10]
mov ecx, esi
push str.bTls
call fcn.00448790
push dword [ebp + 0x14]
mov ecx, esi
push str.bForceNewConnection
call fcn.00448790
mov eax, dword [ebp - 0xb4]
add eax, 0x2c
mov ecx, eax
mov dword [ebp - 0xbc], eax
call fcn.0045ca90
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.0042aaf0
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.00414fc0
cmp byte [esi + 0x129], 0
je 0x4a7ef3
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
push str.sbProxyDomain
call fcn.00448d80
push dword [ebp - 0x14]
mov ecx, esi
push str.proxyPort
call fcn.00448a10
mov al, byte [esi + 0x129]
mov byte [ebp - 0xad], al
test al, al
je 0x4a7f5e
push edi
push str.numExistingConnections
mov ecx, esi
call fcn.00448a10
mov ecx, dword [ebp - 0xc0]
call fcn.0042f610
push eax
push str.lookingForHost
mov ecx, esi
call fcn.00448510
push dword [ebp + 0xc]
mov ecx, esi
push str.lookingForPort
call fcn.00448a10
lea ecx, [ebp - 0xac]
call fcn.0042f5b0
test eax, eax
je 0x4a7f5e
lea ecx, [ebp - 0xac]
call fcn.0042f610
push eax
push str.lookingForProxy
mov ecx, esi
call fcn.00448510
xor ebx, ebx
test edi, edi
jle 0x4a814b
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.004481f0
mov ecx, dword [ebp - 0xbc]
push ebx
mov byte [ebp - 4], 3
call fcn.0045c950
mov edi, eax
test edi, edi
jne 0x4a7fbb
mov ecx, dword [ebp - 0xbc]
push ebx
call fcn.0045d480
dec dword [ebp - 0xb8]
dec ebx
jmp 0x4a8132
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4a8003
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.00448a10
push 0
call fcn.00401520
mov ecx, dword [ebp - 0xbc]
add esp, 4
push ebx
call fcn.0045d480
dec dword [ebp - 0xb8]
dec ebx
jmp 0x4a8132
cmp byte [ebp - 0xad], 0
je 0x4a8061
mov ecx, edi
call fcn.0047d5a0
push eax
push str.connection
mov ecx, esi
call fcn.00448510
mov ecx, edi
call fcn.0047d5b0
push eax
push str.port
mov ecx, esi
call fcn.00448a10
lea ecx, [edi + 0x48c]
call fcn.00406990
push eax
push str.connection_proxyHost
mov ecx, esi
call fcn.00448510
lea ecx, [edi + 0x28]
call fcn.00415250
push eax
push str.proxyPort
mov ecx, esi
call fcn.00448a10
lea ecx, [ebp - 0xac]
call fcn.0042f5b0
mov ecx, edi
test eax, eax
je 0x4a810d
call fcn.0047d5b0
cmp eax, dword [ebp + 0xc]
jne 0x4a8132
mov ecx, edi
call fcn.0047d5a0
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.0042ee20
test al, al
je 0x4a8132
lea ecx, [edi + 0x28]
call fcn.00415250
cmp eax, dword [ebp - 0x14]
jne 0x4a8132
lea ecx, [edi + 0x48c]
call fcn.00406990
push eax
lea ecx, [ebp - 0xac]
call fcn.0042ee20
test al, al
je 0x4a8132
cmp byte [ebp + 0x14], 0
jne 0x4a81e7
mov ecx, dword [ebp - 0xb4]
push esi
push edi
call fcn.004a8530
test al, al
jne 0x4a81d0
mov ecx, dword [ebp - 0xb4]
push ebx
call fcn.004a8750
cmp byte [ebp - 0xad], 0
je 0x4a8245
push str.Found_existing_proxy_connection.
jmp 0x4a823e
call fcn.0047d5b0
cmp eax, dword [ebp + 0xc]
jne 0x4a8132
mov ecx, edi
call fcn.0047d5a0
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.0042ee20
test al, al
jne 0x4a820d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004482f0
inc ebx
cmp ebx, dword [ebp - 0xb8]
jl 0x4a7f70
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb4]
cmp dword [edi + 0x28], 0
je 0x4a829b
mov ecx, ebx
call fcn.0045ca90
cmp eax, dword [edi + 0x28]
jne 0x4a829b
cmp byte [ebp - 0xad], 0
je 0x4a8186
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.0045d480
test eax, eax
je 0x4a829b
cmp dword [eax + 0x5b4], 0x99b4002d
je 0x4a8294
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.00448a10
push 0
call fcn.00401520
add esp, 4
jmp 0x4a829b
cmp byte [esi + 0x129], 0
je 0x4a81e7
push 1
push str.inactiveForTooLong
mov ecx, esi
call fcn.00448790
push ebx
mov ebx, dword [ebp - 0xbc]
mov ecx, ebx
call fcn.0045d480
mov ecx, edi
call fcn.0040b560
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004482f0
jmp 0x4a8151
cmp byte [ebp + 0x14], 0
jne 0x4a81e7
mov ecx, dword [ebp - 0xb4]
push esi
push edi
call fcn.004a8530
test al, al
jne 0x4a81e7
mov ecx, dword [ebp - 0xb4]
push ebx
call fcn.004a8750
cmp byte [ebp - 0xad], 0
je 0x4a8245
push str.Found_existing_connection.
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
call sub.KERNEL32.DLL_GetTickCount
push 0x60c850
lea ecx, [edi + 0x638]
mov dword [edi + 0x634], eax
call fcn.0042c780
test al, al
je 0x4a826f
lea ecx, [edi + 0x638]
call fcn.0042cb70
mov ecx, edi
call fcn.0040b5f0
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 0x6c
push eax
call fcn.004807b0
lea ecx, [ebp - 0x20]
call fcn.004482f0
jmp 0x4a848d
mov ecx, eax
call fcn.0040b560
push 0x870
call fcn.005b34db
mov edi, eax
add esp, 4
mov dword [ebp - 0xb8], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x4a82d3
push 0x870
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.00474d10
mov edi, eax
jmp 0x4a82d5
xor edi, edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4a8310
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4a8317
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.00448a10
push 0
call fcn.00401520
add esp, 4
xor edi, edi
jmp 0x4a848d
mov ecx, edi
call fcn.0040b5f0
push edi
mov ecx, ebx
call fcn.0045c640
cmp byte [ebp + 0x10], 0
je 0x4a8455
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.00448220
mov ecx, dword [ebp - 0xb4]
add ecx, 0x50
mov byte [ebp - 4], 5
call fcn.0045ca80
xor ebx, ebx
mov dword [ebp - 0xb8], eax
test eax, eax
jle 0x4a843f
nop word [eax + eax]
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045c910
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4a8430
cmp dword [eax + 4], 0x62cb09e3
je 0x4a83d1
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.0045d360
mov eax, dword [ebp - 0xb8]
dec ebx
dec eax
mov dword [ebp - 0xb8], eax
jmp 0x4a8436
push dword [ebp - 0xc0]
lea ecx, [eax + 8]
call fcn.0042edf0
test al, al
je 0x4a8430
mov ecx, dword [ebp - 0xb4]
push ebx
lea ecx, [ecx + 0x50]
call fcn.0045d360
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0xbc], ecx
mov dword [eax + 0x7c], 0
call fcn.0042a5d0
mov eax, dword [ebp - 0xbc]
add esp, 4
cmp dword [eax + 4], 0x62cb09e3
je 0x4a84c8
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 0x4a8380
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004482f0
mov dword [edi + 0x864], 0
cmp byte [ebp - 0xad], 0
je 0x4a846a
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.0040b5f0
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 0x6c
push eax
call fcn.004807b0
lea ecx, [ebp - 0xac]
call fcn.0042ab40
lea ecx, [ebp - 0x2c]
call fcn.004482f0
lea ecx, [ebp - 0x38]
call fcn.0042a7c0
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.005b34c8
mov esp, ebp
pop ebp
ret 0x1c
cmp byte [esi + 0x129], 0
je 0x4a84ef
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.00448d80
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004482f0
mov eax, dword [ebp - 0xbc]
mov dword [edi + 0x864], eax
test eax, eax
je 0x4a8455
cmp dword [eax + 4], 0x62cb09e3
je 0x4a8455
jmp 0x4a844b