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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x180]
xorps xmm4, xmm4
movabs rax, 0xffffffffffffff10
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x1400742a8
mov qword [rbp + 0x10], rcx
mov rsi, rcx
mov edx, dword [rsi + 0x58]
mov dword [rbp - 0x3c], edx
mov rbx, qword [rsi]
cmp dword [rbp - 0x3c], 0
je 0x1400743a6
mov edx, dword [rbp - 0x3c]
dec edx
cmp edx, 3
jbe 0x1400743f7
lea rdx, [0x14038da68]
cmp qword [rdx - 8], 0
jne 0x140074cef
mov rdx, qword [0x14065d230]
mov r14, qword [rdx + 8]
mov r15, qword [rbx + 8]
mov r13, qword [rsi + 0x70]
cmp byte [r14], r14b
lea rdx, [0x14038dc58]
cmp qword [rdx - 8], 0
jne 0x140074ce5
mov rdx, qword [0x14065d330]
mov rdx, qword [rdx + 8]
mov rcx, r14
mov r8, r15
call fcn.140092640
mov rdx, rax
mov rcx, r14
mov r9, r13
mov r8d, 1
call fcn.140091e50
cmp byte [rax], al
mov qword [rbp - 0x50], rax
xor ecx, ecx
mov dword [rbp - 0x48], ecx
test byte [rbp - 0x48], 4
jne 0x140074367
mov rcx, qword [rbp - 0x50]
test dword [rcx + 0x34], 0x1600000
jne 0x1400743c9
xor ecx, ecx
mov dword [rsi + 0x58], ecx
lea rcx, [rsi + 0x78]
mov rdx, qword [rbp - 0x50]
call fcn.140006a90
mov edx, dword [rbp - 0x48]
mov dword [rsi + 0x80], edx
lea rdx, [rsi + 0x68]
mov rcx, rsi
call fcn.1402e2120
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [0x14038b670]
call fcn.14032d4f0
jmp 0x140074ddd
movups xmm0, xmmword [rsi + 0x78]
movups xmmword [rbp - 0x50], xmm0
xor ecx, ecx
mov qword [rsi + 0x78], rcx
mov qword [rsi + 0x80], rcx
mov dword [rbp - 0x3c], 0xffffffff
mov dword [rsi + 0x58], 0xffffffff
mov rcx, qword [rbp - 0x50]
mov edx, dword [rcx + 0x34]
and edx, 0x11000000
cmp edx, 0x1000000
je 0x1400743e5
xor edx, edx
call fcn.1401b4e20
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx + 0x38]
lea rcx, [rsi + 0x18]
call fcn.140006a90
nop
mov eax, dword [rbp - 0x3c]
dec eax
cmp eax, 3
ja case.default.0x140074415
lea rcx, [0x140523f90]
mov ecx, dword [rcx + rax*4]
lea rdx, [0x1400742c4]
add rcx, rdx
jmp rcx
mov rcx, qword [rsi + 0x18]
cmp dword [rcx], ecx
call fcn.140095dc0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.140092e50
lea rcx, [rsi + 0x20]
mov rdx, rax
call fcn.140006a90
mov rcx, qword [rsi + 0x18]
cmp dword [rcx], ecx
call fcn.140095dc0
mov rcx, rax
mov rdx, qword [rsi + 0x70]
cmp dword [rcx], ecx
call fcn.140093290
cmp byte [rax], al
mov qword [rbp - 0x60], rax
xor ecx, ecx
mov dword [rbp - 0x58], ecx
test byte [rbp - 0x58], 4
jne 0x14007446f
mov rcx, qword [rbp - 0x60]
test dword [rcx + 0x34], 0x1600000
jne 0x1400744e3
mov dword [rbp - 0x3c], 1
mov dword [rsi + 0x58], 1
lea rcx, [rsi + 0x88]
mov rdx, qword [rbp - 0x60]
call fcn.140006a90
mov edx, dword [rbp - 0x58]
mov dword [rsi + 0x90], edx
lea rdx, [rsi + 0x68]
mov rcx, rsi
call fcn.1402e2120
mov r8, rax
lea rdx, [rbp - 0x60]
lea rcx, [0x14038cf98]
call fcn.14032d4f0
jmp 0x140074cd8
mov rcx, qword [rbp - 0x60]
mov edx, dword [rcx + 0x34]
and edx, 0x11000000
cmp edx, 0x1000000
je 0x1400744ff
xor edx, edx
call fcn.1401b4e20
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rcx + 0x38]
lea rcx, [rsi + 0x28]
call fcn.140006a90
xor ecx, ecx
mov qword [rsi + 0x40], rcx
mov dword [rsi + 0x60], ecx
cmp dword [rbp - 0x3c], 2
je 0x14007496b
cmp dword [rbp - 0x3c], 3
je 0x140074a43
mov rcx, qword [rsi + 0x20]
lea rdx, [rbp - 0x70]
cmp dword [rcx], ecx
call fcn.1400e8770
cmp byte [rbp - 0x70], 0
je 0x1400746e8
mov rcx, qword [rbp - 0x68]
mov qword [rsi + 0x48], rcx
xor ecx, ecx
mov qword [rsi + 0x50], rcx
lea rcx, [0x14043d0c8]
mov edx, 0x10000
call fcn.140006930
lea rcx, [rsi + 0x30]
mov rdx, rax
call fcn.140006a90
lea rcx, [0x1403b0ca8]
call fcn.140006810
mov r12, rax
xor ecx, ecx
mov qword [r12 + 8], rcx
mov byte [r12 + 0x18], 0
mov qword [r12 + 0x10], rcx
mov qword [rbp - 0x148], r12
cmp byte [r12 + 0x18], 0
jne 0x1400746dc
lea rcx, [rbp - 0xe0]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0xe0]
mov r12, qword [rbp - 0x148]
mov qword [r12 + 0x10], rcx
mov byte [r12 + 0x18], 1
cmp dword [0x14066f228], 0
jne 0x140074716
mov rsi, qword [rbp + 0x10]
lea rcx, [rsi + 0x38]
mov rdx, r12
call fcn.140006a90
mov rsi, qword [rbp + 0x10]
mov rcx, qword [rsi + 0x28]
mov r8, qword [rsi + 0x30]
test r8, r8
jne 0x1400749b0
xor r9d, r9d
xor edx, edx
mov qword [rbp - 0x130], r9
xor r8d, r8d
mov dword [rbp - 0x128], r8d
mov dword [rbp - 0x124], edx
lea r8, [rbp - 0x130]
mov r9, qword [rsi + 0x70]
lea rdx, [rbp - 0xb0]
mov rax, qword [rcx]
call qword [rax + 0xb0]
mov rdx, qword [rbp - 0xb0]
mov ecx, dword [rbp - 0xa8]
movsx rax, word [rbp - 0xa4]
mov qword [rbp - 0xa0], rdx
mov dword [rbp - 0x98], ecx
mov word [rbp - 0x94], ax
mov byte [rbp - 0x92], 0
mov rdi, qword [rbp - 0xa0]
test rdi, rdi
jne 0x1400749bc
mov rdi, qword [rbp - 0xa0]
test rdi, rdi
jne 0x140074a74
mov r14d, dword [rbp - 0x98]
mov dword [rsi + 0x5c], r14d
test r14d, r14d
jg 0x14007472d
mov rcx, qword [rsi + 0x10]
cmp byte [rcx], cl
mov edx, 0x64
call fcn.140072800
mov rcx, qword [rsi + 0x20]
lea rdx, [rbp - 0xc8]
cmp dword [rcx], ecx
call fcn.1400e8a20
cmp byte [rbp - 0xc8], 0
je 0x1400746e8
movups xmm0, xmmword [rbp - 0xc0]
movups xmmword [rsi + 0x98], xmm0
mov dword [rsi + 0x60], 1
jmp 0x140074acd
mov r12, qword [rbp - 0x148]
jmp 0x1400745d7
call fcn.1401603a0
int3
call fcn.140007da0
jmp 0x140074835
call fcn.14000158d
jmp 0x140074847
call fcn.14000101d
jmp 0x14007486c
call fcn.140007da0
jmp 0x1400745e7
call fcn.140007da0
mov r12, qword [rbp - 0x148]
jmp 0x1400745d7
call fcn.14015f990
int3
mov rcx, qword [rsi + 8]
mov r8, qword [rsi + 0x30]
mov r9d, dword [rsi + 0x5c]
test r8, r8
jne 0x14007474a
test r9d, r9d
jne 0x140074727
xor edx, edx
xor r9d, r9d
jmp 0x140074753
cmp dword [r8 + 8], r9d
jb 0x140074727
mov rdx, r8
mov qword [rbp - 0x120], rdx
xor r8d, r8d
mov dword [rbp - 0x118], r8d
mov dword [rbp - 0x114], r9d
lea r8, [rbp - 0x120]
mov r9, qword [rsi + 0x70]
lea rdx, [rbp - 0x90]
mov rax, qword [rcx]
call qword [rax + 0xd0]
mov rdx, qword [rbp - 0x90]
movsx rcx, word [rbp - 0x88]
mov qword [rbp - 0x80], rdx
mov word [rbp - 0x78], cx
mov byte [rbp - 0x76], 0
mov rdi, qword [rbp - 0x80]
test rdi, rdi
jne 0x1400748ed
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x1400747ea
mov rdx, rdi
lea rcx, [0x1403ae9d0]
call fcn.1401b1800
test rax, rax
je 0x140074999
mov ecx, dword [rax + 0x34]
and ecx, 0x11000000
cmp ecx, 0x1000000
je 0x1400747ea
mov rcx, rax
xor edx, edx
call fcn.1401b4e20
movsxd rcx, dword [rsi + 0x5c]
add qword [rsi + 0x50], rcx
mov rdi, qword [rsi + 0x38]
mov qword [rbp - 0x150], rdi
mov rbx, qword [rdi + 8]
cmp byte [rdi + 0x18], 0
je 0x140074835
lea rcx, [rbp - 0xe8]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0xe8]
mov rdi, qword [rbp - 0x150]
sub rcx, qword [rdi + 0x10]
add rbx, rcx
cmp dword [0x14066f228], 0
jne 0x1400746ee
lea rdi, [0x14038e318]
cmp qword [rdi - 8], 0
jne 0x1400746f8
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
mulsd xmm0, qword [rdi + 0x10]
cvttsd2si rbx, xmm0
lea r12, [0x14038da68]
cmp qword [r12 - 8], 0
jne 0x140074702
mov rcx, qword [r12]
cmp rbx, rcx
jl 0x1400745e7
mov rsi, qword [rbp + 0x10]
mov rdi, qword [rsi + 0x38]
mov qword [rbp - 0x158], rdi
xor ecx, ecx
mov qword [rdi + 8], rcx
lea rcx, [rbp - 0xf0]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rbp - 0xf0]
mov rdi, qword [rbp - 0x158]
mov qword [rdi + 0x10], rax
mov byte [rdi + 0x18], 1
mov rsi, qword [rbp + 0x10]
mov rcx, qword [rsi + 0x10]
imul rax, qword [rsi + 0x50], 0x64
cqo
idiv qword [rsi + 0x48]
mov r8d, eax
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 8]
mov edx, 0x402
xor r9d, r9d
call fcn.140327030
cmp dword [0x14066f228], 0
jne 0x14007470c
jmp 0x1400745e7
mov rdx, rdi
lea rcx, [0x1403ae9d0]
call fcn.1401b1800
test rax, rax
je 0x140074910
test dword [rax + 0x34], 0x1600000
jne 0x1400747ae
jmp 0x14007492a
mov rcx, rdi
movsx rdx, word [rbp - 0x78]
lea r10, [0x140392f70]
call qword [r10]
test eax, eax
jne 0x1400747ae
mov dword [rbp - 0x3c], 2
mov dword [rsi + 0x58], 2
lea rdi, [rsi + 0xa8]
lea rsi, [rbp - 0x80]
call fcn.140006c10
movsq qword [rdi], qword [rsi]
mov rsi, qword [rbp + 0x10]
lea rdx, [rsi + 0x68]
mov rcx, rsi
call fcn.1402e2120
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1403259e0
jmp 0x140074cc1
movups xmm0, xmmword [rsi + 0xa8]
movups xmmword [rbp - 0x80], xmm0
xor edx, edx
mov qword [rsi + 0xa8], rdx
mov qword [rsi + 0xb0], rdx
mov dword [rbp - 0x3c], 0xffffffff
mov dword [rsi + 0x58], 0xffffffff
jmp 0x1400747ae
mov rcx, rdi
movsx rdx, word [rbp - 0x78]
lea r10, [0x140396ae0]
call qword [r10]
jmp 0x1400747ea
mov r9, r8
mov edx, dword [r9 + 8]
jmp 0x140074601
mov rdx, rdi
lea rcx, [0x1403f3ec0]
call fcn.1401b1800
test rax, rax
je 0x1400749df
test dword [rax + 0x34], 0x1600000
jne 0x140074673
jmp 0x1400749fc
mov rcx, rdi
movsx rdx, word [rbp - 0x94]
lea r10, [0x1403953b0]
call qword [r10]
test eax, eax
jne 0x140074673
mov dword [rbp - 0x3c], 3
mov dword [rsi + 0x58], 3
lea rdi, [rsi + 0xb8]
lea rsi, [rbp - 0xa0]
call fcn.140006c10
movsq qword [rdi], qword [rsi]
mov rsi, qword [rbp + 0x10]
lea rdx, [rsi + 0x68]
mov rcx, rsi
call fcn.1402e2120
mov rdx, rax
lea rcx, [rbp - 0xa0]
call fcn.14032bcc0
jmp 0x140074ca7
movups xmm0, xmmword [rsi + 0xb8]
movups xmmword [rbp - 0xa0], xmm0
xor edx, edx
mov qword [rsi + 0xb8], rdx
mov qword [rsi + 0xc0], rdx
mov dword [rbp - 0x3c], 0xffffffff
mov dword [rsi + 0x58], 0xffffffff
jmp 0x140074673
mov rdx, rdi
lea rcx, [0x1403f3ec0]
call fcn.1401b1800
mov r14, rax
test r14, r14
je 0x140074ab0
mov ecx, dword [r14 + 0x34]
and ecx, 0x11000000
cmp ecx, 0x1000000
je 0x140074aa7
mov rcx, r14
xor edx, edx
call fcn.1401b4e20
mov r14d, dword [r14 + 0x38]
jmp 0x14007468a
mov rcx, rdi
movsx rdx, word [rbp - 0x94]
lea r10, [0x140397920]
call qword [r10]
mov r14d, eax
jmp 0x14007468a
mov rsi, qword [rbp + 0x10]
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140074c0e
lea rdx, [rbp - 0x90]
lea r10, [0x1403921f0]
call qword [r10]
movups xmm0, xmmword [rbp - 0x90]
movups xmmword [rbp - 0xd8], xmm0
mov rdi, qword [rbp - 0xd8]
test rdi, rdi
je 0x140074bbc
mov rdx, rdi
lea rcx, [0x1403ae9d0]
call fcn.1401b1800
test rax, rax
je 0x140074b30
test dword [rax + 0x34], 0x1600000
jne 0x140074bbc
jmp 0x140074b49
mov rcx, rdi
movsx rdx, word [rbp - 0xd0]
lea r10, [0x140392f70]
call qword [r10]
test eax, eax
jne 0x140074bbc
mov dword [rbp - 0x3c], 4
mov dword [rsi + 0x58], 4
lea rdi, [rsi + 0xc8]
lea rsi, [rbp - 0xd8]
call fcn.140006c10
movsq qword [rdi], qword [rsi]
mov rsi, qword [rbp + 0x10]
lea rdx, [rsi + 0x68]
mov rcx, rsi
call fcn.1402e2120
mov rdx, rax
lea rcx, [rbp - 0xd8]
call fcn.14031ff10
jmp 0x140074cb4
mov r15, qword [rbp - 0xd8]
test r15, r15
je 0x140074c0e
mov rdx, r15
lea rcx, [0x1403ae9d0]
call fcn.1401b1800
test rax, rax
je 0x140074bf9
mov ecx, dword [rax + 0x34]
and ecx, 0x11000000
cmp ecx, 0x1000000
je 0x140074c0e
mov rcx, rax
xor edx, edx
call fcn.1401b4e20
jmp 0x140074c0e
mov rcx, r15
movsx rdx, word [rbp - 0xd0]
lea r10, [0x140396ae0]
call qword [r10]
mov rdi, qword [rsi + 0x40]
test rdi, rdi
jne 0x140074c40
cmp dword [rsi + 0x60], 1
jne 0x140074c6f
movsx r13, word [rsi + 0x98]
mov word [rbp - 0x104], r13w
mov rbx, qword [rsi + 0xa0]
mov qword [rbp - 0x110], rbx
jmp 0x140074cce
mov rdx, rdi
lea rcx, [0x1403a85f0]
call fcn.1401b1800
mov rcx, rax
test rcx, rcx
jne 0x140074c5f
mov rcx, rdi
call fcn.140006e00
call fcn.1401b2d90
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1401b2df0
int3
xor ecx, ecx
mov qword [rsi + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 0x98], xmm0
cmp dword [rbp - 0x3c], 0
jge 0x140074cf9
mov r12, qword [rsi + 0x18]
test r12, r12
je 0x140074cf9
mov rcx, r12
mov edx, 1
cmp dword [rcx], ecx
call fcn.1400962b0
mov rcx, r12
call fcn.140132900
jmp 0x140074cf9
mov rcx, rsp
call fcn.140074e2e
jmp 0x140074ddd
mov rcx, rsp
call fcn.140074e2e
jmp 0x140074ddd
mov rcx, rsp
call fcn.140074e2e
jmp 0x140074ddd
mov rcx, rsp
call fcn.140074e2e
jmp 0x140074d0f
mov rcx, rsp
call fcn.140074e2e
jmp 0x140074ddd
call fcn.140001a85
jmp 0x14007431f
call fcn.140001885
jmp 0x1400742f7
xor ecx, ecx
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], rcx
mov rsi, qword [rbp + 0x10]
mov dword [rsi + 0x58], 0xfffffffe
xor ecx, ecx
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], rcx
add rsi, 0x68
cmp qword [rsi], 0
jne 0x140074db0
movsx r13, word [rbp - 0x104]
mov rbx, qword [rbp - 0x110]
mov word [rbp - 0x100], r13w
mov qword [rbp - 0xf8], rbx
cmp qword [rbp - 0x100], 0
jne 0x140074d87
cmp qword [rbp - 0xf8], 0
jne 0x140074d87
lea rcx, [0x14038ed78]
cmp qword [rcx - 8], 0
jne 0x140074df2
mov rcx, qword [0x14065e7a0]
mov rdx, qword [rcx + 8]
jmp 0x140074da6
lea rcx, [0x1403f0b00]
call fcn.140006810
mov rdx, rax
mov dword [rdx + 0x34], 0x1000000
mov word [rdx + 0x38], r13w
mov qword [rdx + 0x40], rbx
mov rcx, rsi
call fcn.140006a90
jmp 0x140074ddd
mov rcx, qword [rsi]
movsx r13, word [rbp - 0x104]
mov word [rbp - 0x140], r13w
mov rbx, qword [rbp - 0x110]
mov qword [rbp - 0x138], rbx
lea rdx, [rbp - 0x140]
call fcn.14027cc30
nop
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400030a5
jmp 0x140074d7a
add byte [rax], al
pop rsp
add dword [rax], eax