Function at 0x14003784c
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, 0x300
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400ade58]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x74], r13d
call fcn.14002dfdc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400378a9
cmp dword [rcx], r13d
jbe 0x1400378a9
call fcn.14002dfdc
call fcn.14003f170
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
lea rcx, [0x1400aecb0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r8, qword [0x1400aecd8]
mov rax, qword [r8]
jmp 0x1400379e3
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14003794d
cmp dword [rcx + 8], r13d
je 0x14003794d
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r13b
je 0x140037929
mov rcx, qword [rax + 8]
jmp 0x14003791b
cmp rax, qword [rcx + 0x10]
jne 0x140037921
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r13b
je 0x14003790e
mov rax, rcx
jmp 0x1400379e3
mov rax, rcx
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], r13b
jne 0x1400379e3
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r13b
je 0x140037939
jmp 0x1400379e3
mov rcx, rax
mov rbx, qword [rax + 0x10]
cmp byte [rbx + 0x19], r13b
je 0x140037975
mov rbx, qword [rax + 8]
jmp 0x14003796d
cmp rcx, qword [rbx + 0x10]
jne 0x14003798d
mov rcx, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], r13b
je 0x140037960
jmp 0x14003798d
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], r13b
jne 0x14003798d
mov rbx, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r13b
je 0x14003797e
mov rdx, rax
lea rcx, [0x1400aecd8]
call fcn.140015a9c
mov rdi, rax
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400379cc
or edx, 0xffffffff
lock xadd dword [rcx + 0xc], edx
cmp edx, 1
jne 0x1400379cc
mov rdx, qword [rcx]
movabs r10, 0x9e241f5a3adb5a70
mov rax, qword [rdx + 8]
call qword [case.0x1400620e5.0]
mov edx, 0x40
mov rcx, rdi
call fcn.140007d20
mov rax, rbx
mov r8, qword [0x1400aecd8]
cmp rax, r8
jne 0x1400378ef
lea rcx, [0x1400aecb0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
lea rsi, [r14 + 0x118]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0xc0], r14
lea rax, [rsp + 0x88]
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0xd0], 1
mov rcx, qword [r14 + 0x78]
call fcn.1400426a0
test al, al
jne 0x140037a74
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
test rsi, rsi
je 0x140037a6d
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400386d3
mov qword [rsp + 0xb0], r14
mov byte [rsp + 0xb8], 1
cmp byte [r14 + 0xf9], r13b
je 0x140037ac5
cmp byte [r14 + 0xf8], r13b
je 0x140037ac5
mov rcx, qword [0x1400af030]
mov rax, qword [rcx]
movabs r10, 0xfe78b739165ea070
mov edx, 0xa
mov rax, qword [rax + 0x98]
call qword [case.0x1400620e5.0]
cmp byte [rax + 0x18], r13b
mov bl, r13b
je 0x140037ac7
mov bl, 1
call fcn.140013c04
mov dl, bl
mov rcx, rax
call fcn.140021bc4
call fcn.140013c04
lea rdx, [rsp + 0x78]
mov rcx, qword [rax + 0x18]
call fcn.140054430
nop
mov r12, qword [rsp + 0x78]
test r12, r12
jne 0x140037b39
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
lea rcx, [rsp + 0xb0]
call fcn.14003b1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
test rsi, rsi
je 0x140037b2f
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov eax, 0x80070490
jmp 0x1400386d3
mov rcx, qword [r14 + 0x288]
mov rax, qword [rcx]
movabs r10, 0xd8d03feb7a5f9170
lea rdx, [rsp + 0x60]
mov rax, qword [rax]
call qword [case.0x1400620e5.0]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140037b6f
lock inc dword [rax + 8]
mov r12, qword [rsp + 0x78]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x100]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0xa0
lea rcx, [rsp + 0x1e0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0xf8], r13
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rsp + 0x280]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
nop
mov r8b, 1
lea rdx, str.Spectrum::SpatialDevice::GetNodePoseForTime
mov rcx, r12
call fcn.1400542ec
lea rdx, [rsp + 0xd8]
mov rcx, r12
call fcn.140051108
lea rax, [rsp + 0x280]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x1e0]
xor r8d, r8d
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xd8]
call fcn.14004f1b4
mov ebx, eax
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140037c4a
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [case.0x1400620e5.0]
nop
test ebx, ebx
jns 0x140037cad
call fcn.14000fbcc
mov rcx, qword [rax + 8]
movabs r15, 0x400001001000
test rcx, rcx
je 0x140037cb7
cmp dword [rcx], 4
jbe 0x140037cb7
test qword [rcx + 0x10], r15
je 0x140037cb7
mov rax, qword [rcx + 0x18]
and rax, r15
cmp rax, qword [rcx + 0x18]
jne 0x140037cb7
lea rcx, [r14 + 0x1d8]
mov rax, qword [rcx]
movabs r10, 0xf94c3f4a76529170
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea edx, [r8 + 1]
mov rax, qword [rax + 0x38]
call qword [case.0x1400620e5.0]
jmp 0x140037cb7
movabs r15, 0x400001001000
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140037d2a
test ebx, ebx
jns 0x140037da6
lea rcx, [rsp + 0xa0]
call fcn.140006d40
nop
lea rcx, [rsp + 0x60]
call fcn.140006d40
nop
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
lea rcx, [rsp + 0xb0]
call fcn.14003b1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
test rsi, rsi
je 0x140037d23
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov eax, ebx
jmp 0x1400386d3
test ebx, ebx
jns 0x140037da6
mov rcx, qword [rsp + 0x328]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x3b6
call fcn.140005c34
nop
lea rcx, [rsp + 0xa0]
call fcn.140006d40
nop
lea rcx, [rsp + 0x60]
call fcn.140006d40
nop
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
lea rcx, [rsp + 0xb0]
call fcn.14003b1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
test rsi, rsi
je 0x140037d9f
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov eax, ebx
jmp 0x1400386d3
mov rdi, qword [r14 + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xb0]
lea rdx, [rsp + 0x108]
mov rcx, r12
call fcn.140051214
nop
movabs r10, 0xed5d974b5a5e0070
lea r8, [rsp + 0x70]
mov rdx, qword [rax]
mov rcx, rdi
mov rax, rbx
call qword [case.0x1400620e5.0]
mov ebx, eax
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
test ebx, ebx
jns 0x140037edf
cmp ebx, 0x80070490
jne 0x140037e67
lea rcx, [rsp + 0xa0]
call fcn.140006d40
nop
lea rcx, [rsp + 0x60]
call fcn.140006d40
nop
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
lea rcx, [rsp + 0xb0]
call fcn.14003b1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
test rsi, rsi
je 0x140037e5d
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov eax, 0x80070490
jmp 0x1400386d3
mov rcx, qword [rsp + 0x328]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x3be
call fcn.140005c34
nop
lea rcx, [rsp + 0xa0]
call fcn.140006d40
nop
lea rcx, [rsp + 0x60]
call fcn.140006d40
nop
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
lea rcx, [rsp + 0xb0]
call fcn.14003b1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
test rsi, rsi
je 0x140037ed8
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov eax, ebx
jmp 0x1400386d3
mov r12, qword [rsp + 0x88]
sub r12, qword [r14 + 0x250]
mov eax, 1
xchg dword [r14 + 0x238], eax
test eax, eax
setne sil
xor sil, 1
cmp byte [r14 + 0xf8], r13b
je 0x140037f62
cmp byte [r14 + 0xf9], r13b
je 0x140037f62
mov eax, dword [r14 + 0x248]
cmp dword [rsp + 0x70], eax
jne 0x140037f62
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 8]
cmp rax, qword [0x14008ce80]
jne 0x140037f4c
mov rax, qword [rbx + 0x10]
cmp rax, qword [0x14008ce88]
jne 0x140037f4c
test byte [rsp + 0x1f0], 1
jne 0x140037f67
mov rcx, rbx
call fcn.140041624
test al, al
je 0x140037f67
test sil, sil
jne 0x140037f67
mov dil, r13b
jmp 0x140037f6a
mov rbx, qword [rsp + 0x60]
mov dil, 1
xorps xmm1, xmm1
cvtsi2sd xmm1, r12
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400aec98]
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
mov rcx, rbx
call fcn.140041624
mov r13b, al
mov r12b, byte [rsp + 0x1f0]
and r12b, 1
call fcn.14002dfdc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003800d
cmp dword [rcx], 0
jbe 0x14003800d
call fcn.14002dfdc
mov ecx, dword [r14 + 0x248]
movups xmm0, xmmword [rbx + 8]
movdqu xmmword [rsp + 0x1d0], xmm0
mov byte [rsp + 0x50], sil
movss dword [rsp + 0x48], xmm6
mov byte [rsp + 0x40], r13b
mov byte [rsp + 0x38], r12b
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9b, byte [r14 + 0xf9]
mov r8b, byte [r14 + 0xf8]
mov dl, dil
call fcn.14003ef4c
xor r13d, r13d
test dil, dil
je 0x140038230
mov rax, qword [rsp + 0x88]
mov qword [r14 + 0x250], rax
movups xmm0, xmmword [0x14008ce80]
movdqu xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0x128], r13
mov qword [rsp + 0x130], r13
mov ebx, dword [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.140051214
lea rcx, [rsp + 0x128]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x204]
lea r8, [rsp + 0x1f4]
mov rdx, rax
mov rcx, r14
call fcn.14003a15c
mov ebx, eax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
test ebx, ebx
jns 0x140038124
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038124
cmp dword [rcx], 4
jbe 0x140038124
test qword [rcx + 0x10], r15
je 0x140038124
mov rax, qword [rcx + 0x18]
and rax, r15
cmp rax, qword [rcx + 0x18]
jne 0x140038124
lea rcx, [r14 + 0x1d8]
mov rax, qword [rcx]
movabs r10, 0xf94c3f4a76529170
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea edx, [r13 + 1]
mov rax, qword [rax + 0x38]
call qword [case.0x1400620e5.0]
mov ebx, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xf0]
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.140051214
nop
mov dword [rsp + 0x40], ebx
mov rbx, qword [rsp + 0x128]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x1e0]
mov r8, rax
lea rdx, [rsp + 0x178]
mov r15, qword [rsp + 0xa0]
mov rcx, r15
call fcn.14004080c
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rax], r13
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x138]
call fcn.140006d40
lea rcx, [rsp + 0x178]
call fcn.140006d40
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]
mov eax, dword [rsp + 0x70]
mov dword [r14 + 0x248], eax
test rbx, rbx
je 0x140038215
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x14003823d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14003823d
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0xa0]
cmp qword [rsp + 0x60], r15
jne 0x14003833b
lea rdx, [rsp + 0x118]
mov rcx, r12
call fcn.140051214
mov rdi, rax
mov rdx, r15
lea rcx, [rsp + 0x158]
call fcn.14003fc18
mov rbx, rax
mov dword [rsp + 0x74], 1
mov qword [rsp + 0x1c8], r13
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x158]
lea r8, [rsp + 0x1e0]
mov rdx, rdi
mov rcx, r15
call fcn.140040c7c
nop
mov rcx, qword [rsp + 0x1c8]
test rcx, rcx
je 0x1400382d9
mov rax, qword [rcx]
lea rdx, [rsp + 0x190]
cmp rcx, rdx
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x1400620e5.0]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x148]
call fcn.140006d40
nop
lea rcx, [rsp + 0x158]
call fcn.140006d40
nop
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
mov rcx, qword [r14 + 0x288]
call fcn.140039644
cmp byte [r14 + 0xf8], r13b
jne 0x1400383b0
mov byte [r14 + 0xf8], 1
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0xe0]
mov qword [r14 + 0xf0], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ebx, eax
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400383b0
cmp dword [rcx], r13d
jbe 0x1400383b0
call fcn.14000fbcc
mov r8d, ebx
xor edx, edx
call fcn.14003eeb4
mov rax, qword [rsp + 0x60]
mov dil, byte [rax + 0x94]
cmp byte [r14 + 0xf9], r13b
jne 0x140038466
test dil, dil
je 0x140038466
mov byte [r14 + 0xf9], 1
lea rcx, [rsp + 0x98]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x98]
sub rax, qword [r14 + 0xf0]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400aec98]
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003843b
cmp dword [rcx], r13d
jbe 0x14003843b
call fcn.14000fbcc
movaps xmm2, xmm6
xor edx, edx
call fcn.14003ee20
comiss xmm6, dword [0x140097754]
jbe 0x140038466
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038466
cmp dword [rcx], r13d
jbe 0x140038466
call fcn.14000fbcc
movaps xmm2, xmm6
xor edx, edx
call fcn.14003ed8c
mov ecx, dword [rsp + 0x1f0]
mov edx, ecx
and edx, 2
je 0x140038482
mov al, cl
and al, 1
neg al
sbb ebx, ebx
neg ebx
inc ebx
jmp 0x140038485
mov ebx, r13d
mov esi, dword [r14 + 0x320]
cmp ebx, esi
je 0x1400384e4
movss xmm6, dword [0x140097724]
test cl, 1
je 0x1400384a2
movaps xmm7, xmm6
jmp 0x1400384a5
xorps xmm7, xmm7
test edx, edx
jne 0x1400384ac
xorps xmm6, xmm6
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400384dd
cmp dword [rcx], r13d
jbe 0x1400384dd
call fcn.14000fbcc
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm6
mov r9d, ebx
mov r8d, esi
xor edx, edx
call fcn.14003ec38
mov dword [r14 + 0x320], ebx
cmp byte [r14 + 0xf9], r13b
je 0x140038518
cmp byte [r14 + 0xfa], dil
je 0x140038518
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038518
cmp dword [rcx], r13d
jbe 0x140038518
call fcn.14000fbcc
mov r8b, dil
xor edx, edx
call fcn.14003eb40
mov byte [r14 + 0xfa], dil
lea rdi, [r14 + 0xb0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0xe0], rdi
call fcn.14002dfdc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003855a
cmp dword [rcx], r13d
jbe 0x14003855a
call fcn.14002dfdc
call fcn.14003ea94
cmp byte [r14 + 0xf9], r13b
je 0x14003860f
mov rbx, qword [r14 + 0xb8]
mov rsi, qword [r14 + 0xc0]
cmp rbx, rsi
je 0x14003859e
cmp rbx, rsi
je 0x140038590
mov rdx, rbx
mov rcx, r14
call fcn.140036638
add rbx, 0x10
jmp 0x14003857a
mov rax, qword [r14 + 0xb8]
mov qword [r14 + 0xc0], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xa0], r13
jbe 0x14003860f
mov rbx, qword [r14 + 0xd0]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
jne 0x14003860f
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x28]
call fcn.140049ea8
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
je 0x1400385f2
mov rax, qword [rbx + 8]
jmp 0x1400385e7
cmp rbx, qword [rax + 0x10]
jne 0x1400385ed
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x1400385da
mov rbx, rax
jmp 0x1400385b6
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r13b
jne 0x1400385b6
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r13b
je 0x1400385fe
jmp 0x1400385b6
mov ecx, dword [r15 + 0xa8]
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xa8], ecx
je 0x14003865d
lea rcx, [r14 + 0x130]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], r14
lea rax, [rsp + 0x168]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x98]
call fcn.14003cb68
nop
test rdi, rdi
je 0x140038672
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0xa0]
call fcn.140006d40
nop
lea rcx, [rsp + 0x60]
call fcn.140006d40
nop
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
lea rcx, [rsp + 0xb0]
call fcn.14003b1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003b210
nop
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x1400386cb
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400386d3
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14007c650
lea r11, [rsp + 0x300]
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