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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [rcx + 0x18]
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rax + 0x610]
cmp dword [rdi], 0
mov rcx, qword [rdi + 0x10]
sete r8b
xor edx, edx
call fcn.1400f3050
test rax, rax
jns 0x14012bfe1
mov dword [rdi + 8], 0xffffff9d
mov dword [rdi], 3
mov rax, rsi
mov byte [rax], 0
mov rax, qword [rdi + 0x18]
cmp rax, 0xffffffffffffffff
je 0x14012c2e3
xor ebp, ebp
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x700
lea rcx, [rsp + 0x30]
lea edx, [rbp + 1]
call fcn.14010f280
mov edx, eax
test eax, eax
jle 0x14012bfa8
movzx ecx, word [rsp + 0x3a]
mov eax, 0x303
test ax, cx
mov edx, 0x604
mov eax, ebp
setne al
and cx, dx
mov edx, eax
or edx, 4
test cx, cx
cmove edx, eax
cmp edx, 0xffffffff
jne 0x14012c176
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, [rsp + 0x60]
call fcn.1400e24e0
mov r8, rax
lea rdx, [0x140284558]
mov rcx, rbx
call fcn.140100cb0
mov dword [rdi + 0xc], 5
jmp 0x14012c2e3
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
movsxd rax, dword [rdi + 0x24]
lea rcx, [rdi + 0x30]
add rax, qword [rcx]
cmp qword [rsp + 0x20], rax
jle 0x14012bf4a
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edx, 7
mov byte [rsi], 0
mov rcx, rdi
call fcn.14012b940
test eax, eax
jne 0x14012c2e5
cmp dword [rdi], 3
sete al
mov byte [rsi], al
jne 0x14012c2e3
mov rcx, qword [rbx + 0x18]
mov edx, 0xffffffff
mov r8, qword [rbx + 0x1b0]
mov rax, qword [rcx + 0x328]
test dword [rax + 0x84], 0xc0000003
je 0x14012c05f
cmp dword [r8 + 0x200], 1
jne 0x14012c05f
mov al, 1
jmp 0x14012c061
xor al, al
cmp byte [rcx + 0x31f], 0
jne 0x14012c077
cmp byte [rcx + 0x73f], 0x14
jae 0x14012c077
test al, al
je 0x14012c07e
xor ebp, ebp
test al, al
cmovne edx, ebp
mov qword [rcx + 0x350], 0xffffffffffffffff
mov qword [rcx + 0x348], 0xffffffffffffffff
mov byte [rbx + 0x1c9], 0
mov qword [rbx + 0xe8], 0xffffffffffffffff
mov byte [rbx + 0x1c1], 0
cmp byte [rbx + 0x1cb], 0
jne 0x14012c2e3
cmp edx, 0xffffffff
je 0x14012c2e3
cmp byte [rbx + 0x12d7], 0
je 0x14012c2dc
mov rax, qword [rcx + 0x328]
test dword [rax + 0x84], 0xc0000003
je 0x14012c2d2
cmp dword [r8 + 0x200], 2
jne 0x14012c2d2
cmp byte [0x1402b5b38], 0
mov dword [rbx + 0x170], 1
je 0x14012c145
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x20]
mov r8, qword [0x1402b5b30]
mov rax, rcx
cqo
idiv r8
mov qword [rsp + 0x20], rax
mov rax, rcx
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x14012c2ae
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov eax, 0x10624dd3
mul r9d
shr edx, 6
mov r8d, edx
imul edx, edx, 0x3e8
mov qword [rsp + 0x20], r8
sub r9d, edx
imul eax, r9d, 0x3e8
jmp 0x14012c2ae
test edx, edx
je 0x14012c2e3
mov rcx, rbx
call fcn.14012bc80
test eax, eax
jne 0x14012c2e5
mov edx, dword [rdi + 0xc]
mov rcx, rdi
call fcn.14012b940
test eax, eax
jne 0x14012c2e5
cmp dword [rdi], 3
sete al
mov byte [rsi], al
jne 0x14012c2e3
mov rcx, qword [rbx + 0x18]
mov edx, 0xffffffff
mov r8, qword [rbx + 0x1b0]
mov rax, qword [rcx + 0x328]
test dword [rax + 0x84], 0xc0000003
je 0x14012c1e0
cmp dword [r8 + 0x200], 1
jne 0x14012c1e0
mov al, 1
jmp 0x14012c1e2
xor al, al
cmp byte [rcx + 0x31f], bpl
jne 0x14012c1f8
cmp byte [rcx + 0x73f], 0x14
jae 0x14012c1f8
test al, al
je 0x14012c1fd
test al, al
cmovne edx, ebp
mov qword [rcx + 0x350], 0xffffffffffffffff
mov qword [rcx + 0x348], 0xffffffffffffffff
mov byte [rbx + 0x1c9], bpl
mov qword [rbx + 0xe8], 0xffffffffffffffff
mov byte [rbx + 0x1c1], bpl
cmp byte [rbx + 0x1cb], bpl
jne 0x14012c2e3
cmp edx, 0xffffffff
je 0x14012c2e3
cmp byte [rbx + 0x12d7], bpl
je 0x14012c2dc
mov rax, qword [rcx + 0x328]
test dword [rax + 0x84], 0xc0000003
je 0x14012c2d2
cmp dword [r8 + 0x200], 2
jne 0x14012c2d2
cmp byte [0x1402b5b38], bpl
mov dword [rbx + 0x170], 1
jne 0x14012c108
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x20], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x28], eax
xor r8d, r8d
movups xmm0, xmmword [rsp + 0x20]
mov rcx, rbx
movups xmmword [rbx + 0x160], xmm0
movsxd rdx, dword [rbx + 0xa30]
call fcn.1400f2350
jmp 0x14012c2e3
mov dword [rbx + 0x170], 2
or dword [rbx + 0x15c], 2
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14014d450
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret