Function at 0x140037960
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 [0x1401278c0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [0x1401278c0], rax
mov r8, rax
test rax, rax
jne 0x140037998
add rsp, 0x38
ret
mov rcx, qword [0x140124200]
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 0x1400379c0
movups xmm0, xmmword [rcx]
mov qword [0x140124200], r8
lea r9, [0x140005ab0]
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 [0x140127a60]
movups xmmword [rax + 0x40], xmm0
call qword [sym.imp.USER32.dll_SetTimer]
xor r14d, r14d
cmp qword [0x14012b620], r14
jne 0x140037a7c
mov edi, 1
mov ebp, edi
jmp 0x140037ba5
mov rax, qword [0x140124200]
mov byte [rax + 0x12c], r14b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x14012787d], r14b
mov rcx, qword [0x140124200]
mov dword [rcx + 0x11c], eax
mov dword [rcx + 0x120], WSAAsyncSelect
jne 0x140037ad7
mov rcx, qword [0x140127a60]
lea r9, [0x140005870]
mov edx, reloc.WSOCK32.dll_inet_ntoa
lea r8d, [rdx + 0x59]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x14012787d]
mov byte [0x14012bba1], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140126968]
inc dword [0x1401278cc]
cmp rcx, qword [0x140126970]
mov dword [0x14012bbc4], eax
mov dword [0x14012bbc0], eax
jne 0x140037b12
call fcn.140007950
mov rcx, qword [0x140126968]
cmp rcx, qword [0x140126960]
jb 0x140037b2c
mov rax, qword [0x14012b690]
mov qword [rcx], rax
mov rcx, qword [0x140126968]
add rcx, 0x18
lea rax, str.Auto_execute
mov qword [0x140126968], 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 [0x14012b620]
call fcn.1400536e0
sub qword [0x140126968], 0x18
mov ebp, eax
dec dword [0x1401278cc]
cmp byte [0x14012787d], r14b
je 0x140037b9e
mov rcx, qword [0x140127a60]
lea edx, [rdi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x14012787d]
test eax, eax
cmovne ecx, r14d
mov byte [0x14012787d], cl
mov byte [0x14012bba1], r14b
mov rbx, qword [0x140124200]
mov rcx, qword [rbx + 0x148]
test rcx, rcx
je 0x140037bff
cmp dword [rcx + 0x10], 6
jne 0x140037bce
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 0x140037be7
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.1400ec260
mov qword [rbx + 0x148], r14
mov rbx, qword [0x140124200]
mov qword [rbx + 0xd8], r14
lea rcx, [0x1401278d0]
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 0x140037c70
movups xmm0, xmmword [rax]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [rsi - 1]
movups xmmword [rcx], xmm0
lea rdx, [0x1400ef8b4]
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 [0x140127a38]
mov word [rbx + 0x12c], 0x101
mov dword [rbx + 0x120], r14d
mov byte [rbx + 0x12e], r14b
mov dword [rbx + 0x3c], 0x80000000
call fcn.1400d3520
cmp word [0x140128a9c], 0
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
jne 0x140037d7e
cmp dword [0x140128a80], 0
jne 0x140037d7e
cmp qword [0x140127a90], 0
jne 0x140037d7e
cmp qword [0x140127a88], 0
jne 0x140037d7e
cmp byte [0x140127a75], 0
jne 0x140037d7e
test ebp, ebp
lea rcx, [0x14012afc0]
mov edx, 6
cmove edx, edi
xor r8d, r8d
call fcn.1400380f0
mov rbp, qword [rsp + 0x48]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret