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

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + eax*4 + 0x130]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
push ebp
mov ebp, dword [ebx]
mov dword [ecx], 0
cmp dword [ebx + eax*4 + 0x1c4], 0
mov dword [esp + 0x18], 0
je 0x4530d4
pop ebp
mov dword [ecx], 1
xor eax, eax
pop ebx
add esp, 0xc
ret
push esi
push edi
call fcn.00455600
mov esi, eax
mov eax, dword [ebp + 0x1d4]
xor ecx, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov edi, 0x493e0
test eax, eax
jle 0x4530fb
mov ecx, 1
mov edx, dword [ebp + 0x1d8]
test edx, edx
jle 0x453108
or ecx, 2
sub ecx, 1
je 0x45311f
sub ecx, 1
je 0x45311b
sub ecx, 1
jne 0x453121
cmp eax, edx
jl 0x45311f
mov edi, edx
jmp 0x453121
mov edi, eax
mov edx, dword [ebp + 0x504]
mov eax, dword [ebp + 0x500]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
push esi
call fcn.00455630
add esp, 0x10
sub edi, eax
je 0x453145
test edi, edi
jge 0x453160
push str.Connection_time_out
push ebp
call fcn.00450ae0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 0xc
ret
mov esi, dword [esp + 0x10]
push 0
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004688c0
add esp, 0x10
cmp eax, 0xffffffff
je 0x453258
test al, 4
jne 0x453232
test eax, eax
jne 0x4531c6
mov edx, dword [ebx + 0x208]
mov eax, dword [ebx + 0x204]
mov ecx, dword [esp + 0x18]
mov esi, dword [ebx + 0x210]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.00455630
add esp, 0x10
cmp eax, esi
jl 0x453228
push esi
push str.After__ldms_connect_time__move_on__n
push ebp
call fcn.00450a50
add esp, 0xc
jmp 0x45327d
push esi
lea esi, [esp + 0x24]
call fcn.00452620
add esp, 4
test eax, eax
je 0x453268
push ebx
call fcn.0044b8f0
add esp, 4
test eax, eax
jne 0x4532da
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [ebx + eax*4 + 0x1c4], 1
mov dword [ecx], 1
test eax, eax
jne 0x453214
push 2
push ebp
call fcn.0046a0e0
add esp, 8
push ebx
call fcn.0044ba20
mov edx, dword [esp + 0x14]
push edx
push ebx
call fcn.00452730
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push esi
lea esi, [esp + 0x24]
call fcn.00452620
mov esi, dword [esp + 0x24]
push esi
push ebx
call fcn.00455520
push eax
push 0x4b0940
push ebp
call fcn.00450a50
add esp, 0x18
jmp 0x45326c
push str.Connection_failed_n
push ebp
call fcn.00450a50
add esp, 8
jmp 0x45327d
mov esi, dword [esp + 0x20]
test esi, esi
je 0x45327d
push esi
mov dword [ebp + 0x85cc], esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebx + 0x3c]
cmp dword [eax + 0x1c], 0
mov eax, edi
je 0x45328d
cdq
sub eax, edx
sar eax, 1
mov edi, dword [esp + 0x28]
mov dword [ebx + 0x210], eax
mov eax, dword [esp + 0x24]
mov ecx, ebx
call fcn.00452fc0
mov esi, eax
test esi, esi
je 0x4532d8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ebx
mov dword [ebp + 0x85cc], eax
call fcn.00455520
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x80]
push eax
push ecx
push edx
push str.Failed_connect_to__s:_ld___s
push ebp
call fcn.00450ae0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret