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

Disassembly:
sub rsp, 0x38
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
add eax, 4
movsxd rcx, eax
imul rdx, rcx, 0x150
mov rcx, qword [0x1401425d0]
call fcn.1400dc230
mov qword [0x1401425d0], rax
mov r8, rax
test rax, rax
jne 0x140035497
add rsp, 0x38
ret
mov rcx, qword [0x14013dbf0]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov esi, 2
mov qword [rsp + 0x58], rdi
mov edx, esi
mov qword [rsp + 0x30], r14
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400354c0
movups xmm0, xmmword [rcx]
mov qword [0x14013dbf0], r8
lea r9, [0x1400055b0]
mov edx, ntohs
mov qword [rsp + 0x48], rbp
movups xmmword [rax], xmm0
mov r8d, 0x4ef6d80
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
mov rcx, qword [0x140142770]
movups xmmword [rax + 0x40], xmm0
call qword [sym.imp.USER32.dll_SetTimer]
xor r14d, r14d
cmp qword [0x140146330], r14
jne 0x14003557c
mov edi, 1
mov ebp, edi
jmp 0x1400356a5
mov rax, qword [0x14013dbf0]
mov byte [rax + 0x12c], r14b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x14014258d], r14b
mov rcx, qword [0x14013dbf0]
mov dword [rcx + 0x11c], eax
mov dword [rcx + 0x120], WSAAsyncSelect
jne 0x1400355d7
mov rcx, qword [0x140142770]
lea r9, [0x140005370]
mov edx, reloc.WSOCK32.dll_inet_ntoa
lea r8d, [rdx + 0x59]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x14014258d]
mov byte [0x1401468b1], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140140358]
inc dword [0x1401425dc]
cmp rcx, qword [0x140140360]
mov dword [0x1401468d4], eax
mov dword [0x1401468d0], eax
jne 0x140035612
call fcn.140007570
mov rcx, qword [0x140140358]
cmp rcx, qword [0x140140350]
jb 0x14003562c
mov rax, qword [0x1401463a0]
mov qword [rcx], rax
mov rcx, qword [0x140140358]
add rcx, 0x18
lea rax, str.Auto_execute
mov qword [0x140140358], rcx
mov edi, 1
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov qword [rcx], r14
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], r14d
mov rcx, qword [0x140146330]
call fcn.14004c030
sub qword [0x140140358], 0x18
mov ebp, eax
dec dword [0x1401425dc]
cmp byte [0x14014258d], r14b
je 0x14003569e
mov rcx, qword [0x140142770]
lea edx, [rdi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x14014258d]
test eax, eax
cmovne ecx, r14d
mov byte [0x14014258d], cl
mov byte [0x1401468b1], r14b
mov rbx, qword [0x14013dbf0]
mov rcx, qword [rbx + 0x148]
test rcx, rcx
je 0x1400356fe
cmp dword [rcx + 0x10], 6
jne 0x1400356ce
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x148]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400356e6
mov rcx, rax
call fcn.1400dc21c
mov rcx, qword [rbx + 0x148]
mov edx, SafeArrayAllocDescriptor
call fcn.1400d62f0
mov qword [rbx + 0x148], r14
mov rbx, qword [0x14013dbf0]
mov qword [rbx + 0xd8], r14
lea rcx, [0x1401425e0]
mov qword [rbx + 0xe0], r14
mov rax, rbx
mov qword [rbx + 0xe8], r14
mov qword [rbx + 0xf8], r14
mov dword [rbx + 0x100], r14d
mov byte [rbx + 0x138], r14b
mov dword [rbx + 0x38], r14d
mov qword [rbx + 0x68], r14
mov byte [rbx + 0x128], r14b
mov qword [rbx + 0x60], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x148], r14
mov dword [rbx + 0x140], r14d
mov byte [rbx + 0x12c], 1
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rsi, 1
jne 0x140035770
movups xmm0, xmmword [rax]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [rsi - 1]
movups xmmword [rcx], xmm0
lea rdx, [0x140103654]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rcx, qword [0x140142748]
mov word [rbx + 0x12c], 0x101
mov dword [rbx + 0x120], r14d
mov byte [rbx + 0x12e], r14b
mov dword [rbx + 0x3c], 0x80000000
call fcn.1400be640
cmp word [0x1401437ac], 0
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
jne 0x14003587e
cmp dword [0x140143790], 0
jne 0x14003587e
cmp qword [0x1401427a0], 0
jne 0x14003587e
cmp qword [0x140142798], 0
jne 0x14003587e
cmp byte [0x140142785], 0
jne 0x14003587e
test ebp, ebp
lea rcx, [0x140145cd0]
mov edx, 6
cmove edx, edi
xor r8d, r8d
call fcn.140035bf0
mov rbp, qword [rsp + 0x48]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret