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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1bb5
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.00447f50
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.0045a740
cmp byte [edi + 0xc24], 0
mov byte [ebp - 4], 1
mov byte [ebp - 0x44], 1
je 0x4fd55f
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
push dword [edi + 0xc20]
push edi
push eax
push dword [ebp - 0x7c]
call fcn.00528ea0
add esp, 0x18
test al, al
je 0x4fd548
push 0
lea ecx, [ebp - 0x5c]
call fcn.0045bd30
test eax, eax
je 0x4fd557
push esi
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
call fcn.004fe490
cmp eax, 6
jne 0x4fd557
mov ecx, dword [ebp - 0x78]
push esi
push 1
push edi
call fcn.004fde90
test al, al
je 0x4fd557
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.0040de60
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.004fd080
test al, al
je 0x4fd52b
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
add esi, 0x2c4
mov ecx, esi
mov dword [edi + 0xc20], eax
call fcn.0042c990
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.004fe590
add esp, 8
mov byte [ebp - 0x69], 1
jmp 0x4fd713
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0x15], 0
jne 0x4fd53a
cmp byte [eax + 0x14], 0
je 0x4fd557
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fd70f
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0x15], 0
jne 0x4fd53a
cmp byte [eax + 0x14], 0
jne 0x4fd53a
lea ecx, [ebp - 0x5c]
call fcn.0045b980
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.00528af0
add esp, 0x1c
test al, al
je 0x4fd53a
mov ecx, dword [ebp - 0x74]
push esi
call fcn.0046d5b0
test al, al
je 0x4fd59d
push dword [0x68a5c8]
jmp 0x4fd708
call sub.KERNEL32.DLL_GetTickCount
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
call fcn.0045b2d0
test eax, eax
jle 0x4fd6fa
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0045bd30
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4fd6e4
mov ecx, eax
call fcn.0042f430
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004fe920
add esp, 8
test al, al
je 0x4fd68b
cmp byte [esi + 0x129], 0
je 0x4fd606
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.004fdbf0
test al, al
je 0x4fd6b9
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.0042f430
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.004fd080
test al, al
je 0x4fd6b9
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.00431790
mov byte [ebp - 0x69], 1
jmp 0x4fd713
mov ecx, dword [ebp - 0x80]
call fcn.0042f430
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004fe9f0
add esp, 8
test al, al
je 0x4fd6b9
cmp byte [esi + 0x129], 0
je 0x4fd6b9
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.0046d5b0
test al, al
jne 0x4fd780
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 0x84]
cmp eax, ecx
jbe 0x4fd769
sub eax, ecx
cmp eax, dword [ebp - 0x70]
ja 0x4fd743
inc dword [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
call fcn.0045b2d0
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x4fd5c1
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.0045aaa0
lea ecx, [ebp - 0x68]
call fcn.00448050
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.005af618
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.00448c70
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xc20], eax
jmp 0x4fd70f
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 0x4fd70f
push dword [0x68a5c8]
jmp 0x4fd6ff