Function at 0x140042050
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x9a8]
sub rsp, 0xa68
mov r12, qword [r8 + 8]
xor r14d, r14d
movaps xmmword [rax - 0x58], xmm6
mov r15, rdx
mov rdx, rcx
mov qword [rbp - 0x80], r12
mov rdi, r8
movsxd rcx, dword [r12]
mov rax, qword [r15 + 0x18]
add rcx, r12
mov qword [rbp + 0x10], rax
mov eax, r14d
sub eax, dword [r12]
neg eax
sbb rax, rax
and rcx, rax
cmp byte [r12 + 0x88], 1
mov qword [rbp], rcx
jne 0x1400420dd
test rcx, rcx
je 0x1400420cc
cmp byte [rcx], r14b
jne 0x1400420dd
mov r15, qword [rbp + 0x9b8]
mov ebx, 3
jmp 0x140042d0a
movsxd r8, dword [r12 + 4]
lea rcx, [r12 + 4]
mov r13, qword [rdx + 0x190]
add r8, rcx
mov ebx, dword [r15 + 0x38]
mov eax, r14d
sub eax, dword [rcx]
movsd xmm6, qword [0x140083220]
neg eax
mov qword [rsp + 0x50], r13
sbb rax, rax
mov qword [rbp - 0x40], r15
and r8, rax
mov qword [rbp - 0x38], r12
mov eax, dword [r15 + 0x38]
mov dword [rsp + 0x78], eax
movzx eax, byte [rdx + 0xc8]
and al, 1
mov qword [rbp - 0x78], r8
cmp qword [0x14008e868], r14
mov byte [rbp + 0x9c8], al
je 0x14004221c
lea rcx, [0x14008e870]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x14008e89c]
lea rcx, [rbp + 0xf0]
add eax, 0x14
mov dword [rbp + 0x16c], r14d
mov dword [rbp + 0x168], eax
mov r9d, 4
mov rax, qword [rdi + 8]
lea r8d, [r9 + 4]
mov edx, dword [rax + 0x8c]
mov dword [rbp - 0x70], edx
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x6c], ebx
call fcn.140022e90
lea rcx, [0x14008e870]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140042d64
mov rax, qword [rbp - 0x30]
xor edx, edx
sub rax, qword [0x14008eac8]
xorps xmm0, xmm0
imul rax, rax, 0xf4240
div qword [0x14008eac0]
mov rbx, rax
add rbx, qword [0x14008ead0]
mov rcx, rbx
sub rcx, qword [0x14008e8a0]
js 0x1400421e6
cvtsi2sd xmm0, rcx
jmp 0x1400421fb
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, xmm6
comisd xmm0, xmmword [0x140083200]
jbe 0x14004221c
mov rcx, qword [0x14008e868]
call fcn.14005342c
mov qword [0x14008e8a0], rbx
test dword [r12 + 0x88], 0x100
jne 0x140042452
movsxd rdx, dword [r12 + 0x30]
lea rcx, [r12 + 0x30]
movsxd r15, dword [r12 + 0x30]
lea r8, [r12 + 0x30]
add rdx, rcx
mov eax, r14d
sub eax, dword [rcx]
neg eax
sbb rax, rax
add r15, r8
and rdx, rax
movsxd rax, dword [r12 + 0x2c]
lea rcx, [rdx + rax*8]
mov eax, r14d
sub eax, dword [r8]
neg eax
mov qword [rsp + 0x58], rcx
sbb rax, rax
and r15, rax
cmp r15, rcx
je 0x140042335
lea rax, [r13 + 0x10]
lea r12, [r13 + 0x18]
mov r13, rax
nop word [rax + rax]
movsxd r8, dword [r15]
lea rdx, str.Removing_output_file__s_before_running_action
add r8, r15
mov eax, r14d
sub eax, dword [r15]
mov ecx, 8
neg eax
sbb rax, rax
and r8, rax
call fcn.140013a20
movsxd rcx, dword [r15]
mov eax, r14d
sub eax, dword [r15]
add rcx, r15
neg eax
sbb rax, rax
and rcx, rax
call fcn.140014580
mov esi, dword [r15 + 4]
mov rcx, r13
movsxd rbx, dword [r15]
mov edi, dword [r15]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
test edi, edi
lea r8, [r15 + rbx]
mov edx, esi
mov rcx, r12
cmove r8, r14
call fcn.140015f50
cmp eax, 0xffffffff
je 0x140042314
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 0x28]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140042314
mov dword [rdx], 0x40000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
add r15, 8
cmp r15, qword [rsp + 0x58]
jne 0x140042290
mov r13, qword [rsp + 0x50]
mov r12, qword [rbp - 0x80]
movsxd r15, dword [r12 + 0x38]
lea rcx, [r12 + 0x38]
movsxd rdx, dword [r12 + 0x38]
add r15, rcx
mov eax, r14d
sub eax, dword [rcx]
lea rcx, [r12 + 0x38]
neg eax
sbb rax, rax
add rdx, rcx
and r15, rax
mov eax, r14d
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [r12 + 0x34]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x70], rax
cmp r15, rax
je 0x14004244b
movsxd r8, dword [r15]
lea rdx, str.Removing_output_directory__s_before_running_action
add r8, r15
mov eax, r14d
sub eax, dword [r15]
mov ecx, 8
neg eax
sbb rax, rax
and r8, rax
call fcn.140013a20
movsxd rdx, dword [r15]
lea rcx, [rbp + 0xa0]
add rdx, r15
cmp dword [r15], r14d
cmove rdx, r14
call fcn.140026540
movsd xmm0, qword [rax + 0x10]
mov eax, dword [rax]
shr eax, 3
movsd qword [rbp - 0x58], xmm0
test al, 1
je 0x14004243c
mov esi, dword [r15 + 4]
lea rcx, [r13 + 0x10]
movsxd rbx, dword [r15]
mov edi, dword [r15]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
test edi, edi
lea r8, [r15 + rbx]
lea rcx, [r13 + 0x18]
mov edx, esi
cmove r8, r14
call fcn.140015f50
cmp eax, 0xffffffff
je 0x140042418
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x40]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140042418
mov dword [rdx], 0x40000000
lea rcx, [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movsxd rcx, dword [r15]
add rcx, r15
cmp dword [r15], r14d
cmove rcx, r14
call fcn.140026df0
test al, al
je 0x140042ae7
add r15, 8
cmp r15, qword [rsp + 0x70]
jne 0x140042380
mov r15, qword [rbp + 0x9b8]
movsxd rbx, dword [r12 + 0x40]
lea rcx, [r12 + 0x40]
movsxd rdx, dword [r12 + 0x40]
add rbx, rcx
movups xmm0, xmmword [rbp - 0x40]
mov eax, r14d
mov qword [rbp + 0x28], r13
sub eax, dword [rcx]
lea rcx, [r12 + 0x40]
neg eax
movups xmmword [rbp + 0x30], xmm0
sbb rax, rax
add rdx, rcx
and rbx, rax
mov eax, r14d
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [r12 + 0x3c]
lea rdi, [rdx + rax*8]
cmp rbx, rdi
je 0x1400424df
movsxd rdx, dword [rbx]
lea rcx, [rbp + 0x1a0]
add rdx, rbx
mov eax, r14d
sub eax, dword [rbx]
neg eax
sbb rax, rax
and rdx, rax
call fcn.14003d630
lea rdx, [rbp + 0x1a0]
mov rcx, r13
call fcn.140038970
test al, al
je 0x140042af9
add rbx, 8
cmp rbx, rdi
jne 0x1400424a0
movsxd rbx, dword [r12 + 0x38]
lea rcx, [r12 + 0x38]
movsxd rdx, dword [r12 + 0x38]
add rbx, rcx
mov eax, r14d
sub eax, dword [rcx]
lea rcx, [r12 + 0x38]
neg eax
sbb rax, rax
add rdx, rcx
and rbx, rax
mov eax, r14d
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [r12 + 0x34]
lea rdi, [rdx + rax*8]
cmp rbx, rdi
je 0x14004256f
nop dword [rax]
nop word [rax + rax]
movsxd rdx, dword [rbx]
lea rcx, [rbp + 0x430]
add rdx, rbx
mov eax, r14d
sub eax, dword [rbx]
neg eax
sbb rax, rax
and rdx, rax
call fcn.14003d630
lea rdx, [rbp + 0x430]
mov rcx, r13
call fcn.140038500
test al, al
je 0x140042b1b
add rbx, 8
cmp rbx, rdi
jne 0x140042530
movsxd rbx, dword [r12 + 0x30]
lea rcx, [r12 + 0x30]
movsxd rdx, dword [r12 + 0x30]
add rbx, rcx
mov eax, r14d
sub eax, dword [rcx]
lea rcx, [r12 + 0x30]
neg eax
sbb rax, rax
add rdx, rcx
and rbx, rax
mov eax, r14d
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [r12 + 0x2c]
lea rdi, [rdx + rax*8]
cmp rbx, rdi
je 0x1400425ff
nop dword [rax]
nop word [rax + rax]
movsxd rdx, dword [rbx]
lea rcx, [rbp + 0x6c0]
add rdx, rbx
mov eax, r14d
sub eax, dword [rbx]
neg eax
sbb rax, rax
and rdx, rax
call fcn.14003d630
lea rdx, [rbp + 0x6c0]
mov rcx, r13
call fcn.140038970
test al, al
je 0x140042af9
add rbx, 8
cmp rbx, rdi
jne 0x1400425c0
mov rax, qword [r15 + 0x10]
movsxd r13, dword [r12 + 0x2c]
mov qword [rsp + 0x58], r13
mov rdx, qword [rax + 0x18]
lea rcx, [rdx + r13]
cmp rcx, qword [rax + 0x10]
jbe 0x14004262a
mov rdx, r13
lea rcx, [r15 + 8]
call fcn.140038a30
mov rdx, r14
mov rax, qword [r15 + 0x10]
lea rcx, [rdx + r13]
mov r8, r13
mov r9, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add r9, rdx
mov rax, qword [r15 + 0x10]
mov rcx, r9
mov qword [rsp + 0x70], r9
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov qword [r15 + 0x18], rdx
xor edx, edx
call fcn.140070780
mov esi, r14d
mov dword [rsp + 0x68], r14d
cmp dword [r12 + 0x60], r14d
jle 0x140042774
mov r13, qword [rbp + 0x9b8]
lea r8, [r12 + 0x64]
mov rdx, r14
mov qword [rsp + 0x50], rdx
nop word [rax + rax]
movsxd rcx, dword [r8]
mov eax, r14d
sub eax, dword [r8]
add rcx, r8
neg eax
mov r15b, 1
sbb rax, rax
and rcx, rax
mov rax, qword [rbp + 0x9b0]
mov rdi, qword [rax + 0x3de0]
mov ebx, dword [rcx + rdx]
cmp dword [rdi + rbx*4], r14d
jne 0x140042752
lea rcx, [rax + 0x3de8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + rbx*4], r14d
jne 0x14004272b
mov rax, qword [rbp + 0x9b0]
lea rcx, [rbx + rbx*4]
mov rax, qword [rax + 0x1c0]
lea rcx, [rax + rcx*4]
movsxd rdx, dword [rcx + 4]
lea rax, [rcx + 4]
add rdx, rax
cmp dword [rax], r14d
cmove rdx, r14
test rdx, rdx
je 0x140042727
movsxd rdx, dword [rcx + 4]
lea rax, [rcx + 4]
add rdx, rax
lea r8, str.Creating__s
cmp dword [rax], r14d
mov r9, r13
cmove rdx, r14
call fcn.1400455d0
movzx r15d, al
lock inc dword [rdi + rbx*4]
mov rbx, qword [rbp + 0x9b0]
lea rcx, [rbx + 0x3de8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15b, r15b
je 0x140042b2c
mov rdx, qword [rsp + 0x50]
lea r8, [r12 + 0x64]
add rdx, 4
inc esi
mov qword [rsp + 0x50], rdx
cmp esi, dword [r12 + 0x60]
jl 0x140042690
mov r15, qword [rbp + 0x9b8]
mov r13, qword [rsp + 0x58]
lea rdx, str.Launching_process
mov ecx, 0x10
call fcn.140013a20
lea rcx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140042d71
mov rax, qword [rbp - 0x28]
xor edx, edx
sub rax, qword [0x14008eac8]
xor r9d, r9d
mov rcx, qword [rbp - 0x78]
xor r8d, r8d
imul rax, rax, 0xf4240
div qword [0x14008eac0]
mov edx, dword [rsp + 0x78]
add rax, qword [0x14008ead0]
mov qword [rbp + 8], rax
call fcn.140003ca0
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x10]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rcx, [rdx + r13]
cmp rcx, qword [rax + 0x10]
jbe 0x1400427fd
mov rdx, r13
lea rcx, [r15 + 8]
call fcn.140038a30
mov rdx, r14
mov rax, qword [r15 + 0x10]
lea rcx, [rdx + r13]
mov rbx, qword [rbp + 0x9c0]
mov rsi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rsi, rdx
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x50], rsi
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov qword [r15 + 0x18], rdx
mov rax, qword [rbx + 8]
mov ecx, dword [rax + 0x88]
shr ecx, 0xb
test cl, 1
jne 0x140042928
xor ecx, ecx
call fcn.140053d50
mov edi, r14d
test r13, r13
je 0x140042928
lea rsi, [r12 + 0x30]
mov rbx, r14
mov r12, qword [rsp + 0x50]
mov r15, rax
nop word [rax + rax]
movsxd rcx, dword [rsi]
mov eax, r14d
sub eax, dword [rsi]
add rcx, rsi
neg eax
sbb rax, rax
and rcx, rax
add rcx, rbx
movsxd rdx, dword [rcx]
add rdx, rcx
cmp dword [rcx], r14d
lea rcx, [rbp + 0xb8]
cmove rdx, r14
call fcn.140026540
movsd xmm1, qword [rax + 0x10]
movups xmm0, xmmword [rax]
movsd qword [rbp - 0x58], xmm1
mov rax, qword [rbp - 0x58]
mov qword [rbx + r12], rax
movups xmmword [rbp - 0x68], xmm0
cmp rax, r15
jne 0x1400428ff
lea rax, [r15 - 1]
mov qword [rbx + r12], rax
movsxd rdx, dword [rsi]
mov qword [rbp + 0x20], rax
add rdx, rsi
mov qword [rbp + 0x18], rax
mov eax, r14d
sub eax, dword [rsi]
neg eax
sbb rax, rax
and rdx, rax
mov eax, r14d
add rdx, rbx
sub eax, dword [rdx]
movsxd rcx, dword [rdx]
add rcx, rdx
lea rdx, [rbp + 0x18]
neg eax
sbb rax, rax
and rcx, rax
call fcn.140059198
inc edi
add rbx, 8
movsxd rax, edi
cmp rax, r13
jb 0x140042870
mov r12, qword [rbp - 0x80]
mov r15, qword [rbp + 0x9b8]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rbp + 0x9c0]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140042d7e
mov rax, qword [rbp - 0x20]
lea rcx, [rbp + 0x170]
sub rax, qword [0x14008eac8]
xor edx, edx
imul rax, rax, 0xf4240
mov r8, r15
div qword [0x14008eac0]
mov rdx, rbx
add rax, qword [0x14008ead0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.140041770
mov edi, dword [rsp + 0x68]
mov ebx, 3
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm0
test edi, edi
jne 0x140042a6a
mov rax, qword [rbp + 0x9c0]
mov rax, qword [rax + 8]
mov ecx, dword [rax + 0x88]
shr ecx, 0xb
test cl, 1
jne 0x140042a6a
test r13, r13
je 0x140042a6a
mov rax, qword [rsp + 0x70]
lea rdx, [r12 + 0x30]
mov qword [rsp + 0x68], rdx
mov r15, r14
mov qword [rsp + 0x50], rax
mov r12d, r14d
nop word [rax + rax]
movsxd rcx, dword [rdx]
mov eax, r14d
sub eax, dword [rdx]
add rcx, rdx
neg eax
sbb rax, rax
and rcx, rax
add rcx, r15
movsxd rdx, dword [rcx]
add rdx, rcx
cmp dword [rcx], r14d
lea rcx, [rbp + 0xd0]
cmove rdx, r14
call fcn.140026540
mov rdx, qword [rsi + r15]
mov r8, qword [rsp + 0x50]
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x58], xmm1
cmp rdx, qword [rbp - 0x58]
mov rdx, qword [rsp + 0x68]
sete al
cmove edi, ebx
inc r12d
mov byte [r8], al
inc r8
movsxd rax, r12d
add r15, 8
mov qword [rsp + 0x50], r8
cmp rax, r13
jb 0x1400429f0
mov r12, qword [rbp - 0x80]
mov r15, qword [rbp + 0x9b8]
mov dword [rsp + 0x68], edi
mov rcx, qword [rbp + 0x9c0]
mov rdx, r15
call fcn.140041dc0
cmp qword [0x14008e868], 0
mov r14, qword [rbp + 0x50]
mov esi, dword [rbp + 0x40]
je 0x140042c38
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140042d8b
mov eax, dword [r15 + 0x38]
xor edx, edx
mov r13, qword [rsp + 0x58]
xorps xmm0, xmm0
mov dword [rbp - 0x80], eax
mov rcx, r13
mov rax, qword [rbp - 0x18]
sub rax, qword [0x14008eac8]
imul rax, rax, 0xf4240
div qword [0x14008eac0]
sub rcx, rax
sub rcx, qword [0x14008ead0]
js 0x140042b88
cvtsi2sd xmm0, rcx
jmp 0x140042b9d
movsxd r8, dword [r15]
lea rdx, str.Failed_to_remove_directory__s_as_part_of_preparing_to_actually_running_this_node
add r8, r15
cmp dword [r15], r14d
jmp 0x140042b6d
movsxd r8, dword [rbx]
lea rdx, str.Failed_to_create_output_directory_for_targetfile__s_as_part_of_preparing_to_actually_running_this_node
sub r14d, dword [rbx]
lea rcx, [rbp + 0x30]
add r8, rbx
neg r14d
sbb rax, rax
and r8, rax
call fcn.140042da0
mov r15, qword [rbp + 0x9b8]
mov ebx, 4
jmp 0x140042d0a
movsxd rdx, dword [r12 + 0x64]
lea rcx, [r12 + 0x64]
add rdx, rcx
mov eax, r14d
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, esi
movsxd rcx, dword [rdx + rax*4]
mov rax, qword [rbx + 0x1c0]
lea rdx, [rcx + rcx*4]
movsxd r8, dword [rax + rdx*4]
lea rcx, [rax + rdx*4]
add r8, rcx
lea rdx, str.failed_to_create_shared_resource__s
cmp dword [rcx], r14d
cmove r8, r14
lea rcx, [rbp - 0x40]
call fcn.140042da0
mov r15, qword [rbp + 0x9b8]
mov ebx, eax
jmp 0x140042d0a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mov rcx, qword [rbp + 0x9c0]
divsd xmm0, xmm6
mov qword [rbp - 8], r14
mov dword [rbp + 0x9b8], esi
mov qword [rbp - 0x10], rcx
mulsd xmm0, qword [0x140083218]
cvttsd2si eax, xmm0
mov dword [rbp - 0x78], eax
movzx eax, byte [rcx]
shr al, 7
test al, 1
jne 0x140042be2
mov qword [rbp + 0x9c0], rcx
lea rcx, [rbp + 0x9c0]
call fcn.140023130
lea rax, [rbp - 0x10]
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x70]
lea rax, [rbp + 0x9b8]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x78]
movups xmm0, xmmword [rbp - 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x58]
mov qword [rbp - 0x48], rax
movaps xmmword [rbp + 0x70], xmm0
movsd xmm0, qword [rbp - 0x48]
movsd qword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0x80], xmm1
call fcn.1400237a0
jmp 0x140042c3d
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
lea rcx, [rbp + 0x40]
mov r9, qword [r15 + 0x40]
mov rdx, r12
mov r8, qword [rbp]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], rax
movzx eax, byte [rbp + 0x9c8]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r15
call fcn.14003b280
test r14, r14
je 0x140042c9d
mov rdx, qword [r14 - 8]
lea rcx, [r14 - 8]
mov rax, qword [rbp + 0x68]
neg rdx
lock add qword [rax], rdx
call fcn.140053948
mov edi, dword [rsp + 0x68]
mov esi, dword [rbp + 0x40]
test esi, esi
jne 0x140042ca6
cmp edi, 2
jl 0x140042cab
mov ebx, 4
cmp byte [0x14008eab8], 0
je 0x140042cbd
mov ecx, dword [rsp + 0x78]
call fcn.14003df60
lea rcx, [rbp + 0x9c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140042d57
mov rax, qword [rbp + 0x9c8]
xor edx, edx
sub rax, qword [0x14008eac8]
imul rax, rax, 0xf4240
div qword [0x14008eac0]
sub rax, qword [rbp + 8]
add rax, qword [0x14008ead0]
lock inc dword [0x14008e808]
lock add qword [0x14008e810], rax
mov rdx, qword [rbp + 0x10]
mov rax, qword [r15 + 0x10]
mov qword [r15 + 0x18], rdx
cmp qword [rax + 0x20], rdx
jbe 0x140042d2d
mov rcx, rax
nop
mov rcx, qword [rcx]
mov qword [r15 + 0x10], rcx
cmp qword [rcx + 0x20], rdx
ja 0x140042d20
mov rcx, qword [r15 + 0x10]
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa50]
sub rdx, qword [rcx + 0x20]
mov qword [rcx + 0x18], rdx
add rsp, 0xa68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3