Function at 0x140038b0c
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 [0x1400b0e58]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x74], r13d
call fcn.14002eb8c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038b69
cmp dword [rcx], r13d
jbe 0x140038b69
call fcn.14002eb8c
call fcn.1400401c0
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, [0x1400b1cd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r8, qword [0x1400b1cf8]
mov rax, qword [r8]
jmp 0x140038ca3
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140038c0d
cmp dword [rcx + 8], r13d
je 0x140038c0d
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r13b
je 0x140038be9
mov rcx, qword [rax + 8]
jmp 0x140038bdb
cmp rax, qword [rcx + 0x10]
jne 0x140038be1
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r13b
je 0x140038bce
mov rax, rcx
jmp 0x140038ca3
mov rax, rcx
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], r13b
jne 0x140038ca3
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r13b
je 0x140038bf9
jmp 0x140038ca3
mov rcx, rax
mov rbx, qword [rax + 0x10]
cmp byte [rbx + 0x19], r13b
je 0x140038c35
mov rbx, qword [rax + 8]
jmp 0x140038c2d
cmp rcx, qword [rbx + 0x10]
jne 0x140038c4d
mov rcx, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], r13b
je 0x140038c20
jmp 0x140038c4d
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], r13b
jne 0x140038c4d
mov rbx, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], r13b
je 0x140038c3e
mov rdx, rax
lea rcx, [0x1400b1cf8]
call fcn.140015fd8
mov rdi, rax
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140038c8c
or edx, 0xffffffff
lock xadd dword [rcx + 0xc], edx
cmp edx, 1
jne 0x140038c8c
mov rdx, qword [rcx]
movabs r10, 0x9e241f5a3adb5a70
mov rax, qword [rdx + 8]
call qword [case.0x140063591.0]
mov edx, 0x40
mov rcx, rdi
call fcn.14007eb34
mov rax, rbx
mov r8, qword [0x1400b1cf8]
cmp rax, r8
jne 0x140038baf
lea rcx, [0x1400b1cd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
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 + 0x130], 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.140043808
test al, al
jne 0x140038d33
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
test rsi, rsi
je 0x140038d2c
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 0x14003999d
mov qword [rsp + 0xb0], r14
mov byte [rsp + 0xb8], 1
cmp byte [r14 + 0xf9], r13b
je 0x140038d84
cmp byte [r14 + 0xf8], r13b
je 0x140038d84
mov rcx, qword [0x1400b2050]
mov rax, qword [rcx]
movabs r10, 0xfe78b739165ea070
mov edx, 0xa
mov rax, qword [rax + 0x98]
call qword [case.0x140063591.0]
cmp byte [rax + 0x18], r13b
mov bl, r13b
je 0x140038d86
mov bl, 1
call fcn.140014104
mov dl, bl
mov rcx, rax
call fcn.140022978
call fcn.140014104
lea rdx, [rsp + 0x78]
mov rcx, qword [rax + 0x18]
call fcn.140055588
nop
mov r12, qword [rsp + 0x78]
test r12, r12
jne 0x140038df8
lea rcx, [rsp + 0x78]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003c1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
test rsi, rsi
je 0x140038dee
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 0x14003999d
mov rcx, qword [r14 + 0x288]
mov rax, qword [rcx]
movabs r10, 0xd8d03feb7a5f9170
lea rdx, [rsp + 0x60]
mov rax, qword [rax]
call qword [case.0x140063591.0]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140038e2e
lock inc dword [rax + 8]
mov r12, qword [rsp + 0x78]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x110]
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 + 0x108], 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.140055444
lea rdx, [rsp + 0xd8]
mov rcx, r12
call fcn.14005221c
lea rax, [rsp + 0x280]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x1e0]
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xd8]
call fcn.140050394
mov ebx, eax
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140038f09
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [case.0x140063591.0]
nop
test ebx, ebx
jns 0x140038f6c
call fcn.1400100ec
mov rcx, qword [rax + 8]
movabs r15, 0x400001001000
test rcx, rcx
je 0x140038f76
cmp dword [rcx], 4
jbe 0x140038f76
test qword [rcx + 0x10], r15
je 0x140038f76
mov rax, qword [rcx + 0x18]
and rax, r15
cmp rax, qword [rcx + 0x18]
jne 0x140038f76
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.0x140063591.0]
jmp 0x140038f76
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 0x140038fe9
test ebx, ebx
jns 0x140039065
lea rcx, [rsp + 0xa0]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003c1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
test rsi, rsi
je 0x140038fe2
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 0x14003999d
test ebx, ebx
jns 0x140039065
mov rcx, qword [rsp + 0x328]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x3b6
call fcn.140005fe4
nop
lea rcx, [rsp + 0xa0]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003c1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
test rsi, rsi
je 0x14003905e
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 0x14003999d
mov rdi, qword [r14 + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xb0]
lea rdx, [rsp + 0x118]
mov rcx, r12
call fcn.140052328
nop
movabs r10, 0xed5d974b5a5e0070
lea r8, [rsp + 0x70]
mov rdx, qword [rax]
mov rcx, rdi
mov rax, rbx
call qword [case.0x140063591.0]
mov ebx, eax
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
test ebx, ebx
jns 0x14003919e
cmp ebx, 0x80070490
jne 0x140039126
lea rcx, [rsp + 0xa0]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003c1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
test rsi, rsi
je 0x14003911c
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 0x14003999d
mov rcx, qword [rsp + 0x328]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x3be
call fcn.140005fe4
nop
lea rcx, [rsp + 0xa0]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003c1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
test rsi, rsi
je 0x140039197
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 0x14003999d
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 0x140039221
cmp byte [r14 + 0xf9], r13b
je 0x140039221
mov eax, dword [r14 + 0x248]
cmp dword [rsp + 0x70], eax
jne 0x140039221
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 8]
cmp rax, qword [0x14008ee80]
jne 0x14003920b
mov rax, qword [rbx + 0x10]
cmp rax, qword [0x14008ee88]
jne 0x14003920b
test byte [rsp + 0x1f0], 1
jne 0x140039226
mov rcx, rbx
call fcn.140042798
test al, al
je 0x140039226
test sil, sil
jne 0x140039226
mov dil, r13b
jmp 0x140039229
mov rbx, qword [rsp + 0x60]
mov dil, 1
xorps xmm1, xmm1
cvtsi2sd xmm1, r12
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400b1cb8]
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
mov rcx, rbx
call fcn.140042798
mov r13b, al
mov r12b, byte [rsp + 0x1f0]
and r12b, 1
call fcn.14002eb8c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400392cc
cmp dword [rcx], 0
jbe 0x1400392cc
call fcn.14002eb8c
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.14003ff9c
xor r13d, r13d
test dil, dil
je 0x1400394ef
mov rax, qword [rsp + 0x88]
mov qword [r14 + 0x250], rax
movups xmm0, xmmword [0x14008ee80]
movdqu xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0x138], r13
mov qword [rsp + 0x140], r13
mov ebx, dword [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.140052328
lea rcx, [rsp + 0x138]
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.14003b410
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 0x1400393e3
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400393e3
cmp dword [rcx], 4
jbe 0x1400393e3
test qword [rcx + 0x10], r15
je 0x1400393e3
mov rax, qword [rcx + 0x18]
and rax, r15
cmp rax, qword [rcx + 0x18]
jne 0x1400393e3
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.0x140063591.0]
mov ebx, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xf0]
lea rdx, [rsp + 0x120]
mov rcx, r12
call fcn.140052328
nop
mov dword [rsp + 0x40], ebx
mov rbx, qword [rsp + 0x138]
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 rsi, qword [rsp + 0xa0]
mov rcx, rsi
call fcn.14004191c
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 + 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.1400071a0
lea rcx, [rsp + 0x178]
call fcn.1400071a0
nop
mov rcx, qword [rsp + 0x120]
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 0x1400394d4
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 0x1400394fc
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x1400394fc
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa0]
cmp qword [rsp + 0x60], rsi
jne 0x140039605
lea rdx, [rsp + 0x128]
mov rcx, r12
call fcn.140052328
mov rbx, rax
mov rdx, rsi
lea rcx, [rsp + 0xf8]
call fcn.140040d20
mov dword [rsp + 0x74], 1
mov qword [rsp + 0x1c8], r13
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf8]
lea r8, [rsp + 0x1e0]
mov rdx, rbx
mov rcx, rsi
call fcn.140041da0
nop
mov rcx, qword [rsp + 0x1c8]
test rcx, rcx
je 0x140039595
mov rax, qword [rcx]
lea rdx, [rsp + 0x190]
cmp rcx, rdx
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x140063591.0]
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf8], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x158]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400071a0
nop
mov rcx, qword [rsp + 0x128]
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.14003a904
cmp byte [r14 + 0xf8], r13b
jne 0x14003967a
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.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003967a
cmp dword [rcx], r13d
jbe 0x14003967a
call fcn.1400100ec
mov r8d, ebx
xor edx, edx
call fcn.14003ff04
mov rax, qword [rsp + 0x60]
mov dil, byte [rax + 0x94]
cmp byte [r14 + 0xf9], r13b
jne 0x140039730
test dil, dil
je 0x140039730
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 [0x1400b1cb8]
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140039705
cmp dword [rcx], r13d
jbe 0x140039705
call fcn.1400100ec
movaps xmm2, xmm6
xor edx, edx
call fcn.14003fe70
comiss xmm6, dword [0x1400998dc]
jbe 0x140039730
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140039730
cmp dword [rcx], r13d
jbe 0x140039730
call fcn.1400100ec
movaps xmm2, xmm6
xor edx, edx
call fcn.14003fddc
mov ecx, dword [rsp + 0x1f0]
mov edx, ecx
and edx, 2
je 0x14003974c
mov al, cl
and al, 1
neg al
sbb ebx, ebx
neg ebx
inc ebx
jmp 0x14003974f
mov ebx, r13d
mov r15d, dword [r14 + 0x320]
cmp ebx, r15d
je 0x1400397af
movss xmm6, dword [0x1400998a8]
test cl, 1
je 0x14003976d
movaps xmm7, xmm6
jmp 0x140039770
xorps xmm7, xmm7
test edx, edx
jne 0x140039777
xorps xmm6, xmm6
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400397a8
cmp dword [rcx], r13d
jbe 0x1400397a8
call fcn.1400100ec
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm6
mov r9d, ebx
mov r8d, r15d
xor edx, edx
call fcn.14003fc88
mov dword [r14 + 0x320], ebx
cmp byte [r14 + 0xf9], r13b
je 0x1400397e3
cmp byte [r14 + 0xfa], dil
je 0x1400397e3
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400397e3
cmp dword [rcx], r13d
jbe 0x1400397e3
call fcn.1400100ec
mov r8b, dil
xor edx, edx
call fcn.14003fb90
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.14002eb8c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140039825
cmp dword [rcx], r13d
jbe 0x140039825
call fcn.14002eb8c
call fcn.14003fae4
cmp byte [r14 + 0xf9], r13b
je 0x1400398da
mov rbx, qword [r14 + 0xb8]
mov r15, qword [r14 + 0xc0]
cmp rbx, r15
je 0x140039869
cmp rbx, r15
je 0x14003985b
mov rdx, rbx
mov rcx, r14
call fcn.1400378f8
add rbx, 0x10
jmp 0x140039845
mov rax, qword [r14 + 0xb8]
mov qword [r14 + 0xc0], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xa0], r13
jbe 0x1400398da
mov rbx, qword [r14 + 0xd0]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
jne 0x1400398da
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x28]
call fcn.14004b1b0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
je 0x1400398bd
mov rax, qword [rbx + 8]
jmp 0x1400398b2
cmp rbx, qword [rax + 0x10]
jne 0x1400398b8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x1400398a5
mov rbx, rax
jmp 0x140039881
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r13b
jne 0x140039881
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r13b
je 0x1400398c9
jmp 0x140039881
mov ecx, dword [rsi + 0xa8]
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xa8], ecx
je 0x140039927
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.14003dbb8
nop
test rdi, rdi
je 0x14003993c
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.1400071a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400071a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400071a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003c1a8
nop
lea rcx, [rsp + 0xc0]
call fcn.14003c210
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x140039995
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
xor eax, eax
jmp 0x14003999d
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14007e5c0
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