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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0xb8], r12d
call fcn.140027fcc
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140042373
cmp dword [rcx], r12d
jbe 0x140042373
call fcn.140027fcc
nop
call fcn.14004b8f8
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xc8], rax
lea rcx, [0x1400cf308]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov r8, qword [0x1400cf330]
mov rax, qword [r8]
or r14d, 0xffffffff
cmp rax, r8
je 0x1400424bb
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400423d1
mov edx, dword [rcx + 8]
jmp 0x1400423d4
mov edx, r12d
mov rbx, qword [rax + 0x10]
test edx, edx
jne 0x140042470
mov rcx, rax
cmp byte [rbx + 0x19], r12b
je 0x140042404
mov rbx, qword [rax + 8]
jmp 0x1400423fc
cmp rcx, qword [rbx + 0x10]
jne 0x14004241c
mov rcx, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], r12b
je 0x1400423ef
jmp 0x14004241c
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], r12b
jne 0x14004241c
mov rbx, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r12b
je 0x14004240d
mov rdx, rax
lea rcx, [0x1400cf330]
call fcn.140015e70
nop
mov rdi, rax
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140042453
mov edx, r14d
lock xadd dword [rcx + 0xc], edx
add edx, r14d
jne 0x140042453
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x14007be6b.0]
nop
mov edx, 0x40
mov rcx, rdi
call fcn.14009841c
nop
mov rax, rbx
mov r8, qword [0x1400cf330]
jmp 0x1400423ba
cmp byte [rbx + 0x19], r12b
je 0x140042497
mov rcx, qword [rax + 8]
jmp 0x140042489
cmp rax, qword [rcx + 0x10]
jne 0x14004248f
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r12b
je 0x14004247c
mov rax, rcx
jmp 0x1400423ba
mov rax, rbx
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], r12b
jne 0x1400423ba
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r12b
je 0x1400424a7
jmp 0x1400423ba
lea rcx, [0x1400cf308]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
lea rsi, [r15 + 0x128]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
nop
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0xe8], r15
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0xf8], 1
mov rcx, qword [r15 + 0x88]
call fcn.140051de0
nop
test al, al
jne 0x140042549
lea rcx, [rsp + 0xe8]
call fcn.140046e44
nop
test rsi, rsi
je 0x140042542
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
xor eax, eax
jmp 0x14004377a
mov qword [rsp + 0x160], r15
mov byte [rsp + 0x168], 1
cmp byte [r15 + 0x109], r12b
je 0x140042591
cmp byte [r15 + 0x108], r12b
je 0x140042591
mov rcx, qword [0x1400cf340]
mov rax, qword [rcx]
mov edx, 0xb
mov rax, qword [rax + 0x98]
call qword [case.0x14007be6b.0]
nop
cmp byte [rax + 0x18], r12b
mov bl, r12b
je 0x140042593
mov bl, 1
mov rcx, qword [0x1400cf340]
mov rax, qword [rcx]
mov edi, 0xf
mov edx, edi
mov rax, qword [rax + 0x98]
call qword [case.0x14007be6b.0]
nop
mov dl, bl
mov rcx, rax
call fcn.14002a288
nop
mov rcx, qword [0x1400cf340]
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax + 0x98]
call qword [case.0x14007be6b.0]
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.14006d6d8
nop
mov r13, qword [rsp + 0x80]
test r13, r13
jne 0x1400426aa
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14004264f
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x14004264f
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004264f
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140046e44
nop
test rsi, rsi
je 0x1400426a0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov eax, 0x80070490
jmp 0x14004377a
mov rcx, qword [r15 + 0x298]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400426d9
lock inc dword [rax + 8]
mov r13, qword [rsp + 0x80]
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x148]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rsp + 0x230]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
nop
mov qword [rsp + 0x140], r12
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rsp + 0x2d0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
nop
mov r8b, 1
lea rdx, str.Spectrum::SpatialDevice::GetNodePoseForTime
mov rcx, r13
call fcn.14006d550
nop
lea rdx, [rsp + 0xd0]
mov rcx, r13
call fcn.140069fb0
nop
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x230]
xor r8d, r8d
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0xd0]
call fcn.140067cb0
nop
mov edi, eax
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x1400427af
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14007be6b.0]
nop
test edi, edi
jns 0x140042802
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
movabs r12, 0x400001001000
test rcx, rcx
je 0x14004280c
cmp dword [rcx], 4
jbe 0x14004280c
test qword [rcx + 0x10], r12
je 0x14004280c
mov rax, qword [rcx + 0x18]
and rax, r12
cmp rax, qword [rcx + 0x18]
jne 0x14004280c
lea rcx, [r15 + 0x1e8]
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14002fbf0
nop
jmp 0x14004280c
movabs r12, 0x400001001000
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
nop
test eax, eax
je 0x140042970
test edi, edi
jns 0x140042adc
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14004287e
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x14004287e
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004287e
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400428c3
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400428c3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400428c3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140042918
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140042918
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042918
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140046e44
nop
test rsi, rsi
je 0x140042969
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov eax, edi
jmp 0x14004377a
test edi, edi
jns 0x140042adc
mov rcx, qword [rsp + 0x3d8]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x446
call fcn.140005d60
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400429ea
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x1400429ea
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400429ea
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140042a2f
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140042a2f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042a2f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140042a84
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140042a84
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042a84
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140046e44
nop
test rsi, rsi
je 0x140042ad5
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov eax, edi
jmp 0x14004377a
mov rdi, qword [r15 + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xb0]
lea rdx, [rsp + 0x150]
mov rcx, r13
call fcn.14006a0b4
nop
lea r8, [rsp + 0x64]
mov rdx, qword [rax]
mov rcx, rdi
mov rax, rbx
call qword [case.0x14007be6b.0]
nop
mov edi, eax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
nop
test edi, edi
jns 0x140042c93
mov rcx, qword [rsp + 0x3d8]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x44b
call fcn.140005d60
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140042ba1
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140042ba1
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042ba1
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140042be6
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140042be6
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042be6
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140042c3b
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140042c3b
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042c3b
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140046e44
nop
test rsi, rsi
je 0x140042c8c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov eax, edi
jmp 0x14004377a
mov rsi, qword [rsp + 0xc8]
sub rsi, qword [r15 + 0x260]
lock bts dword [r15 + 0x248], 0
setb al
movzx edi, al
test al, al
sete byte [rsp + 0x60]
cmp byte [r15 + 0x108], 0
je 0x140042d19
cmp byte [r15 + 0x109], 0
je 0x140042d19
mov eax, dword [r15 + 0x258]
cmp dword [rsp + 0x64], eax
jne 0x140042d19
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx + 8]
cmp rax, qword [0x1400aae78]
jne 0x140042d03
mov rax, qword [rbx + 0x10]
cmp rax, qword [0x1400aae80]
jne 0x140042d03
test byte [rsp + 0x240], 1
jne 0x140042d1e
mov rcx, rbx
call fcn.14004fa50
nop
test al, al
je 0x140042d1e
test edi, edi
je 0x140042d1e
xor dil, dil
jmp 0x140042d21
mov rbx, qword [rsp + 0x70]
mov dil, 1
xorps xmm1, xmm1
cvtsi2sd xmm1, rsi
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400cf2b0]
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
mov rcx, rbx
call fcn.14004fa50
nop
mov r13b, al
mov sil, byte [rsp + 0x240]
and sil, 1
call fcn.140027fcc
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140042dcb
cmp dword [rcx], 0
jbe 0x140042dcb
call fcn.140027fcc
nop
mov ecx, dword [r15 + 0x258]
movups xmm0, xmmword [rbx + 8]
movdqu xmmword [rsp + 0x1a0], xmm0
mov al, byte [rsp + 0x60]
mov byte [rsp + 0x50], al
movss dword [rsp + 0x48], xmm6
mov byte [rsp + 0x40], r13b
mov byte [rsp + 0x38], sil
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9b, byte [r15 + 0x109]
mov r8b, byte [r15 + 0x108]
mov dl, dil
call fcn.14004b6c8
nop
xor r13d, r13d
test dil, dil
je 0x140043063
mov rax, qword [rsp + 0xc8]
mov qword [r15 + 0x260], rax
movups xmm0, xmmword [0x1400aae78]
movdqu xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0x100], r13
mov qword [rsp + 0x108], r13
mov ebx, dword [rsp + 0x64]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x80]
call fcn.14006a0b4
nop
lea rcx, [rsp + 0x320]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x210]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x254]
lea r8, [rsp + 0x244]
mov rdx, rax
mov rcx, r15
call fcn.140045e70
nop
mov ebx, eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
nop
test ebx, ebx
jns 0x140042ee2
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140042ee2
cmp dword [rcx], 4
jbe 0x140042ee2
test qword [rcx + 0x10], r12
je 0x140042ee2
mov rax, qword [rcx + 0x18]
and rax, r12
cmp rax, qword [rcx + 0x18]
jne 0x140042ee2
lea rcx, [r15 + 0x1e8]
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea edx, [r13 + 1]
call fcn.14002fbf0
nop
mov ebx, dword [rsp + 0x64]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xe0]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x80]
call fcn.14006a0b4
nop
mov dword [rsp + 0x48], ebx
lea rcx, [rsp + 0x320]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
lea rcx, [rsp + 0x210]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x230]
mov r8, rax
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0xa0]
call fcn.14004ec20
nop
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x1c0], rdx
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x78], rdx
test rbx, rbx
je 0x140042fc7
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140042fc7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042fc7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x14004300f
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14004300f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004300f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
nop
mov eax, dword [rsp + 0x64]
mov dword [r15 + 0x258], eax
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x140043049
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140043063
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rdi, qword [rsp + 0xa0]
cmp qword [rsp + 0x70], rdi
jne 0x1400431ca
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x80]
call fcn.14006a0b4
nop
mov rsi, rax
mov rdx, rdi
lea rcx, [rsp + 0x178]
call fcn.14004c6b4
nop
mov rbx, rax
mov dword [rsp + 0xb8], 1
mov qword [rsp + 0x208], r13
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x230]
mov rdx, rsi
mov rcx, rdi
call fcn.14004ef80
nop
mov rcx, qword [rsp + 0x208]
test rcx, rcx
je 0x140043108
mov rax, qword [rcx]
lea rdx, [rsp + 0x1d0]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14007be6b.0]
nop
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x198], rcx
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x78], rcx
test rbx, rbx
je 0x14004316d
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14004316d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004316d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rbx, qword [rsp + 0x180]
test rbx, rbx
je 0x1400431b5
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400431b5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400431b5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
nop
lea rdx, [rsp + 0x220]
mov rcx, qword [r15 + 0x88]
call fcn.140051614
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xc4
mov rax, qword [rdx]
cmp rax, qword [rsp + 0x220]
jne 0x140043206
mov rax, qword [rdx + 8]
cmp rax, qword [rsp + 0x228]
je 0x140043213
mov rcx, qword [r15 + 0x88]
call fcn.140051eb0
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x298]
call fcn.1400450c4
nop
cmp byte [r15 + 0x108], r13b
jne 0x14004328e
mov byte [r15 + 0x108], 1
lea rcx, [rsp + 0x118]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x118]
mov qword [r15 + 0x100], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
nop
mov ebx, eax
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14004328e
cmp dword [rcx], r13d
jbe 0x14004328e
call fcn.14001043c
nop
mov r8d, ebx
xor edx, edx
call fcn.14004b644
nop
mov rax, qword [rsp + 0x70]
mov dil, byte [rax + 0xf0]
cmp byte [r15 + 0x109], r13b
jne 0x140043441
test dil, dil
je 0x140043441
mov byte [r15 + 0x109], 1
lea rcx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x120]
sub rax, qword [r15 + 0x100]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400cf2b0]
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043396
cmp dword [rcx], r13d
jbe 0x140043396
call fcn.14001043c
nop
movss dword [rsp + 0xb0], xmm6
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043396
cmp dword [rcx], r13d
jbe 0x140043396
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x140043396
test byte [rcx + 0x10], 0xa
je 0x140043396
mov rax, qword [rcx + 0x18]
and eax, 0xa
cmp rax, qword [rcx + 0x18]
jne 0x140043396
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xbc], eax
mov dword [rsp + 0xc0], r13d
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400b980b]
call fcn.140001b80
nop
comiss xmm6, dword [0x1400b69a4]
jbe 0x140043441
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043441
cmp dword [rcx], r13d
jbe 0x140043441
call fcn.14001043c
nop
movss dword [rsp + 0xb0], xmm6
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043441
cmp dword [rcx], r13d
jbe 0x140043441
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x140043441
test byte [rcx + 0x10], 0xa
je 0x140043441
mov rax, qword [rcx + 0x18]
and eax, 0xa
cmp rax, qword [rcx + 0x18]
jne 0x140043441
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x90], r13d
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400b97ca]
call fcn.140001b80
nop
mov ecx, dword [rsp + 0x240]
mov edx, ecx
and edx, 2
je 0x14004345d
mov al, cl
and al, 1
neg al
sbb ebx, ebx
neg ebx
inc ebx
jmp 0x140043460
mov ebx, r13d
mov esi, dword [r15 + 0x330]
cmp ebx, esi
je 0x1400434c2
movss xmm6, dword [0x1400b6974]
test cl, 1
je 0x14004347d
movaps xmm7, xmm6
jmp 0x140043480
xorps xmm7, xmm7
test edx, edx
jne 0x140043487
xorps xmm6, xmm6
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400434bb
cmp dword [rcx], r13d
jbe 0x1400434bb
call fcn.14001043c
nop
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm6
mov r9d, ebx
mov r8d, esi
xor edx, edx
call fcn.14004b50c
nop
mov dword [r15 + 0x330], ebx
cmp byte [r15 + 0x109], r13b
je 0x1400434f9
cmp byte [r15 + 0x10a], dil
je 0x1400434f9
call fcn.14001043c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400434f9
cmp dword [rcx], r13d
jbe 0x1400434f9
call fcn.14001043c
nop
mov r8b, dil
xor edx, edx
call fcn.14004b434
nop
mov byte [r15 + 0x10a], dil
lea rdi, [r15 + 0xc0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
nop
mov qword [rsp + 0xb0], rdi
call fcn.140027fcc
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14004353f
cmp dword [rcx], r13d
jbe 0x14004353f
call fcn.140027fcc
nop
call fcn.14004b3a8
nop
cmp byte [r15 + 0x109], r13b
je 0x1400435f5
mov rbx, qword [r15 + 0xc8]
mov rsi, qword [r15 + 0xd0]
cmp rbx, rsi
je 0x140043584
cmp rbx, rsi
je 0x140043576
mov rdx, rbx
mov rcx, r15
call fcn.140040c58
nop
add rbx, 0x10
jmp 0x14004355f
mov rax, qword [r15 + 0xc8]
mov qword [r15 + 0xd0], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x100], r13
jbe 0x1400435f5
mov rsi, qword [r15 + 0xe0]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1400435f5
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 0x28]
call fcn.14005cca8
nop
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
je 0x1400435d8
mov rax, qword [rbx + 8]
jmp 0x1400435cd
cmp rbx, qword [rax + 0x10]
jne 0x1400435d3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x1400435c0
mov rbx, rax
jmp 0x14004359c
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r13b
jne 0x14004359c
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r13b
je 0x1400435e4
jmp 0x14004359c
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x108]
mov rax, qword [rsp + 0xa0]
cmp ecx, dword [rax + 0x108]
je 0x14004364a
lea rcx, [r15 + 0x140]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], r15
lea rax, [rsp + 0x188]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x128]
call fcn.140048410
nop
test rdi, rdi
je 0x14004365f
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400436b4
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x1400436b4
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400436b4
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400436f9
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400436f9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007be6b.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400436f9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007be6b.0]
nop
lea rcx, [rsp + 0x80]
call fcn.140013e10
nop
cmp byte [rsp + 0x168], r13b
je 0x140043747
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007be6b.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140046e44
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x14004376f
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
xor eax, eax
jmp 0x14004377a
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140097e50
nop
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret