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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, edx
xor ebx, ebx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], ebx
mov esi, dword [edi]
mov byte [edx], cl
mov dword [ebp - 0x3c], esi
cmp byte [eax + edi + 0x1c9], cl
je 0x441220
mov byte [edx], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
mov dword [ebp - 0x40], 0x493e0
mov eax, 0x10624dd3
mul ecx
mov eax, edx
mov edx, dword [esi + 0x1c8]
shr eax, 6
mov dword [ebp - 0x50], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, 1
mov dword [ebp - 0x54], eax
xor eax, eax
test edx, edx
cmovg eax, ecx
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
jle 0x44126e
or eax, 2
dec eax
je 0x441288
dec eax
je 0x441283
dec eax
jne 0x44128b
cmp edx, ecx
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x40], eax
jmp 0x44128b
mov dword [ebp - 0x40], ecx
jmp 0x44128b
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
mov esi, dword [esi + 0x4a8]
sub esi, dword [ebp - 0x50]
sub ecx, dword [eax + 0x4ac]
mov eax, 0x10624dd3
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
je 0x4415e6
test ecx, ecx
js 0x4415e6
xor esi, esi
mov eax, esi
xor eax, 1
mov dword [ebp - 0x58], eax
mov eax, dword [edi + esi*4 + 0x15c]
cmp eax, 0xffffffff
je 0x441489
push 0
push eax
or edx, 0xffffffff
or ecx, 0xffffffff
call fcn.00442f70
add esp, 8
test eax, eax
jne 0x4413a5
mov ecx, dword [ebp - 0x54]
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x1e0]
imul ecx
mov eax, dword [ebp - 0x50]
sub eax, dword [edi + 0x1dc]
sar edx, 6
imul eax, eax, 0x3e8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
mov eax, dword [edi + 0x1e8]
cmp ecx, eax
jl 0x441350
push eax
push str.After__ldms_connect_time__move_on__n
push dword [ebp - 0x3c]
call fcn.00443730
mov ebx, 0x274c
add esp, 0xc
mov dword [ebp - 0x4c], ebx
test esi, esi
jne 0x4413e9
cmp dword [edi + 0x54], esi
jne 0x4413e9
mov ecx, dword [ebp - 0x54]
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x1e0]
imul ecx
mov eax, dword [ebp - 0x50]
sub eax, dword [edi + 0x1dc]
sar edx, 6
imul eax, eax, 0x3e8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
cmp ecx, 0xc8
jl 0x4413e9
mov edx, dword [ebp - 0x48]
mov ecx, edi
push 1
call fcn.00440dd0
add esp, 4
jmp 0x4413e9
cmp eax, 2
jne 0x4413d3
mov ecx, dword [edi + esi*4 + 0x15c]
lea edx, [ebp - 0x4c]
call fcn.00440d50
test al, al
jne 0x4414d8
push str.Connection_failed_n
push dword [ebp - 0x3c]
call fcn.00443730
add esp, 8
jmp 0x4413e6
test al, 4
je 0x4413e9
mov ecx, dword [edi + esi*4 + 0x15c]
lea edx, [ebp - 0x4c]
call fcn.00440d50
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x441489
mov eax, dword [ebp - 0x3c]
push ebx
mov dword [eax + 0x8574], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [edi + esi*4 + 0x50]
test ecx, ecx
je 0x441489
mov eax, dword [ecx + 4]
sub eax, 2
jne 0x441428
mov ecx, dword [ecx + 0x18]
lea edx, [ebp - 0x38]
add ecx, 4
push 0x2e
call fcn.00464080
add esp, 4
mov edx, ebx
mov ecx, edi
call fcn.004647f0
push eax
push dword [edi + 0xb0]
lea eax, [ebp - 0x38]
push eax
push str.connect_to__s_port__ld_failed:__s_n
push dword [ebp - 0x3c]
call fcn.00443730
mov eax, dword [edi + esi*4 + 0x50]
add esp, 0x14
cmp dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x40]
je 0x44145e
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x48]
mov ecx, edi
push esi
mov dword [edi + 0x1e8], eax
call fcn.00440dd0
add esp, 4
cmp eax, 7
jne 0x441484
mov ecx, dword [ebp - 0x58]
cmp dword [edi + ecx*4 + 0x15c], 0xffffffff
jne 0x441489
mov dword [ebp - 0x44], eax
jmp 0x44148c
mov eax, dword [ebp - 0x44]
inc esi
cmp esi, 2
jl 0x4412d1
test eax, eax
je 0x4415fb
cmp dword [edi + 0x54], 0
jne 0x4414c0
mov edx, dword [ebp - 0x48]
mov ecx, edi
push 1
call fcn.00440dd0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x44120d
cmp byte [edi + 0x1c2], 0
je 0x4415ab
mov esi, dword [edi + 0xa8]
jmp 0x4415b1
mov ecx, dword [ebp - 0x48]
mov eax, dword [edi + esi*4 + 0x15c]
mov ebx, dword [ebp - 0x58]
mov dword [edi + ecx*4 + 0x154], eax
mov eax, dword [edi + esi*4 + 0x50]
mov dword [edi + 0x4c], eax
mov dword [edi + esi*4 + 0x15c], 0xffffffff
mov edx, dword [edi + ebx*4 + 0x15c]
cmp edx, 0xffffffff
je 0x44151c
mov ecx, edi
call fcn.00441d90
mov dword [edi + ebx*4 + 0x15c], 0xffffffff
mov esi, dword [ebp - 0x48]
mov ecx, edi
mov edx, esi
call fcn.0043d7c0
test eax, eax
jne 0x4415fb
mov ecx, dword [ebp - 0x5c]
mov byte [esi + edi + 0x1c9], 1
mov byte [ecx], 1
test esi, esi
jne 0x441583
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, dword [ebp - 0x3c]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
push dword [ebx + 0x4ac]
shr edx, 6
push dword [ebx + 0x4a8]
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
push eax
push edx
call fcn.00444350
add esp, 0x10
movsd qword [ebx + 0x478], xmm0
mov edx, dword [edi + esi*4 + 0x154]
mov ecx, edi
call fcn.00440ff0
mov ecx, edi
call fcn.0043d850
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x98]
mov edx, ebx
mov ecx, edi
call fcn.004647f0
push eax
push dword [edi + 0xb0]
push esi
push str.Failed_to_connect_to__s_port__ld:__s
push dword [ebp - 0x3c]
call fcn.004437f0
mov eax, dword [ebp - 0x44]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
push str.Connection_time_out
push dword [ebp - 0x3c]
call fcn.004437f0
add esp, 8
mov eax, 0x1c
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bea8
mov esp, ebp
pop ebp
ret