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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov eax, dword [edi]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [ecx], eax
mov dword [esp + 0x14], eax
cmp dword [edi + 0x2c8], eax
je 0x4428f0
mov dword [ecx], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [esp + 0x24], esi
mov eax, 0x10624dd3
mov dword [esp + 8], 0x493e0
mul ecx
mov dword [esp + 0x10], esi
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, dword [edx + 0x218]
mov edx, dword [edx + 0x21c]
mov dword [esp + 0x28], eax
xor eax, eax
test ecx, ecx
setg al
test edx, edx
jle 0x442946
or eax, 2
sub eax, 1
je 0x44295e
sub eax, 1
je 0x442a7c
sub eax, 1
jne 0x442969
cmp ecx, edx
cmovge ecx, edx
mov eax, ecx
cdq
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x7e0]
movups xmmword [eax], xmm0
mov eax, esp
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [eax], xmm0
call fcn.00449500
mov ecx, dword [esp + 0x28]
add esp, 0x20
sub ecx, eax
mov eax, ecx
mov dword [esp + 8], ecx
sbb dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
or eax, edx
je 0x442deb
test edx, edx
jl 0x442deb
jg 0x4429bf
test ecx, ecx
jb 0x442deb
xor eax, eax
mov dword [esp + 0xc], eax
nop word [eax + eax]
mov ecx, eax
mov eax, dword [edi + eax*4 + 0x1b0]
xor ecx, 1
mov dword [esp + 0x1c], ecx
cmp eax, 0xffffffff
je 0x442c2b
push 0
push 0
push eax
or ecx, 0xffffffff
call fcn.00443550
add esp, 0xc
test eax, eax
jne 0x442a83
movups xmm0, xmmword [edi + 0x328]
sub esp, 0x10
xor esi, esi
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [eax], xmm0
call fcn.00449500
add esp, 0x20
mov ecx, eax
cmp edx, dword [edi + 0x344]
jl 0x442a40
jg 0x442a3b
cmp ecx, dword [edi + 0x340]
jb 0x442a40
mov esi, 0x274c
cmp dword [esp + 0xc], 0
jne 0x442b5c
cmp dword [edi + 0x5c], 0
jne 0x442b5c
test edx, edx
jl 0x442b5c
jg 0x442a6b
cmp ecx, 0xc8
jb 0x442b5c
push 1
mov ecx, edi
call fcn.00442470
add esp, 4
jmp 0x442b5c
mov eax, edx
jmp 0x442960
cmp eax, 2
je 0x442aed
cmp dword [edi + 0x30c], 0
jne 0x442aed
test al, 4
je 0x442b5c
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x3c], 0
mov esi, dword [edi + eax*4 + 0x1b0]
mov dword [esp + 0x40], 4
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x442ae7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
jmp 0x442b5c
mov esi, dword [esp + 0x34]
jmp 0x442b5c
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x3c], 0
mov esi, dword [edi + eax*4 + 0x1b0]
mov dword [esp + 0x40], 4
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x442b3b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
jmp 0x442b3f
mov esi, dword [esp + 0x34]
test esi, esi
je 0x442b4f
cmp esi, 0x2748
je 0x442b4f
xor eax, eax
jmp 0x442b54
mov eax, 1
test eax, eax
jne 0x442c7f
test esi, esi
je 0x442c2b
mov eax, dword [esp + 0x18]
push esi
mov dword [eax + 0x495c], esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x16]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x442c2f
mov eax, dword [ecx + 4]
sub eax, 2
je 0x442bad
sub eax, 0x15
jne 0x442bc1
mov ecx, dword [ecx + 0x18]
lea edx, [esp + 0x3c]
add ecx, 8
push 0x2e
call fcn.00453da0
jmp 0x442bbe
mov ecx, dword [ecx + 0x18]
lea edx, [esp + 0x3c]
add ecx, 4
push 0x2e
call fcn.00453d00
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.00453870
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp dword [eax + 0x1c], 0
jne 0x442be0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
jmp 0x442bf1
push 0
push 2
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.0054c8d0
mov dword [edi + 0x340], eax
mov ecx, edi
mov eax, dword [esp + 0xc]
push eax
mov dword [edi + 0x344], edx
call fcn.00442470
add esp, 4
cmp eax, 7
jne 0x442c1f
mov ecx, dword [esp + 0x1c]
cmp dword [edi + ecx*4 + 0x1b0], 0xffffffff
jne 0x442c2b
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
jmp 0x442c33
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 2
jl 0x4429d0
test ecx, ecx
je 0x442dd8
cmp dword [edi + 0x5c], 0
jne 0x442c67
push 1
mov ecx, edi
call fcn.00442470
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4428dd
cmp dword [edi + 0x2b0], 0
je 0x442d83
mov eax, dword [edi + 0xc4]
jmp 0x442dab
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + ecx*4 + 0x1b0]
mov dword [edi + 0x1a8], eax
mov eax, dword [edi + ecx*4 + 0x58]
mov dword [edi + 0x54], eax
mov dword [edi + ecx*4 + 0x1b0], 0xffffffff
xor ecx, ecx
mov eax, dword [edi + 0x54]
cmp dword [eax + 4], 0x17
sete cl
mov dword [edi + 0x2c0], ecx
mov edx, dword [edi + esi*4 + 0x1b0]
cmp edx, 0xffffffff
je 0x442cd6
mov ecx, edi
call fcn.00443500
mov dword [edi + esi*4 + 0x1b0], 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x2c8], 1
mov dword [ecx], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [esp + 0x24], 0
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 0x20], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, dword [esp + 0x18]
lea esi, [ecx + 0x7a8]
mov dword [esp + 0x28], eax
test esi, esi
je 0x442d63
movups xmm0, xmmword [ecx + 0x7e0]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax], xmm0
call fcn.00449590
add esp, 0x20
test edx, edx
jg 0x442d5e
jl 0x442d57
cmp eax, 1
jae 0x442d5e
mov eax, 1
xor edx, edx
add dword [esi], eax
adc dword [esi + 4], edx
mov edx, dword [edi + 0x1a8]
mov ecx, edi
call fcn.00442690
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x2ac], 0
je 0x442d94
mov eax, dword [edi + 0xe4]
jmp 0x442dab
cmp dword [edi + 0x2a0], 0
je 0x442da5
mov eax, dword [edi + 0xb4]
jmp 0x442dab
mov eax, dword [edi + 0xa0]
mov edx, esi
mov dword [esp + 8], eax
mov ecx, edi
call fcn.00453870
push eax
push dword [edi + 0xfc]
push dword [esp + 0x10]
push str.Failed_to_connect_to__s_port__ld:__s
push dword [esp + 0x28]
call fcn.004415c0
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push str.Connection_time_out
push dword [esp + 0x1c]
call fcn.004415c0
mov ecx, dword [esp + 0x74]
add esp, 8
mov eax, 0x1c
pop edi
pop esi
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret