Function at 0x140046510
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.1400c1588
mov qword [0x140125a30], rax
mov rdx, rax
test rax, rax
jne 0x140046540
add rsp, 0x28
ret
mov rax, qword [0x14011f188]
lea rcx, [rdx + 0x80]
inc dword [0x140125a3c]
lea r9, [0x140004a00]
mov qword [rsp + 0x30], rbx
mov r8d, 0x4ef6d80
mov qword [rsp + 0x38], rbp
movups xmm0, xmmword [rax]
mov qword [rsp + 0x40], rsi
mov qword [0x14011f188], 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 [0x140125a70]
mov qword [rdx + 0x80], r14
lea edx, [r14 + 0xe]
call qword [sym.imp.USER32.dll_SetTimer]
cmp qword [0x140127530], r14
jne 0x140046625
mov edi, 1
mov ebp, edi
jmp 0x1400466fb
mov rax, qword [0x14011f188]
mov byte [rax + 0x7f], r14b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
mov dword [rcx + 0x74], eax
mov dword [rcx + 0x70], WSAAsyncSelect
mov byte [0x140127cbd], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a50]
mov dword [0x140127cd8], eax
jne 0x140046676
call fcn.140007a98
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a40]
jb 0x140046690
mov rax, qword [0x140127be0]
mov qword [rcx], rax
mov rcx, qword [0x140121a48]
add rcx, 0x18
lea rax, str.Auto_execute
mov qword [0x140121a48], 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 [0x140127530]
call fcn.14005c7a0
mov rcx, qword [0x140121a48]
mov ebp, eax
sub rcx, 0x18
cmp rcx, qword [0x140121a40]
mov qword [0x140121a48], rcx
jb 0x1400466f4
mov rcx, qword [rcx]
mov qword [0x140121a68], rcx
mov qword [0x140127be0], rcx
mov byte [0x140127cbd], r14b
mov rbx, qword [0x14011f188]
dec dword [0x140125a3c]
mov rsi, qword [rbx + 0x58]
test rsi, rsi
je 0x140046747
cmp dword [rsi + 0x10], 5
jne 0x140046720
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14004672e
call fcn.1400c1574
mov rcx, qword [rbx + 0x58]
mov edx, reloc.WSOCK32.dll_getservbyport
call fcn.1400baddc
mov qword [rbx + 0x58], r14
mov rbx, qword [0x14011f188]
lea rcx, [0x140127530]
mov dword [rbx + 0x68], 0x80000000
call fcn.1400467a0
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
test al, al
jne 0x140046783
test ebp, ebp
lea rcx, [0x140127530]
mov edx, 6
cmove edx, edi
call fcn.140046bc0
mov rbp, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret