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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b583a
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x68683c]
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, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov edi, ecx
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x94], eax
call fcn.0044c630
push str.findAddHttpConn
push esi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0
call fcn.0045a1b0
cmp byte [esi + 0x125], 0
mov byte [ebp - 4], 1
je 0x4cb509
mov ecx, dword [ebp - 0x94]
push ecx
push str.sbHostname0
mov ecx, esi
call fcn.00459a60
mov edx, dword [ebp + 0xc]
push edx
push str.port
mov ecx, esi
call fcn.00459e10
mov eax, dword [ebp + 0x10]
push eax
push str.bTls
mov ecx, esi
call fcn.00459dd0
mov ecx, dword [ebp + 0x14]
push ecx
push str.bForceNewConnection
mov ecx, esi
call fcn.00459dd0
lea ecx, [edi + 0x2c]
call fcn.0059ef20
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x90], eax
call fcn.0044f8c0
push esi
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
lea ecx, [ebx + 0x354]
mov byte [ebp - 4], 2
mov dword [ebp - 0x98], 0
call fcn.0044c280
cmp byte [esi + 0x125], 0
je 0x4cb57b
lea ecx, [ebp - 0x84]
push ecx
push str.sbProxyDomain
mov ecx, esi
call fcn.00459a60
mov edx, dword [ebp - 0x98]
push edx
push str.proxyPort
mov ecx, esi
call fcn.00459e10
mov al, byte [esi + 0x125]
mov byte [ebp - 0x85], al
test al, al
je 0x4cb5ed
mov eax, dword [ebp - 0x90]
push eax
push str.numExistingConnections
mov ecx, esi
call fcn.00459e10
mov ecx, dword [ebp - 0x94]
call fcn.0044da90
push eax
push str.lookingForHost
mov ecx, esi
call fcn.00459ba0
mov ecx, dword [ebp + 0xc]
push ecx
push str.lookingForPort
mov ecx, esi
call fcn.00459e10
lea ecx, [ebp - 0x84]
call fcn.0044daa0
test eax, eax
je 0x4cb5ed
lea ecx, [ebp - 0x84]
call fcn.0044da90
push eax
push str.lookingForProxy
mov ecx, esi
call fcn.00459ba0
xor ebx, ebx
cmp dword [ebp - 0x90], ebx
jle 0x4cb893
jmp 0x4cb600
push str.existingConnection
push esi
lea ecx, [ebp - 0xa4]
call fcn.0045a1b0
push ebx
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 3
call fcn.00476840
mov edi, eax
test edi, edi
jne 0x4cb63f
mov ecx, dword [ebp - 0x8c]
push ebx
add ecx, 0x2c
call fcn.004768b0
dec dword [ebp - 0x90]
dec ebx
jmp 0x4cb82d
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4cb673
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Invalid_HTTP_connection_object_found.
mov ecx, esi
call eax
push 0x78
push str.calledFrom
mov ecx, esi
call fcn.00459e10
push 0
call fcn.0040b200
add esp, 4
jmp 0x4cb624
cmp byte [ebp - 0x85], 0
je 0x4cb6d1
mov ecx, edi
call fcn.004dbd80
push eax
push str.connection
mov ecx, esi
call fcn.00459ba0
mov ecx, edi
call fcn.004dbd90
push eax
push str.port
mov ecx, esi
call fcn.00459e10
lea ecx, [edi + 0x48c]
call fcn.00414880
push eax
push str.connection_proxyHost
mov ecx, esi
call fcn.00459ba0
lea ecx, [edi + 0x28]
call fcn.0044c1d0
push eax
push str.proxyPort
mov ecx, esi
call fcn.00459e10
lea ecx, [ebp - 0x84]
call fcn.0044daa0
mov ecx, edi
test eax, eax
je 0x4cb808
call fcn.004dbd90
cmp eax, dword [ebp + 0xc]
jne 0x4cb82d
mov ecx, edi
call fcn.004dbd80
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00451b80
test al, al
je 0x4cb82d
lea ecx, [edi + 0x28]
call fcn.0044c1d0
cmp eax, dword [ebp - 0x98]
jne 0x4cb82d
lea ecx, [edi + 0x48c]
call fcn.00414880
push eax
lea ecx, [ebp - 0x84]
call fcn.00451b80
test al, al
je 0x4cb82d
cmp byte [ebp + 0x14], 0
jne 0x4cb868
mov ecx, dword [ebp - 0x8c]
push esi
push edi
call fcn.004cb3d0
test al, al
jne 0x4cb851
push ebx
mov ebx, dword [ebp - 0x8c]
mov ecx, ebx
call fcn.004cb170
cmp byte [ebp - 0x85], 0
je 0x4cb786
push str.Found_existing_proxy_connection.
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
call sub.KERNEL32.dll_GetTickCount
push 0x6126c0
lea ecx, [edi + 0x638]
mov dword [edi + 0x634], eax
call fcn.0044f650
test al, al
je 0x4cb7b0
lea ecx, [edi + 0x638]
call fcn.0044eee0
mov ecx, edi
call fcn.00408cd0
add ebx, 0x6c
push ebx
mov ecx, edi
call fcn.004dee50
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0045a240
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0044f980
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.0045a240
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c660
mov eax, edi
jmp 0x4cba96
call fcn.004dbd90
cmp eax, dword [ebp + 0xc]
jne 0x4cb82d
mov ecx, edi
call fcn.004dbd80
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00451b80
test al, al
jne 0x4cb907
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0045a240
mov edi, dword [ebp - 0x8c]
inc ebx
cmp ebx, dword [ebp - 0x90]
jl 0x4cb600
jmp 0x4cb893
cmp byte [esi + 0x125], 0
je 0x4cb868
push 1
push str.inactiveForTooLong
mov ecx, esi
call fcn.00459dd0
mov ecx, dword [ebp - 0x8c]
push ebx
add ecx, 0x2c
call fcn.004768b0
mov ecx, edi
call fcn.00408fd0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0045a240
mov edi, dword [ebp - 0x8c]
cmp dword [edi + 0x28], 0
je 0x4cb952
lea ecx, [edi + 0x2c]
call fcn.0059ef20
cmp eax, dword [edi + 0x28]
jne 0x4cb952
cmp byte [ebp - 0x85], 0
je 0x4cb8c5
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.At_max_connections__removing_oldest.
mov ecx, esi
call eax
push 0
lea ecx, [edi + 0x2c]
call fcn.004768b0
test eax, eax
je 0x4cb952
cmp dword [eax + 0x5b4], 0x99b4002d
je 0x4cb94b
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Invalid_HTTP_connection_object_found.
mov ecx, esi
call eax
push 0x79
push str.calledFrom
mov ecx, esi
call fcn.00459e10
push 0
call fcn.0040b200
add esp, 4
jmp 0x4cb952
cmp byte [ebp + 0x14], 0
jne 0x4cb868
mov ecx, dword [ebp - 0x8c]
push esi
push edi
call fcn.004cb3d0
test al, al
jne 0x4cb868
push ebx
mov ebx, dword [ebp - 0x8c]
mov ecx, ebx
call fcn.004cb170
cmp byte [ebp - 0x85], 0
je 0x4cb786
push str.Found_existing_connection.
jmp 0x4cb77d
mov ecx, eax
call fcn.00408fd0
push 0x870
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4cb978
mov ecx, eax
call fcn.004da370
mov ebx, eax
jmp 0x4cb97a
xor ebx, ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4cb9b7
cmp dword [ebx + 0x5b4], 0x99b4002d
je 0x4cb9ee
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Invalid_HTTP_connection_object_found.
mov ecx, esi
call eax
push 0x3e9
push str.calledFrom
mov ecx, esi
call fcn.00459e10
push 0
call fcn.0040b200
add esp, 4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0044f980
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.0045a240
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c660
xor eax, eax
jmp 0x4cba96
mov ecx, ebx
call fcn.00408cd0
push ebx
lea ecx, [edi + 0x2c]
call fcn.00476910
cmp byte [ebp + 0x10], 0
je 0x4cba30
mov ecx, dword [ebp - 0x94]
push esi
push ecx
mov ecx, edi
call fcn.004cadb0
mov dword [ebx + 0x864], eax
test eax, eax
je 0x4cba30
cmp dword [eax + 4], 0x62cb09e3
je 0x4cba30
mov dword [ebx + 0x864], 0
cmp byte [ebp - 0x85], 0
je 0x4cba47
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Will_need_to_open_a_new_connection.
mov ecx, esi
call eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, ebx
mov dword [ebx + 0x634], eax
call fcn.00408cd0
add edi, 0x6c
push edi
mov ecx, ebx
call fcn.004dee50
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0044f980
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.0045a240
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c660
mov eax, ebx
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.005a6cf8
mov esp, ebp
pop ebp
ret 0x1c