Function at 0x140001220
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xc8
xorps xmm0, xmm0
movsd qword [rsp + 0x40], xmm0
xor ecx, ecx
call fcn.140001120
mov ecx, eax
call fcn.14001a82c
mov eax, dword [rsp + 0xe0]
shl eax, 1
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0xe0]
shl rax, 2
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0xe0]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x2c]
mov rcx, rax
call fcn.14001a4e4
mov qword [0x140052b60], rax
mov dword [rsp + 0x24], 0
jmp 0x1400012a9
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x24], eax
jge 0x1400012d3
call fcn.14001a800
cdq
idiv dword [rsp + 0x34]
mov eax, edx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [0x140052b60]
mov dword [rdx + rcx*4], eax
jmp 0x14000129f
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [rsp + 0x30], 0
jmp 0x1400012f2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0x30], eax
jge 0x1400014f1
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [0x140052b68]
call fcn.140002070
movsxd rax, dword [rsp + 0x2c]
mov r9d, 1
mov r8, rax
mov rdx, qword [0x140052b60]
mov rcx, qword [0x140052b68]
call fcn.1400021c0
mov eax, dword [rsp + 0xe0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], 1
jmp 0x140001367
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x20], eax
jg 0x140001474
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x14000138c
mov eax, dword [rsp + 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x14000146f
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov r9d, 1
mov r8d, 1
mov edx, 0x400
mov rcx, qword [rsp + 0x48]
call fcn.140001a80
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov r9d, 1
mov r8d, 1
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
call fcn.140001a80
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x90]
call fcn.1400028c0
test eax, eax
je 0x140001431
jmp 0x140001446
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x20]
mov rcx, qword [0x140052b68]
call fcn.1400011f0
call fcn.140001b80
test eax, eax
je 0x14000146a
mov r8d, 0x4b
lea rdx, str.bitonicParBench.cu
lea rcx, str.cudaDeviceSynchronize____0
call fcn.140023510
xor eax, eax
jmp 0x14000137f
jmp 0x14000135d
movsxd rax, dword [rsp + 0x2c]
mov r9d, 2
mov r8, rax
mov rdx, qword [0x140052b68]
mov rcx, qword [0x140052b60]
call fcn.1400021c0
mov rcx, qword [0x140052b68]
call fcn.140001cb0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x140034578]
cvtsi2sd xmm1, qword [rsp + 0x68]
divsd xmm0, xmm1
movsd qword [rsp + 0x70], xmm0
movsd xmm0, qword [rsp + 0x40]
addsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x40], xmm0
jmp 0x1400012e8
mov rcx, qword [0x140052b60]
call fcn.14001a4d0
cvtsi2sd xmm0, dword [rsp + 0xe8]
movsd xmm1, qword [rsp + 0x40]
divsd xmm1, xmm0
movaps xmm0, xmm1
add rsp, 0xc8
pop rdi
pop rsi
ret