Function at 0x140025540
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 [0x14035c8c0]
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.14001b770
nop
mov edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.14001b900
nop
lea rcx, [rbp + 0x170]
call fcn.140009a0c
movdqa xmm0, xmmword [0x1402f81e0]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov rcx, qword [rbp + 0xf8]
test cl, 2
jne 0x140025601
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x140025601
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x140025632
test cl, 4
jne 0x140025641
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140025641
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.140009a80
mov dword [rsp + 0x20], esi
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
jb 0x140025666
mov rdx, qword [rbp + 0x170]
test rdx, rdx
jne 0x140025666
mov eax, esi
jmp 0x14002567a
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140025670
mov r8d, eax
mov rcx, rdi
call fcn.140002a7c
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x170]
call fcn.140009824
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 0x1400256c2
xorps xmm1, xmm1
jmp 0x14002571f
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 0x1400256e3
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 [0x1402f81d8]
cvttss2si rbx, xmm1
lea rcx, [rsp + 0x50]
call fcn.140025c70
nop
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001b900
mov rcx, rax
lea rdx, str._MHz
call fcn.140018b00
nop
lea rcx, [rbp + 0x170]
call fcn.140009a0c
movdqa xmm0, xmmword [0x1402f81e0]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov rcx, qword [rbp - 0x38]
test cl, 2
jne 0x140025799
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140025799
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
jmp 0x1400257c2
test cl, 4
jne 0x1400257d1
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400257d1
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.140009a80
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.140058d30
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x170]
call fcn.140009824
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.14001d050
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.14022c744
nop
lea rcx, [rbp + 0x70]
call fcn.14001b430
mov al, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140229da0
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