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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xd8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp - 1], rax
mov rdi, r9
mov dword [rsp + 0x40], r8d
mov r15, rdx
mov r13, rcx
mov r12, qword [rbp + 0x77]
mov rbx, qword [rbp + 0x7f]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
lea r8, str.connect_domain
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14004ce70
nop
mov r14d, dword [rdi + 0xfe4]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x59]
call fcn.140070450
nop
mov byte [rbp - 0x31], 1
cmp byte [rdi + 0xfe8], 0
je 0x14018f86d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9d, dword [rdi + 0xfe4]
mov r8, rdi
lea rdx, [rbp - 0x59]
mov rcx, r15
call fcn.1401897b0
test al, al
je 0x14018f854
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.140071c90
mov rsi, rax
test rax, rax
je 0x14018f864
mov r8, rax
lea rdx, str.ip_address
mov rcx, rbx
call fcn.14004db10
mov r9, rbx
lea r8, [rbp - 0x11]
mov rdx, rsi
mov rcx, r13
call fcn.1401909e0
cmp eax, 6
jne 0x14018f848
mov r9, rbx
mov r8b, 1
mov rdx, rdi
mov rcx, r13
call fcn.1401902e0
test al, al
je 0x14018f864
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x75], xmm0
mov qword [rbp - 0x65], 0
mov eax, reloc.WS2_32.dll_socket
mov word [rbp - 0x79], ax
movzx ecx, word [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x77], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x71]
call fcn.14003be40
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9d, 0x1c
lea r8, [rbp - 0x79]
mov rdx, rdi
mov rcx, r13
call fcn.14018f320
test al, al
je 0x14018f82c
mov dword [rdi + 0xfe4], r14d
lea rcx, [r13 + 0x2e0]
call fcn.140030e50
lea rdx, [r13 + 0x2e0]
lea rcx, [rbp - 0x71]
call fcn.140190db0
mov bl, 1
jmp 0x14018fa5f
cmp byte [r12 + 0x29], 0
jne 0x14018f83c
cmp byte [r12 + 0x28], 0
je 0x14018f864
mov dword [rdi + 0xfe4], r14d
jmp 0x14018fa5d
cmp eax, 4
jne 0x14018f864
mov byte [rsp + 0x48], 0
jmp 0x14018f89e
cmp byte [r12 + 0x29], 0
jne 0x14018f83c
cmp byte [r12 + 0x28], 0
jne 0x14018f83c
lea rcx, [rbp - 0x59]
call fcn.140071710
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov eax, dword [rdi + 0xfe4]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x59]
mov rcx, r15
call fcn.140188f70
test al, al
je 0x14018f83c
mov rdx, rbx
mov rcx, r12
call fcn.1401a2300
test al, al
je 0x14018f8b9
mov rdx, qword [str.Aborted_by_application.]
jmp 0x14018fa54
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x44], eax
xor r15d, r15d
lea rcx, [rbp - 0x59]
call fcn.140070f10
test eax, eax
jle 0x14018fa46
nop word [rax + rax]
mov edx, r15d
lea rcx, [rbp - 0x59]
call fcn.140071c90
mov rsi, rax
test rax, rax
je 0x14018fa31
mov r8, rax
lea rdx, str.ipv4_address
mov rcx, rbx
call fcn.14004db10
mov rcx, rsi
call fcn.140033b70
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.140191470
test al, al
je 0x14018f9d5
cmp byte [rbx + 0x169], 0
je 0x14018f93f
mov rax, qword [rbx]
lea rdx, str.This_is_an_IPV4_numeric_address.
mov rcx, rbx
call qword [rax + 0x30]
mov r9, rbx
mov r8b, 1
mov rdx, rdi
mov rcx, r13
call fcn.140190010
test al, al
je 0x14018fa06
mov qword [rbp - 0x71], 0
mov eax, 2
mov word [rbp - 0x79], ax
movzx ecx, word [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x77], ax
mov rcx, rsi
call fcn.140033b70
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x75], eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x79]
mov rdx, rdi
mov rcx, r13
call fcn.14018f320
test al, al
je 0x14018fa06
mov dword [rdi + 0xfe4], r14d
mov ecx, dword [rbp - 0x75]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [r13 + 0x2e0]
call fcn.1400377d0
mov bl, 1
jmp 0x14018fa5f
mov rcx, rsi
call fcn.140033b70
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.140191550
test al, al
je 0x14018fa06
cmp byte [rbx + 0x169], 0
je 0x14018fa06
mov rax, qword [rbx]
lea rdx, str.This_is_an_IPV6_numeric_address.
mov rcx, rbx
call qword [rax + 0x30]
mov rdx, rbx
mov rcx, r12
call fcn.1401a2300
test al, al
jne 0x14018fad9
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x44]
cmp eax, ecx
jbe 0x14018fac0
sub eax, ecx
cmp eax, r14d
ja 0x14018fa95
inc r15d
lea rcx, [rbp - 0x59]
call fcn.140070f10
cmp r15d, eax
jl 0x14018f8e0
lea rdx, str.Failed.
mov dword [rdi + 0xfe4], r14d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rbp - 0x59]
call fcn.1400705e0
nop
lea rcx, [rbp - 0x29]
call fcn.14004d020
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rbx]
lea rdx, str.Failed_to_make_TCP_connection_before_applications_max_wait_time_to_connect.
mov rcx, rbx
call qword [rax + 0x28]
mov r8d, r14d
lea rdx, str.connectTimeoutMs
mov rcx, rbx
call fcn.14004dcd0
mov dword [rdi + 0xfe4], r14d
jmp 0x14018fa5d
mov rax, qword [rbx]
lea rdx, str.Connect_timeout.
mov rcx, rbx
call qword [rax + 0x28]
mov dword [rdi + 0xfe4], r14d
jmp 0x14018fa5d
mov rdx, qword [str.Aborted_by_application.]
jmp 0x14018fa4d