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

Disassembly:
push 0xffffffffffffffff
push 0x1019907a
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edi, ecx
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call fcn.1005ff60
push str.findAddHttpConn
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0xd4], 0
call fcn.10061630
cmp byte [esi + 0x125], 0
mov byte [esp + 0xcc], 1
je 0x10084948
push ebx
push str.sbHostname0
mov ecx, esi
call fcn.10060fd0
mov eax, dword [esp + 0xd8]
push eax
push str.port
mov ecx, esi
call fcn.100612a0
mov ecx, dword [esp + 0xdc]
push ecx
push str.bTls
mov ecx, esi
call fcn.10061270
mov edx, dword [esp + 0xe0]
push edx
push str.bForceNewConnection
mov ecx, esi
call fcn.10061270
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.10032e40
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], eax
call fcn.10010fb0
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
lea ecx, [ebp + 0x354]
mov byte [esp + 0xdc], 2
mov dword [esp + 0x34], 0
call fcn.1004b310
cmp byte [esi + 0x125], 0
je 0x100849b2
lea edx, [esp + 0x4c]
push edx
push str.sbProxyDomain
mov ecx, esi
call fcn.10060fd0
mov eax, dword [esp + 0x24]
push eax
push str.proxyPort
mov ecx, esi
call fcn.100612a0
mov al, byte [esi + 0x125]
test al, al
mov byte [esp + 0x17], al
je 0x10084a1e
mov ecx, dword [esp + 0x1c]
push ecx
push str.numExistingConnections
mov ecx, esi
call fcn.100612a0
mov ecx, dword [esp + 0x20]
call fcn.1008be90
push eax
push str.lookingForHost
mov ecx, esi
call fcn.10061130
mov edx, dword [esp + 0xd8]
push edx
push str.lookingForPort
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0x4c]
call fcn.1000f630
test eax, eax
je 0x10084a1e
lea ecx, [esp + 0x4c]
call fcn.1008be90
push eax
push str.lookingForProxy
mov ecx, esi
call fcn.10061130
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jle 0x10084c8e
lea ebx, [ebx]
push str.existingConnection
push esi
lea ecx, [esp + 0x30]
call fcn.10061630
push ebp
mov ecx, ebx
mov byte [esp + 0xd0], 3
call fcn.10032e50
mov edi, eax
test edi, edi
jne 0x10084a6a
push ebp
mov ecx, ebx
call fcn.10032eb0
sub dword [esp + 0x1c], 1
sub ebp, 1
jmp 0x10084c33
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x10084ab1
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Invalid_HTTP_connection_object_found.
mov ecx, esi
call edx
push 0x78
push str.calledFrom
mov ecx, esi
call fcn.100612a0
push 0
call fcn.100c11a0
add esp, 4
push ebp
mov ecx, ebx
call fcn.10032eb0
sub dword [esp + 0x1c], 1
sub ebp, 1
jmp 0x10084c33
cmp byte [esp + 0x17], 0
je 0x10084b0d
mov ecx, edi
call fcn.100976e0
push eax
push str.connection
mov ecx, esi
call fcn.10061130
mov ecx, edi
call fcn.100976f0
push eax
push str.port
mov ecx, esi
call fcn.100612a0
lea ecx, [edi + 0x48c]
call fcn.1000c320
push eax
push str.connection_proxyHost
mov ecx, esi
call fcn.10061130
lea ecx, [edi + 0x28]
call fcn.1004b250
push eax
push str.proxyPort
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0x4c]
call fcn.1000f630
test eax, eax
mov ecx, edi
je 0x10084c0c
call fcn.100976f0
cmp eax, dword [esp + 0xd8]
jne 0x10084c33
mov ecx, edi
call fcn.100976e0
mov ecx, dword [esp + 0x20]
push eax
call fcn.10013230
test al, al
je 0x10084c33
lea ecx, [edi + 0x28]
call fcn.1004b250
cmp eax, dword [esp + 0x24]
jne 0x10084c33
lea ecx, [edi + 0x48c]
call fcn.1000c320
push eax
lea ecx, [esp + 0x50]
call fcn.10013230
test al, al
je 0x10084c33
cmp byte [esp + 0xe0], 0
jne 0x10084c6a
mov ecx, dword [esp + 0x18]
push esi
push edi
call fcn.100847f0
test al, al
jne 0x10084c53
mov ebx, dword [esp + 0x18]
push ebp
mov ecx, ebx
call fcn.10084580
cmp byte [esp + 0x17], 0
je 0x10084bbc
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Found_existing_proxy_connection.
mov ecx, esi
call edx
call sub.KERNEL32.dll_GetTickCount
lea esi, [edi + 0x638]
push 0x101ec674
mov ecx, esi
mov dword [edi + 0x634], eax
call fcn.10010d30
test al, al
je 0x10084be4
mov ecx, esi
call fcn.10010600
mov ecx, edi
call fcn.100490a0
add ebx, 0x6c
push ebx
mov ecx, edi
call fcn.1009aa20
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 2
call fcn.100616a0
jmp 0x10084ec5
call fcn.100976f0
cmp eax, dword [esp + 0xd8]
jne 0x10084c33
mov ecx, edi
call fcn.100976e0
mov ecx, dword [esp + 0x20]
push eax
call fcn.10013230
test al, al
jne 0x10084d09
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 2
call fcn.100616a0
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x10084a30
jmp 0x10084c8a
cmp byte [esi + 0x125], 0
je 0x10084c6a
push 1
push str.inactiveForTooLong
mov ecx, esi
call fcn.10061270
push ebp
mov ecx, ebx
call fcn.10032eb0
mov ecx, edi
call fcn.10049240
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 2
call fcn.100616a0
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x28], 0
je 0x10084da2
mov ecx, ebx
call fcn.10032e40
cmp eax, dword [edi + 0x28]
jne 0x10084da2
cmp byte [esp + 0x17], 0
je 0x10084cbd
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.At_max_connections__removing_oldest.
mov ecx, esi
call edx
push 0
mov ecx, ebx
call fcn.10032eb0
test eax, eax
je 0x10084da2
cmp dword [eax + 0x5b4], 0x99b4002d
je 0x10084d9b
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Invalid_HTTP_connection_object_found.
mov ecx, esi
call edx
push 0x79
push str.calledFrom
mov ecx, esi
call fcn.100612a0
push 0
call fcn.100c11a0
add esp, 4
jmp 0x10084da2
cmp byte [esp + 0xe0], 0
jne 0x10084c6a
mov ecx, dword [esp + 0x18]
push esi
push edi
call fcn.100847f0
test al, al
jne 0x10084c6a
mov ebx, dword [esp + 0x18]
push ebp
mov ecx, ebx
call fcn.10084580
cmp byte [esp + 0x17], 0
je 0x10084d4b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Found_existing_connection.
mov ecx, esi
call edx
call sub.KERNEL32.dll_GetTickCount
lea esi, [edi + 0x638]
push 0x101ec674
mov ecx, esi
mov dword [edi + 0x634], eax
call fcn.10010d30
test al, al
je 0x10084d73
mov ecx, esi
call fcn.10010600
mov ecx, edi
call fcn.100490a0
add ebx, 0x6c
push ebx
mov ecx, edi
call fcn.1009aa20
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 2
call fcn.100616a0
jmp 0x10084ec5
mov ecx, eax
call fcn.10049240
push 0x870
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xcc], 4
je 0x10084dca
mov ecx, eax
call fcn.10095c00
mov edi, eax
jmp 0x10084dcc
xor edi, edi
test edi, edi
mov byte [esp + 0xcc], 2
je 0x10084e0d
cmp dword [edi + 0x5b4], 0x99b4002d
je 0x10084e4a
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Invalid_HTTP_connection_object_found.
mov ecx, esi
call edx
push 0x3e9
push str.calledFrom
mov ecx, esi
call fcn.100612a0
push 0
call fcn.100c11a0
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 1
call fcn.10011070
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 0
call fcn.100616a0
lea ecx, [esp + 0x40]
mov dword [esp + 0xcc], 0xffffffff
call fcn.1005ff90
xor eax, eax
jmp 0x10084efd
mov ecx, edi
call fcn.100490a0
push edi
mov ecx, ebx
call fcn.10032f00
cmp byte [esp + 0xdc], 0
je 0x10084e8f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push esi
push eax
call fcn.100841d0
test eax, eax
mov dword [edi + 0x864], eax
je 0x10084e8f
cmp dword [eax + 4], 0x62cb09e3
je 0x10084e8f
mov dword [edi + 0x864], 0
cmp byte [esp + 0x17], 0
je 0x10084ea4
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, edi
mov dword [edi + 0x634], eax
call fcn.100490a0
mov ecx, dword [esp + 0x18]
add ecx, 0x6c
push ecx
mov ecx, edi
call fcn.1009aa20
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 1
call fcn.10011070
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 0
call fcn.100616a0
lea ecx, [esp + 0x40]
mov dword [esp + 0xcc], 0xffffffff
call fcn.1005ff90
mov eax, edi
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.1018f87e
add esp, 0xbc
ret 0x1c