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

Disassembly:
sub rsp, 0x28
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
add eax, 2
movsxd rcx, eax
imul rcx, rcx, 0xc8
call fcn.1400be2f4
mov qword [0x140122a30], rax
mov rdx, rax
test rax, rax
jne 0x1400462c0
add rsp, 0x28
ret
mov rax, qword [0x14011c188]
lea rcx, [rdx + 0x80]
inc dword [0x140122a3c]
lea r9, [0x140004a30]
mov qword [rsp + 0x30], rbx
mov r8d, 0x4ef6d80
mov qword [rsp + 0x38], rbp
movups xmm0, xmmword [rax]
mov qword [rsp + 0x40], rsi
mov qword [0x14011c188], rdx
movups xmmword [rdx], xmm0
mov qword [rsp + 0x48], rdi
movups xmm1, xmmword [rax + 0x10]
mov qword [rsp + 0x20], r14
xor r14d, r14d
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rax + 0xa0]
movups xmmword [rcx + 0x20], xmm1
movups xmm0, xmmword [rax + 0xb0]
movups xmmword [rcx + 0x30], xmm0
mov rax, qword [rax + 0xc0]
mov qword [rcx + 0x40], rax
mov rcx, qword [0x140122a70]
mov qword [rdx + 0x80], r14
lea edx, [r14 + 0xe]
call qword [sym.imp.USER32.dll_SetTimer]
cmp qword [0x140124530], r14
jne 0x1400463a5
mov edi, 1
mov ebp, edi
jmp 0x14004647b
mov rax, qword [0x14011c188]
mov byte [rax + 0x7f], r14b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011c188]
mov dword [rcx + 0x74], eax
mov dword [rcx + 0x70], WSAAsyncSelect
mov byte [0x140124cbd], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea50]
mov dword [0x140124cd8], eax
jne 0x1400463f6
call fcn.140007ad8
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140046410
mov rax, qword [0x140124be0]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
lea rax, str.Auto_execute
mov qword [0x14011ea48], 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 [0x140124530]
call fcn.140059550
mov rcx, qword [0x14011ea48]
mov ebp, eax
sub rcx, 0x18
cmp rcx, qword [0x14011ea40]
mov qword [0x14011ea48], rcx
jb 0x140046474
mov rcx, qword [rcx]
mov qword [0x14011ea68], rcx
mov qword [0x140124be0], rcx
mov byte [0x140124cbd], r14b
mov rbx, qword [0x14011c188]
dec dword [0x140122a3c]
mov rsi, qword [rbx + 0x58]
test rsi, rsi
je 0x1400464c7
cmp dword [rsi + 0x10], 5
jne 0x1400464a0
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400464ae
call fcn.1400be2e0
mov rcx, qword [rbx + 0x58]
mov edx, reloc.WSOCK32.dll_getservbyport
call fcn.1400b7abc
mov qword [rbx + 0x58], r14
mov rbx, qword [0x14011c188]
lea rcx, [0x140124530]
mov dword [rbx + 0x68], 0x80000000
call fcn.140046520
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
test al, al
jne 0x140046503
test ebp, ebp
lea rcx, [0x140124530]
mov edx, 6
cmove edx, edi
call fcn.140046940
mov rbp, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret