Function at 0x14005e394
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400ade58]
xor rax, rsp
mov qword [rsp + 0x90], rax
movsxd r13, edx
mov dword [rsp + 0x24], r13d
mov rsi, rcx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObjectEx]
nop dword [rax + rax]
cmp eax, 0x102
je 0x14005e3f1
test eax, eax
jne 0x14005e641
jmp 0x14005e615
mov r14, r13
lea r15, [rsi + 0x98]
lea r15, [r15 + r13*8]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x48], r15
lea rbx, [rsi + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
cmp byte [r13 + rsi + 0x1f7], 0
jne 0x14005e5eb
mov ebp, dword [rsi + r13*4 + 0x170]
mov r12, qword [rsi + 0x60]
mov rdi, qword [r12]
cmp rdi, r12
je 0x14005e47e
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
movabs r10, 0xc63caf1376585270
mov edx, r13d
mov rax, qword [rax + 0x38]
call qword [case.0x1400620e5.0]
test al, al
je 0x14005e473
inc ebp
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r12
jne 0x14005e44f
mov r13b, byte [r13 + rsi + 0x1dc]
mov byte [rsp + 0x21], r13b
test ebp, ebp
setne r12b
mov byte [rsp + 0x20], r12b
test r13b, r13b
je 0x14005e52a
test ebp, ebp
jne 0x14005e52a
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
mov rdi, qword [rax]
cmp rdi, rax
je 0x14005e52a
lea r12, [r14 + r14*2]
mov rcx, rax
mov r13, qword [rdi + 0x18]
mov rbp, qword [r13 + r12*8 + 0x1a0]
mov rax, qword [r13 + r12*8 + 0x1a8]
mov qword [rsp + 0x30], rax
cmp rbp, rax
je 0x14005e50d
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14005e4f7
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rsp + 0x30]
add rbp, 0x18
cmp rbp, rax
jne 0x14005e4dd
mov rbp, qword [r13 + r12*8 + 0x1a0]
mov rcx, qword [rsp + 0x28]
mov qword [r13 + r12*8 + 0x1a8], rbp
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rcx
jne 0x14005e4bf
mov r12b, byte [rsp + 0x20]
mov r13b, byte [rsp + 0x21]
test rbx, rbx
je 0x14005e55b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
nop
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
cmp r13b, r12b
je 0x14005e5eb
mov byte [r14 + rsi + 0x1dc], r12b
lea rcx, [rsi + 0x218]
mov qword [rsp + 0x30], rsi
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x3c], r12b
lea rax, [0x140084c70]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x58], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x50]
call fcn.140048738
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14005e5eb
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x1400620e5.0]
nop
test rbx, rbx
je 0x14005e600
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
nop
test r15, r15
je 0x14005e615
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14007c650
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0xd8]
lea r8, str.onecoreinternal_sdkincwilopensource_wil_resource.h
mov edx, 0xa0c
call fcn.140005c94
int3