Function at 0x140035720
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 [0x1401138b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [0x1401138b0], rax
mov r8, rax
test rax, rax
jne 0x140035758
add rsp, 0x38
ret
mov rcx, qword [0x1401101f0]
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 word [rax + 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 0x140035780
movups xmm0, xmmword [rcx]
mov qword [0x1401101f0], r8
lea r9, [0x1400055c0]
mov edx, SafeArrayGetUBound
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 [0x140113a50]
movups xmmword [rax + 0x40], xmm0
call qword [sym.imp.USER32.dll_SetTimer]
xor r14d, r14d
cmp qword [0x140117610], r14
jne 0x14003583c
mov edi, 1
mov ebp, edi
jmp 0x140035965
mov rax, qword [0x1401101f0]
mov byte [rax + 0x12c], r14b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x14011386d], r14b
mov rcx, qword [0x1401101f0]
mov dword [rcx + 0x11c], eax
mov dword [rcx + 0x120], WSAAsyncSelect
jne 0x140035897
mov rcx, qword [0x140113a50]
lea r9, [0x140005380]
mov edx, reloc.WSOCK32.dll_inet_ntoa
lea r8d, [rdx + 0x59]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x14011386d]
mov byte [0x140117b91], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112958]
inc dword [0x1401138bc]
cmp rcx, qword [0x140112960]
mov dword [0x140117bb4], eax
mov dword [0x140117bb0], eax
jne 0x1400358d2
call fcn.1400075b0
mov rcx, qword [0x140112958]
cmp rcx, qword [0x140112950]
jb 0x1400358ec
mov rax, qword [0x140117680]
mov qword [rcx], rax
mov rcx, qword [0x140112958]
add rcx, 0x18
lea rax, str.Auto_execute
mov qword [0x140112958], 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 [0x140117610]
call fcn.14004c520
sub qword [0x140112958], 0x18
mov ebp, eax
dec dword [0x1401138bc]
cmp byte [0x14011386d], r14b
je 0x14003595e
mov rcx, qword [0x140113a50]
lea edx, [rdi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x14011386d]
test eax, eax
cmovne ecx, r14d
mov byte [0x14011386d], cl
mov byte [0x140117b91], r14b
mov rbx, qword [0x1401101f0]
mov rcx, qword [rbx + 0x148]
test rcx, rcx
je 0x1400359bf
cmp dword [rcx + 0x10], 6
jne 0x14003598e
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 0x1400359a7
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x148]
mov edx, SafeArrayAllocDescriptor
call fcn.1400d6c90
mov qword [rbx + 0x148], r14
mov rbx, qword [0x1401101f0]
mov qword [rbx + 0xd8], r14
lea rcx, [0x1401138c0]
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 0x140035a30
movups xmm0, xmmword [rax]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [rsi - 1]
movups xmmword [rcx], xmm0
lea rdx, [0x1400da884]
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 [0x140113a28]
mov word [rbx + 0x12c], 0x101
mov dword [rbx + 0x120], r14d
mov byte [rbx + 0x12e], r14b
mov dword [rbx + 0x3c], 0x80000000
call fcn.1400befb0
cmp word [0x140114a8c], 0
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
jne 0x140035b3e
cmp dword [0x140114a70], 0
jne 0x140035b3e
cmp qword [0x140113a80], 0
jne 0x140035b3e
cmp qword [0x140113a78], 0
jne 0x140035b3e
cmp byte [0x140113a65], 0
jne 0x140035b3e
test ebp, ebp
lea rcx, [0x140116fb0]
mov edx, 6
cmove edx, edi
xor r8d, r8d
call fcn.140035eb0
mov rbp, qword [rsp + 0x48]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret