Function at 0x180067a64
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rdi, [0x18008ada8]
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_AcquireSRWLockShared]
mov eax, dword [0x18008a110]
test eax, eax
jne 0x180067c77
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockShared]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_AcquireSRWLockExclusive]
cmp dword [0x18008a110], ebx
jne 0x180067c6c
lea rcx, [0x180067c98]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov qword [0x18008bd58], rax
test rax, rax
je 0x180067af5
lea rcx, [0x180067cb8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rcx, rax
mov qword [0x18008bd60], rax
mov rax, qword [0x18008bd58]
jmp 0x180067afc
mov rcx, qword [0x18008bd60]
test rcx, rcx
je 0x180067c5a
test rax, rax
je 0x180067c5a
lea rdx, [0x180067cd0]
mov rcx, rax
mov dword [0x18008a110], 1
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067ce0]
mov qword [0x18008db60], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067cf8]
mov qword [0x18008daf0], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067d18]
mov qword [0x18008db68], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067d30]
mov qword [0x18008db70], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067d48]
mov qword [0x18008db78], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067d58]
mov qword [0x18008db80], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd58]
lea rdx, [0x180067d70]
mov qword [0x18008db88], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd60]
lea rdx, [0x180067d88]
mov qword [0x18008db90], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd60]
lea rdx, [0x180067d98]
mov qword [0x18008db98], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd60]
lea rdx, [0x180067db0]
mov qword [0x18008dba0], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x18008bd60]
lea rdx, [0x180067dd0]
mov qword [0x18008dba8], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x18008dbb0], rax
jmp 0x180067c6c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [0x18008a110], 2
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockExclusive]
jmp 0x180067c8b
mov ecx, 0x7f
cmp eax, 2
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockShared]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret