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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a90fa
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x676664]
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.00441120
push str.findAddHttpConn
push esi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0
call fcn.0044ec60
cmp byte [esi + 0x125], 0
mov byte [ebp - 4], 1
je 0x4bf879
mov ecx, dword [ebp - 0x94]
push ecx
push str.sbHostname0
mov ecx, esi
call fcn.0044e520
mov edx, dword [ebp + 0xc]
push edx
push str.port
mov ecx, esi
call fcn.0044e8c0
mov eax, dword [ebp + 0x10]
push eax
push str.bTls
mov ecx, esi
call fcn.0044e880
mov ecx, dword [ebp + 0x14]
push ecx
push str.bForceNewConnection
mov ecx, esi
call fcn.0044e880
lea ecx, [edi + 0x2c]
call fcn.0055ec20
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x90], eax
call fcn.00444390
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.00440d70
cmp byte [esi + 0x125], 0
je 0x4bf8eb
lea ecx, [ebp - 0x84]
push ecx
push str.sbProxyDomain
mov ecx, esi
call fcn.0044e520
mov edx, dword [ebp - 0x98]
push edx
push str.proxyPort
mov ecx, esi
call fcn.0044e8c0
mov al, byte [esi + 0x125]
mov byte [ebp - 0x85], al
test al, al
je 0x4bf95d
mov eax, dword [ebp - 0x90]
push eax
push str.numExistingConnections
mov ecx, esi
call fcn.0044e8c0
mov ecx, dword [ebp - 0x94]
call fcn.00410b70
push eax
push str.lookingForHost
mov ecx, esi
call fcn.0044e660
mov ecx, dword [ebp + 0xc]
push ecx
push str.lookingForPort
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebp - 0x84]
call fcn.00442580
test eax, eax
je 0x4bf95d
lea ecx, [ebp - 0x84]
call fcn.00410b70
push eax
push str.lookingForProxy
mov ecx, esi
call fcn.0044e660
xor ebx, ebx
cmp dword [ebp - 0x90], ebx
jle 0x4bfc03
jmp 0x4bf970
push str.existingConnection
push esi
lea ecx, [ebp - 0xa4]
call fcn.0044ec60
push ebx
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 3
call fcn.0046b2a0
mov edi, eax
test edi, edi
jne 0x4bf9af
mov ecx, dword [ebp - 0x8c]
push ebx
add ecx, 0x2c
call fcn.0046b310
dec dword [ebp - 0x90]
dec ebx
jmp 0x4bfb9d
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x4bf9e3
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.0044e8c0
push 0
call fcn.00464950
add esp, 4
jmp 0x4bf994
cmp byte [ebp - 0x85], 0
je 0x4bfa41
mov ecx, edi
call fcn.004d00d0
push eax
push str.connection
mov ecx, esi
call fcn.0044e660
mov ecx, edi
call fcn.004d00e0
push eax
push str.port
mov ecx, esi
call fcn.0044e8c0
lea ecx, [edi + 0x48c]
call fcn.0040d9a0
push eax
push str.connection_proxyHost
mov ecx, esi
call fcn.0044e660
lea ecx, [edi + 0x28]
call fcn.00440cc0
push eax
push str.proxyPort
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebp - 0x84]
call fcn.00442580
mov ecx, edi
test eax, eax
je 0x4bfb78
call fcn.004d00e0
cmp eax, dword [ebp + 0xc]
jne 0x4bfb9d
mov ecx, edi
call fcn.004d00d0
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00446650
test al, al
je 0x4bfb9d
lea ecx, [edi + 0x28]
call fcn.00440cc0
cmp eax, dword [ebp - 0x98]
jne 0x4bfb9d
lea ecx, [edi + 0x48c]
call fcn.0040d9a0
push eax
lea ecx, [ebp - 0x84]
call fcn.00446650
test al, al
je 0x4bfb9d
cmp byte [ebp + 0x14], 0
jne 0x4bfbd8
mov ecx, dword [ebp - 0x8c]
push esi
push edi
call fcn.004bf740
test al, al
jne 0x4bfbc1
push ebx
mov ebx, dword [ebp - 0x8c]
mov ecx, ebx
call fcn.004bf4e0
cmp byte [ebp - 0x85], 0
je 0x4bfaf6
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 0x605388
lea ecx, [edi + 0x638]
mov dword [edi + 0x634], eax
call fcn.00444120
test al, al
je 0x4bfb20
lea ecx, [edi + 0x638]
call fcn.004439b0
mov ecx, edi
call fcn.004026e0
add ebx, 0x6c
push ebx
mov ecx, edi
call fcn.004d31a0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0044ecf0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.0044ecf0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.00441150
mov eax, edi
jmp 0x4bfe06
call fcn.004d00e0
cmp eax, dword [ebp + 0xc]
jne 0x4bfb9d
mov ecx, edi
call fcn.004d00d0
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00446650
test al, al
jne 0x4bfc77
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0044ecf0
mov edi, dword [ebp - 0x8c]
inc ebx
cmp ebx, dword [ebp - 0x90]
jl 0x4bf970
jmp 0x4bfc03
cmp byte [esi + 0x125], 0
je 0x4bfbd8
push 1
push str.inactiveForTooLong
mov ecx, esi
call fcn.0044e880
mov ecx, dword [ebp - 0x8c]
push ebx
add ecx, 0x2c
call fcn.0046b310
mov ecx, edi
call fcn.004029e0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0044ecf0
mov edi, dword [ebp - 0x8c]
cmp dword [edi + 0x28], 0
je 0x4bfcc2
lea ecx, [edi + 0x2c]
call fcn.0055ec20
cmp eax, dword [edi + 0x28]
jne 0x4bfcc2
cmp byte [ebp - 0x85], 0
je 0x4bfc35
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.0046b310
test eax, eax
je 0x4bfcc2
cmp dword [eax + 0x5b4], 0x99b4002d
je 0x4bfcbb
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.0044e8c0
push 0
call fcn.00464950
add esp, 4
jmp 0x4bfcc2
cmp byte [ebp + 0x14], 0
jne 0x4bfbd8
mov ecx, dword [ebp - 0x8c]
push esi
push edi
call fcn.004bf740
test al, al
jne 0x4bfbd8
push ebx
mov ebx, dword [ebp - 0x8c]
mov ecx, ebx
call fcn.004bf4e0
cmp byte [ebp - 0x85], 0
je 0x4bfaf6
push str.Found_existing_connection.
jmp 0x4bfaed
mov ecx, eax
call fcn.004029e0
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 0x4bfce8
mov ecx, eax
call fcn.004ce6c0
mov ebx, eax
jmp 0x4bfcea
xor ebx, ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4bfd27
cmp dword [ebx + 0x5b4], 0x99b4002d
je 0x4bfd5e
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.0044e8c0
push 0
call fcn.00464950
add esp, 4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.0044ecf0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.00441150
xor eax, eax
jmp 0x4bfe06
mov ecx, ebx
call fcn.004026e0
push ebx
lea ecx, [edi + 0x2c]
call fcn.0046b370
cmp byte [ebp + 0x10], 0
je 0x4bfda0
mov ecx, dword [ebp - 0x94]
push esi
push ecx
mov ecx, edi
call fcn.004bf120
mov dword [ebx + 0x864], eax
test eax, eax
je 0x4bfda0
cmp dword [eax + 4], 0x62cb09e3
je 0x4bfda0
mov dword [ebx + 0x864], 0
cmp byte [ebp - 0x85], 0
je 0x4bfdb7
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.004026e0
add edi, 0x6c
push edi
mov ecx, ebx
call fcn.004d31a0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.0044ecf0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.00441150
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.0059af98
mov esp, ebp
pop ebp
ret 0x1c