Function at 0x140042a50
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.14002870c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140042ab3
cmp dword [rcx], r12d
jbe 0x140042ab3
call fcn.14002870c
nop
call fcn.14004c038
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 0x140042bfb
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140042b11
mov edx, dword [rcx + 8]
jmp 0x140042b14
mov edx, r12d
mov rbx, qword [rax + 0x10]
test edx, edx
jne 0x140042bb0
mov rcx, rax
cmp byte [rbx + 0x19], r12b
je 0x140042b44
mov rbx, qword [rax + 8]
jmp 0x140042b3c
cmp rcx, qword [rbx + 0x10]
jne 0x140042b5c
mov rcx, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], r12b
je 0x140042b2f
jmp 0x140042b5c
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], r12b
jne 0x140042b5c
mov rbx, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r12b
je 0x140042b4d
mov rdx, rax
lea rcx, [0x1400cf330]
call fcn.1400165c0
nop
mov rdi, rax
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140042b93
mov edx, r14d
lock xadd dword [rcx + 0xc], edx
add edx, r14d
jne 0x140042b93
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x14007c5ab.0]
nop
mov edx, 0x40
mov rcx, rdi
call fcn.140098b1c
nop
mov rax, rbx
mov r8, qword [0x1400cf330]
jmp 0x140042afa
cmp byte [rbx + 0x19], r12b
je 0x140042bd7
mov rcx, qword [rax + 8]
jmp 0x140042bc9
cmp rax, qword [rcx + 0x10]
jne 0x140042bcf
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r12b
je 0x140042bbc
mov rax, rcx
jmp 0x140042afa
mov rax, rbx
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], r12b
jne 0x140042afa
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r12b
je 0x140042be7
jmp 0x140042afa
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.140052520
nop
test al, al
jne 0x140042c89
lea rcx, [rsp + 0xe8]
call fcn.140047584
nop
test rsi, rsi
je 0x140042c82
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 0x140043eba
mov qword [rsp + 0x160], r15
mov byte [rsp + 0x168], 1
cmp byte [r15 + 0x109], r12b
je 0x140042cd1
cmp byte [r15 + 0x108], r12b
je 0x140042cd1
mov rcx, qword [0x1400cf340]
mov rax, qword [rcx]
mov edx, 0xb
mov rax, qword [rax + 0x98]
call qword [case.0x14007c5ab.0]
nop
cmp byte [rax + 0x18], r12b
mov bl, r12b
je 0x140042cd3
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.0x14007c5ab.0]
nop
mov dl, bl
mov rcx, rax
call fcn.14002a9c8
nop
mov rcx, qword [0x1400cf340]
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax + 0x98]
call qword [case.0x14007c5ab.0]
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.14006de18
nop
mov r13, qword [rsp + 0x80]
test r13, r13
jne 0x140042dea
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140042d8f
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140042d8f
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042d8f
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140047584
nop
test rsi, rsi
je 0x140042de0
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 0x140043eba
mov rcx, qword [r15 + 0x298]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140042e19
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.14006dc90
nop
lea rdx, [rsp + 0xd0]
mov rcx, r13
call fcn.14006a6f0
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.1400683f0
nop
mov edi, eax
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140042eef
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14007c5ab.0]
nop
test edi, edi
jns 0x140042f42
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
movabs r12, 0x400001001000
test rcx, rcx
je 0x140042f4c
cmp dword [rcx], 4
jbe 0x140042f4c
test qword [rcx + 0x10], r12
je 0x140042f4c
mov rax, qword [rcx + 0x18]
and rax, r12
cmp rax, qword [rcx + 0x18]
jne 0x140042f4c
lea rcx, [r15 + 0x1e8]
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140030330
nop
jmp 0x140042f4c
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 0x1400430b0
test edi, edi
jns 0x14004321c
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140042fbe
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140042fbe
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140042fbe
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140043003
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140043003
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140043003
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140043058
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140043058
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140043058
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140047584
nop
test rsi, rsi
je 0x1400430a9
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 0x140043eba
test edi, edi
jns 0x14004321c
mov rcx, qword [rsp + 0x3d8]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x446
call fcn.140005d80
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14004312a
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x14004312a
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004312a
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14004316f
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14004316f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004316f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400431c4
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x1400431c4
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400431c4
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140047584
nop
test rsi, rsi
je 0x140043215
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 0x140043eba
mov rdi, qword [r15 + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xb0]
lea rdx, [rsp + 0x150]
mov rcx, r13
call fcn.14006a7f4
nop
lea r8, [rsp + 0x64]
mov rdx, qword [rax]
mov rcx, rdi
mov rax, rbx
call qword [case.0x14007c5ab.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 0x1400433d3
mov rcx, qword [rsp + 0x3d8]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x44b
call fcn.140005d80
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400432e1
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x1400432e1
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400432e1
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140043326
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140043326
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140043326
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14004337b
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x14004337b
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004337b
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 0x1d
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
mov rcx, qword [r15 + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140047584
nop
test rsi, rsi
je 0x1400433cc
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 0x140043eba
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 0x140043459
cmp byte [r15 + 0x109], 0
je 0x140043459
mov eax, dword [r15 + 0x258]
cmp dword [rsp + 0x64], eax
jne 0x140043459
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx + 8]
cmp rax, qword [0x1400aae88]
jne 0x140043443
mov rax, qword [rbx + 0x10]
cmp rax, qword [0x1400aae90]
jne 0x140043443
test byte [rsp + 0x240], 1
jne 0x14004345e
mov rcx, rbx
call fcn.140050190
nop
test al, al
je 0x14004345e
test edi, edi
je 0x14004345e
xor dil, dil
jmp 0x140043461
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.140050190
nop
mov r13b, al
mov sil, byte [rsp + 0x240]
and sil, 1
call fcn.14002870c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14004350b
cmp dword [rcx], 0
jbe 0x14004350b
call fcn.14002870c
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.14004be08
nop
xor r13d, r13d
test dil, dil
je 0x1400437a3
mov rax, qword [rsp + 0xc8]
mov qword [r15 + 0x260], rax
movups xmm0, xmmword [0x1400aae88]
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.14006a7f4
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.1400465b0
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 0x140043622
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043622
cmp dword [rcx], 4
jbe 0x140043622
test qword [rcx + 0x10], r12
je 0x140043622
mov rax, qword [rcx + 0x18]
and rax, r12
cmp rax, qword [rcx + 0x18]
jne 0x140043622
lea rcx, [r15 + 0x1e8]
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea edx, [r13 + 1]
call fcn.140030330
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.14006a7f4
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.14004f360
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 0x140043707
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140043707
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140043707
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x14004374f
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14004374f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14004374f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.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 0x140043789
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 0x1400437a3
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 0x14004390a
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x80]
call fcn.14006a7f4
nop
mov rsi, rax
mov rdx, rdi
lea rcx, [rsp + 0x178]
call fcn.14004cdf4
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.14004f6c0
nop
mov rcx, qword [rsp + 0x208]
test rcx, rcx
je 0x140043848
mov rax, qword [rcx]
lea rdx, [rsp + 0x1d0]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14007c5ab.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 0x1400438ad
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400438ad
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400438ad
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rbx, qword [rsp + 0x180]
test rbx, rbx
je 0x1400438f5
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400438f5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400438f5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.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.140051d54
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xc4
mov rax, qword [rdx]
cmp rax, qword [rsp + 0x220]
jne 0x140043946
mov rax, qword [rdx + 8]
cmp rax, qword [rsp + 0x228]
je 0x140043953
mov rcx, qword [r15 + 0x88]
call fcn.1400525f0
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x298]
call fcn.140045804
nop
cmp byte [r15 + 0x108], r13b
jne 0x1400439ce
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.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400439ce
cmp dword [rcx], r13d
jbe 0x1400439ce
call fcn.140010b8c
nop
mov r8d, ebx
xor edx, edx
call fcn.14004bd84
nop
mov rax, qword [rsp + 0x70]
mov dil, byte [rax + 0xf0]
cmp byte [r15 + 0x109], r13b
jne 0x140043b81
test dil, dil
je 0x140043b81
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.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043ad6
cmp dword [rcx], r13d
jbe 0x140043ad6
call fcn.140010b8c
nop
movss dword [rsp + 0xb0], xmm6
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043ad6
cmp dword [rcx], r13d
jbe 0x140043ad6
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x140043ad6
test byte [rcx + 0x10], 0xa
je 0x140043ad6
mov rax, qword [rcx + 0x18]
and eax, 0xa
cmp rax, qword [rcx + 0x18]
jne 0x140043ad6
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, [0x1400b989d]
call fcn.140001b80
nop
comiss xmm6, dword [0x1400b69fc]
jbe 0x140043b81
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043b81
cmp dword [rcx], r13d
jbe 0x140043b81
call fcn.140010b8c
nop
movss dword [rsp + 0xb0], xmm6
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043b81
cmp dword [rcx], r13d
jbe 0x140043b81
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x140043b81
test byte [rcx + 0x10], 0xa
je 0x140043b81
mov rax, qword [rcx + 0x18]
and eax, 0xa
cmp rax, qword [rcx + 0x18]
jne 0x140043b81
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, [0x1400b985c]
call fcn.140001b80
nop
mov ecx, dword [rsp + 0x240]
mov edx, ecx
and edx, 2
je 0x140043b9d
mov al, cl
and al, 1
neg al
sbb ebx, ebx
neg ebx
inc ebx
jmp 0x140043ba0
mov ebx, r13d
mov esi, dword [r15 + 0x330]
cmp ebx, esi
je 0x140043c02
movss xmm6, dword [0x1400b69cc]
test cl, 1
je 0x140043bbd
movaps xmm7, xmm6
jmp 0x140043bc0
xorps xmm7, xmm7
test edx, edx
jne 0x140043bc7
xorps xmm6, xmm6
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043bfb
cmp dword [rcx], r13d
jbe 0x140043bfb
call fcn.140010b8c
nop
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm6
mov r9d, ebx
mov r8d, esi
xor edx, edx
call fcn.14004bc4c
nop
mov dword [r15 + 0x330], ebx
cmp byte [r15 + 0x109], r13b
je 0x140043c39
cmp byte [r15 + 0x10a], dil
je 0x140043c39
call fcn.140010b8c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043c39
cmp dword [rcx], r13d
jbe 0x140043c39
call fcn.140010b8c
nop
mov r8b, dil
xor edx, edx
call fcn.14004bb74
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.14002870c
nop
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140043c7f
cmp dword [rcx], r13d
jbe 0x140043c7f
call fcn.14002870c
nop
call fcn.14004bae8
nop
cmp byte [r15 + 0x109], r13b
je 0x140043d35
mov rbx, qword [r15 + 0xc8]
mov rsi, qword [r15 + 0xd0]
cmp rbx, rsi
je 0x140043cc4
cmp rbx, rsi
je 0x140043cb6
mov rdx, rbx
mov rcx, r15
call fcn.140041398
nop
add rbx, 0x10
jmp 0x140043c9f
mov rax, qword [r15 + 0xc8]
mov qword [r15 + 0xd0], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x100], r13
jbe 0x140043d35
mov rsi, qword [r15 + 0xe0]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x140043d35
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 0x28]
call fcn.14005d3e8
nop
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
je 0x140043d18
mov rax, qword [rbx + 8]
jmp 0x140043d0d
cmp rbx, qword [rax + 0x10]
jne 0x140043d13
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x140043d00
mov rbx, rax
jmp 0x140043cdc
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r13b
jne 0x140043cdc
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r13b
je 0x140043d24
jmp 0x140043cdc
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x108]
mov rax, qword [rsp + 0xa0]
cmp ecx, dword [rax + 0x108]
je 0x140043d8a
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.140048b50
nop
test rdi, rdi
je 0x140043d9f
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 0x140043df4
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140043df4
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140043df4
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140043e39
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x140043e39
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14007c5ab.0]
nop
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140043e39
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14007c5ab.0]
nop
lea rcx, [rsp + 0x80]
call fcn.140014560
nop
cmp byte [rsp + 0x168], r13b
je 0x140043e87
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.0x14007c5ab.0]
nop
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov edx, 2
mov rax, qword [rax + 0x70]
call qword [case.0x14007c5ab.0]
nop
lea rcx, [rsp + 0xe8]
call fcn.140047584
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x140043eaf
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
xor eax, eax
jmp 0x140043eba
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140098550
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