Function at 0x1400258c0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rbp + 0x70]
call fcn.14001bb00
nop
mov edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.14001bc90
nop
lea rcx, [rbp + 0x170]
call fcn.140009da0
movdqa xmm0, xmmword [0x1402f9170]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov rcx, qword [rbp + 0xf8]
test cl, 2
jne 0x140025981
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x140025981
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x1400259b2
test cl, 4
jne 0x1400259c1
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400259c1
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xd8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rbp + 0x170]
call fcn.140009e14
mov dword [rsp + 0x20], esi
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
jb 0x1400259e6
mov rdx, qword [rbp + 0x170]
test rdx, rdx
jne 0x1400259e6
mov eax, esi
jmp 0x1400259fa
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400259f0
mov r8d, eax
mov rcx, rdi
call fcn.140002a7c
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x170]
call fcn.140009bb8
cmp dword [rbp + 0x60], 1
seta al
mov byte [rdi + 8], al
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x140025a42
xorps xmm1, xmm1
jmp 0x140025a9f
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
add qword [rsp + 0x28], rax
rdtsc
shl rdx, 0x20
or rax, rdx
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x28]
cmp qword [rsp + 0x38], rcx
jb 0x140025a63
rdtsc
shl rdx, 0x20
or rax, rdx
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rbx
subss xmm1, xmm0
divss xmm1, dword [0x1402f9160]
cvttss2si rbx, xmm1
lea rcx, [rsp + 0x50]
call fcn.140025ff0
nop
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001bc90
mov rcx, rax
lea rdx, str._MHz
call fcn.140018e90
nop
lea rcx, [rbp + 0x170]
call fcn.140009da0
movdqa xmm0, xmmword [0x1402f9170]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov rcx, qword [rbp - 0x38]
test cl, 2
jne 0x140025b19
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140025b19
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
jmp 0x140025b42
test cl, 4
jne 0x140025b51
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x140025b51
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rbp + 0x170]
call fcn.140009e14
mov dword [rsp + 0x20], esi
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
cmovae rdx, qword [rbp + 0x170]
lea rcx, [rdi + 0x10]
call fcn.140059eb0
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x170]
call fcn.140009bb8
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.14001d3e0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x28], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.14022dac4
nop
lea rcx, [rbp + 0x70]
call fcn.14001b7c0
mov al, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14022b120
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret