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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1b55
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x68cc00]
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.00447ef0
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.0045a6f0
cmp byte [edi + 0xc24], 0
mov byte [ebp - 4], 1
mov byte [ebp - 0x44], 1
je 0x4fd51f
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
push dword [edi + 0xc20]
push edi
push eax
push dword [ebp - 0x7c]
call fcn.00528e30
add esp, 0x18
test al, al
je 0x4fd508
push 0
lea ecx, [ebp - 0x5c]
call fcn.0045bce0
test eax, eax
je 0x4fd517
push esi
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
call fcn.004fe450
cmp eax, 6
jne 0x4fd517
mov ecx, dword [ebp - 0x78]
push esi
push 1
push edi
call fcn.004fde50
test al, al
je 0x4fd517
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.0040de00
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.004fd040
test al, al
je 0x4fd4eb
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
add esi, 0x2c4
mov ecx, esi
mov dword [edi + 0xc20], eax
call fcn.0042c920
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.004fe550
add esp, 8
mov byte [ebp - 0x69], 1
jmp 0x4fd6d3
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0x15], 0
jne 0x4fd4fa
cmp byte [eax + 0x14], 0
je 0x4fd517
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fd6cf
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0x15], 0
jne 0x4fd4fa
cmp byte [eax + 0x14], 0
jne 0x4fd4fa
lea ecx, [ebp - 0x5c]
call fcn.0045b930
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.00528a80
add esp, 0x1c
test al, al
je 0x4fd4fa
mov ecx, dword [ebp - 0x74]
push esi
call fcn.0046d560
test al, al
je 0x4fd55d
push dword [0x68a5c8]
jmp 0x4fd6c8
call sub.KERNEL32.DLL_GetTickCount
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
call fcn.0045b280
test eax, eax
jle 0x4fd6ba
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0045bce0
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4fd6a4
mov ecx, eax
call fcn.0042f3c0
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004fe8e0
add esp, 8
test al, al
je 0x4fd64b
cmp byte [esi + 0x129], 0
je 0x4fd5c6
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.004fdbb0
test al, al
je 0x4fd679
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.0042f3c0
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.004fd040
test al, al
je 0x4fd679
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.00431720
mov byte [ebp - 0x69], 1
jmp 0x4fd6d3
mov ecx, dword [ebp - 0x80]
call fcn.0042f3c0
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004fe9b0
add esp, 8
test al, al
je 0x4fd679
cmp byte [esi + 0x129], 0
je 0x4fd679
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.0046d560
test al, al
jne 0x4fd740
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 0x84]
cmp eax, ecx
jbe 0x4fd729
sub eax, ecx
cmp eax, dword [ebp - 0x70]
ja 0x4fd703
inc dword [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
call fcn.0045b280
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x4fd581
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.0045aa50
lea ecx, [ebp - 0x68]
call fcn.00447ff0
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.005af5a8
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.00448c10
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fd6cf
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 0x4fd6cf
push dword [0x68a5c8]
jmp 0x4fd6bf