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

Disassembly:
sub esp, 0x58
mov eax, dword [0x4bcad4]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [esp + 0x68]
mov esi, dword [edi]
mov dword [eax], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
cmp dword [edi + ecx*4 + 0x2dc], ebp
je 0x447d4a
pop edi
pop esi
mov dword [eax], 1
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004751f1
add esp, 0x58
ret
push ebx
call fcn.00444380
mov ebx, eax
mov eax, dword [esi + 0x220]
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0x493e0
cmp eax, ebp
jle 0x447d73
mov ecx, 1
mov edx, dword [esi + 0x224]
test edx, edx
jle 0x447d80
or ecx, 2
dec ecx
je 0x447d93
dec ecx
je 0x447d8d
dec ecx
jne 0x447d97
cmp eax, edx
jl 0x447d93
mov dword [esp + 0x10], edx
jmp 0x447d97
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x5b4]
mov ecx, dword [esi + 0x5b0]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push ebx
call fcn.004443b0
add esp, 0x10
sub dword [esp + 0x10], eax
je 0x447dbf
cmp dword [esp + 0x10], ebp
jge 0x447de5
push str.Connection_time_out
push esi
call fcn.00444910
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 0x1c
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004751f1
add esp, 0x58
ret
xor ebx, ebx
mov eax, ebx
xor eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [edi + ebx*4 + 0x170]
cmp eax, 0xffffffff
je 0x447f95
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004387c0
add esp, 0x10
test eax, eax
jne 0x447ea9
mov eax, dword [edi + 0x32c]
mov ecx, dword [edi + 0x328]
mov edx, dword [esp + 0x28]
mov esi, dword [edi + 0x334]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
xor ebp, ebp
push eax
mov dword [esp + 0x28], ebp
call fcn.004443b0
add esp, 0x10
cmp eax, esi
jl 0x447e63
mov ecx, dword [esp + 0x14]
push esi
push str.After__ldms_connect_time__move_on__n
push ecx
call fcn.00444880
mov ebp, 0x274c
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebx, ebx
jne 0x447f07
cmp dword [edi + 0x54], ebx
jne 0x447f07
mov edx, dword [edi + 0x32c]
mov eax, dword [edi + 0x328]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.004443b0
add esp, 0x10
cmp eax, 0xc8
jl 0x447f07
mov eax, dword [esp + 0x20]
push 1
push eax
call fcn.00447c20
jmp 0x447f04
cmp eax, 2
je 0x447ed5
cmp dword [edi + 0x31c], 0
jne 0x447ed5
test al, 4
je 0x447f0b
mov ecx, dword [edi + ebx*4 + 0x170]
push ecx
lea esi, [esp + 0x1c]
call fcn.00447110
mov ebp, dword [esp + 0x1c]
add esp, 4
jmp 0x447f07
mov edx, dword [edi + ebx*4 + 0x170]
push edx
lea esi, [esp + 0x1c]
call fcn.00447110
add esp, 4
test eax, eax
jne 0x447fe3
mov eax, dword [esp + 0x14]
push str.Connection_failed_n
push eax
call fcn.00444880
mov ebp, dword [esp + 0x20]
add esp, 8
mov esi, dword [esp + 0x14]
test ebp, ebp
je 0x447f95
push ebp
mov dword [esi + 0x86a0], ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [edi + ebx*4 + 0x50]
test eax, eax
je 0x447f95
push 0x2e
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.0043a2b0
push ebp
push edi
call fcn.0044a830
mov edx, dword [edi + 0xc0]
push eax
push edx
lea eax, [esp + 0x50]
push eax
push str.connect_to__s_port__ld_failed:__s_n
push esi
call fcn.00444880
mov ecx, dword [edi + ebx*4 + 0x50]
mov eax, dword [esp + 0x38]
add esp, 0x28
cmp dword [ecx + 0x1c], 0
je 0x447f6a
cdq
sub eax, edx
sar eax, 1
mov edx, dword [esp + 0x20]
push ebx
push edx
mov dword [edi + 0x334], eax
call fcn.00447c20
add esp, 8
cmp eax, 7
jne 0x447f91
mov ecx, dword [esp + 0x2c]
cmp dword [edi + ecx*4 + 0x170], 0xffffffff
jne 0x447f95
mov dword [esp + 0x1c], eax
inc ebx
cmp ebx, 2
jl 0x447de7
cmp dword [esp + 0x1c], 0
je 0x4480c5
cmp dword [edi + 0x54], 0
jne 0x447fcb
mov ecx, dword [esp + 0x20]
push 1
push ecx
call fcn.00447c20
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x448077
cmp dword [edi + 0x2c0], 0
je 0x44808c
mov esi, dword [edi + 0xb8]
jmp 0x4480a3
mov edx, dword [edi + ebx*4 + 0x170]
mov esi, dword [esp + 0x20]
mov dword [edi + esi*4 + 0x168], edx
mov eax, dword [edi + ebx*4 + 0x50]
or ebp, 0xffffffff
mov dword [edi + 0x4c], eax
mov dword [edi + ebx*4 + 0x170], ebp
mov ebx, dword [esp + 0x2c]
mov eax, dword [edi + ebx*4 + 0x170]
cmp eax, ebp
je 0x448026
push eax
push edi
call fcn.00447620
add esp, 8
mov dword [edi + ebx*4 + 0x170], ebp
push esi
push edi
call fcn.0043b3c0
add esp, 8
test eax, eax
jne 0x4480c9
mov ecx, dword [esp + 0x30]
mov dword [edi + esi*4 + 0x2dc], 1
mov dword [ecx], 1
test esi, esi
jne 0x448060
mov edx, dword [esp + 0x14]
push 4
push edx
call fcn.0044d230
add esp, 8
mov eax, dword [edi + esi*4 + 0x168]
push eax
push edi
call fcn.00447250
push edi
call fcn.0043b4e0
add esp, 0xc
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004751f1
add esp, 0x58
ret
cmp dword [edi + 0x2b8], 0
je 0x44809d
mov esi, dword [edi + 0xa8]
jmp 0x4480a3
mov esi, dword [edi + 0x98]
push ebp
push edi
call fcn.0044a830
mov edx, dword [edi + 0xc0]
push eax
mov eax, dword [esp + 0x20]
push edx
push esi
push str.Failed_to_connect_to__s_port__ld:__s
push eax
call fcn.00444910
add esp, 0x1c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004751f1
add esp, 0x58
ret