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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x68]
mov esi, dword [ebp + 0x18]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
push str.connect_domain
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x74], eax
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], 0
call fcn.004481f0
mov eax, dword [edi + 0xc20]
lea ecx, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
call fcn.0045bef0
cmp byte [edi + 0xc24], 0
mov byte [ebp - 4], 1
mov byte [ebp - 0x44], 1
je 0x4fe5a1
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
push dword [edi + 0xc20]
push edi
push eax
push dword [ebp - 0x7c]
call fcn.0052bc20
add esp, 0x18
test al, al
je 0x4fe58a
push 0
lea ecx, [ebp - 0x5c]
call fcn.0045d4e0
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4fe599
push eax
push str.ip_address
mov ecx, esi
call fcn.00448d80
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x20]
push esi
push eax
push dword [ebp - 0x80]
call fcn.004ff550
cmp eax, 6
jne 0x4fe599
mov ecx, dword [ebp - 0x78]
push esi
push 1
push edi
call fcn.004feee0
test al, al
je 0x4fe599
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 0x17
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov word [ebp - 0x40], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040df90
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x40]
add esp, 0xc
push esi
push dword [ebp - 0x74]
push 0x1c
push eax
push edi
call fcn.004fe0b0
test al, al
je 0x4fe56d
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
add esi, 0x2c4
mov ecx, esi
mov dword [edi + 0xc20], eax
call fcn.0042cb70
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.004ff650
add esp, 8
mov byte [ebp - 0x69], 1
jmp 0x4fe763
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0x15], 0
jne 0x4fe57c
cmp byte [eax + 0x14], 0
je 0x4fe599
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fe75f
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0x15], 0
jne 0x4fe57c
cmp byte [eax + 0x14], 0
jne 0x4fe57c
lea ecx, [ebp - 0x5c]
call fcn.0045d130
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x21]
mov byte [ebp - 0x21], 0
push dword [edi + 0xc20]
push edi
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x7c]
call fcn.0052b6d0
add esp, 0x1c
test al, al
je 0x4fe57c
mov ecx, dword [ebp - 0x74]
push esi
call fcn.0046ee20
test al, al
je 0x4fe5df
push dword [0x6905d0]
jmp 0x4fe758
call sub.KERNEL32.DLL_GetTickCount
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
call fcn.0045ca80
test eax, eax
jle 0x4fe74a
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0045d4e0
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4fe734
push eax
push str.ipv4_address
mov ecx, esi
call fcn.00448d80
mov ecx, dword [ebp - 0x80]
call fcn.0042f610
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004ff9e0
add esp, 8
test al, al
je 0x4fe6db
cmp byte [esi + 0x129], 0
je 0x4fe656
mov eax, dword [esi]
mov ecx, esi
push str.This_is_an_IPV4_numeric_address.
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x78]
push esi
push 1
push edi
call fcn.004fec40
test al, al
je 0x4fe709
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 2
movlpd qword [ebp - 0x2c], xmm0
mov word [ebp - 0x34], ax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x80]
mov word [ebp - 0x32], ax
call fcn.0042f610
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 0x78]
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push 0x10
push eax
push edi
call fcn.004fe0b0
test al, al
je 0x4fe709
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x30]
mov dword [edi + 0xc20], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [ebp - 0x78]
push eax
lea ecx, [ecx + 0x2c4]
call fcn.00431a20
mov byte [ebp - 0x69], 1
jmp 0x4fe763
mov ecx, dword [ebp - 0x80]
call fcn.0042f610
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004ffab0
add esp, 8
test al, al
je 0x4fe709
cmp byte [esi + 0x129], 0
je 0x4fe709
mov eax, dword [esi]
mov ecx, esi
push str.This_is_an_IPV6_numeric_address.
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x74]
push esi
call fcn.0046ee20
test al, al
jne 0x4fe7d0
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 0x84]
cmp eax, ecx
jbe 0x4fe7b9
sub eax, ecx
cmp eax, dword [ebp - 0x70]
ja 0x4fe793
inc dword [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
call fcn.0045ca80
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x4fe603
push str.Failed.
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 0x69], 0
lea ecx, [ebp - 0x5c]
call fcn.0045c250
lea ecx, [ebp - 0x68]
call fcn.004482f0
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_make_TCP_connection_before_applications_max_wait_time_to_connect.
call dword [eax + 0x14]
push dword [ebp - 0x70]
mov ecx, esi
push str.connectTimeoutMs
call fcn.00448f10
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fe75f
mov eax, dword [esi]
mov ecx, esi
push str.Connect_timeout.
call dword [eax + 0x14]
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fe75f
push dword [0x6905d0]
jmp 0x4fe74f