Function at 0x14000e720
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15d, r8d
mov r14, rdx
mov r12, rcx
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x140026028], eax
jle 0x14000e79d
lea rcx, [0x140026028]
call fcn.140010530
cmp dword [0x140026028], 0xffffffff
jne 0x14000e79d
call fcn.14000c360
mov qword [0x140026010], rax
lea rcx, [0x140026028]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x14002603c], eax
jle 0x14000e7d4
lea rcx, [0x14002603c]
call fcn.140010530
cmp dword [0x14002603c], 0xffffffff
jne 0x14000e7d4
call fcn.14000c8d0
mov qword [0x140026000], rax
lea rcx, [0x14002603c]
call fcn.1400104d0
cmp qword [0x140026010], 0
je 0x14000f21b
cmp qword [0x140026000], 0
je 0x14000f21b
mov eax, dword [rdi]
cmp dword [0x140025d10], eax
jle 0x14000e82e
lea rcx, [0x140025d10]
call fcn.140010530
cmp dword [0x140025d10], 0xffffffff
jne 0x14000e82e
lea rdx, str.ExAcquireResourceExclusiveLite
call fcn.14000bec0
mov qword [0x140025f08], rax
lea rcx, [0x140025d10]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025d14], eax
jle 0x14000e86c
lea rcx, [0x140025d14]
call fcn.140010530
cmp dword [0x140025d14], 0xffffffff
jne 0x14000e86c
lea rdx, str.RtlLookupElementGenericTableAvl
call fcn.14000bec0
mov qword [0x140025e90], rax
lea rcx, [0x140025d14]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025d24], eax
jle 0x14000e8aa
lea rcx, [0x140025d24]
call fcn.140010530
cmp dword [0x140025d24], 0xffffffff
jne 0x14000e8aa
lea rdx, str.ExReleaseResourceLite
call fcn.14000bec0
mov qword [0x140025fe0], rax
lea rcx, [0x140025d24]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025fd8], eax
jle 0x14000e8e8
lea rcx, [0x140025fd8]
call fcn.140010530
cmp dword [0x140025fd8], 0xffffffff
jne 0x14000e8e8
lea rdx, str.RtlDeleteElementGenericTableAvl
call fcn.14000bec0
mov qword [0x140025d30], rax
lea rcx, [0x140025fd8]
call fcn.1400104d0
cmp qword [0x140025f08], 0
je 0x14000f21b
cmp qword [0x140025e90], 0
je 0x14000f21b
cmp qword [0x140025fe0], 0
je 0x14000f21b
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000e925
mov rbx, qword [r14]
add rsi, rbx
jmp 0x14000e92b
add rsi, r14
mov rbx, r14
xor r14d, r14d
mov qword [rbp + 0x18], r14
mov ecx, r14d
mov qword [rbp + 0x28], rcx
mov r8d, 7
mov qword [rbp + 0x30], r8
mov word [rbp + 0x18], r14w
mov rdx, rsi
sub rdx, rbx
cmp rdx, 8
jb 0x14000e968
lea rcx, [rbp + 0x18]
call fcn.14000f4f0
mov ecx, r14d
mov qword [rbp + 0x28], rcx
mov r8, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
cmp rbx, rsi
je 0x14000e9bc
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x14000e9a1
lea rax, [rcx + 1]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x18]
cmp r8, 8
cmovae rax, qword [rbp + 0x18]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x14000e9aa
lea rcx, [rbp + 0x18]
call fcn.14000f660
inc rbx
mov r8, qword [rbp + 0x30]
cmp rbx, rsi
je 0x14000e9bc
mov rcx, qword [rbp + 0x28]
jmp 0x14000e976
mov dword [rbp + 0x58], r15d
lea rdx, [rbp + 0x18]
cmp r8, 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rbx, qword [0x140026010]
mov rsi, qword [0x140025f08]
mov eax, dword [rdi]
cmp dword [0x140025e50], eax
jle 0x14000ea34
lea rcx, [0x140025e50]
call fcn.140010530
cmp dword [0x140025e50], 0xffffffff
jne 0x14000ea34
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025e68], rax
lea rcx, [0x140025e50]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025de8], eax
jle 0x14000ea7d
lea rcx, [0x140025de8]
call fcn.140010530
cmp dword [0x140025de8], 0xffffffff
jne 0x14000ea7d
mov edx, 2
lea rcx, [0x140025df0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011d10]
call fcn.14001035c
lea rcx, [0x140025de8]
call fcn.1400104d0
lea rcx, [0x140025df0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000ea97
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x30], 0x25ff
mov word [rsp + 0x34], 0
mov qword [rsp + 0x36], rsi
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x80]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.140006f20
mov rax, qword [0x140025e68]
mov dl, 1
mov rcx, rbx
call rax
movzx ebx, al
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x80]
call fcn.140006f20
lea rcx, [0x140025df0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test bl, bl
je 0x14000f1d1
mov rbx, qword [0x140026000]
mov rsi, qword [0x140025e90]
mov eax, dword [rdi]
cmp dword [0x140025f00], eax
jle 0x14000eb71
lea rcx, [0x140025f00]
call fcn.140010530
cmp dword [0x140025f00], 0xffffffff
jne 0x14000eb71
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025e70], rax
lea rcx, [0x140025f00]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025d38], eax
jle 0x14000ebba
lea rcx, [0x140025d38]
call fcn.140010530
cmp dword [0x140025d38], 0xffffffff
jne 0x14000ebba
mov edx, 2
lea rcx, [0x140025f70]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011d00]
call fcn.14001035c
lea rcx, [0x140025d38]
call fcn.1400104d0
lea rcx, [0x140025f70]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000ebd4
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x40], 0x25ff
mov word [rsp + 0x44], 0
mov qword [rsp + 0x46], rsi
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x70]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x40]
call fcn.140006f20
mov rax, qword [0x140025e70]
lea rdx, [rbp + 0x38]
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x70]
call fcn.140006f20
lea rcx, [0x140025f70]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
je 0x14000f0a2
mov r9d, 0x38
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.14000d6b0
test al, al
jne 0x14000ec82
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov r9d, 0x10
mov r8, qword [rbp - 0x20]
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14000d6b0
test al, al
jne 0x14000eca3
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov r9d, 0x10
mov r8, qword [rbp - 0x18]
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14000d6b0
mov rdx, qword [rbp - 0x38]
test al, al
cmove rdx, r14
mov qword [rbp - 0x38], rdx
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x28], rdx
mov r9d, 0x10
lea r8, [rbp - 0x40]
mov rcx, r12
call fcn.14000ddd0
mov r9d, 0x10
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
mov rcx, r12
call fcn.14000ddd0
mov rsi, qword [0x140026000]
mov r14, qword [0x140025d30]
mov eax, dword [rdi]
cmp dword [0x140025dd0], eax
jle 0x14000ed5c
lea rcx, [0x140025dd0]
call fcn.140010530
cmp dword [0x140025dd0], 0xffffffff
jne 0x14000ed5c
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025ea0], rax
lea rcx, [0x140025dd0]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x14002602c], eax
jle 0x14000eda5
lea rcx, [0x14002602c]
call fcn.140010530
cmp dword [0x14002602c], 0xffffffff
jne 0x14000eda5
mov edx, 2
lea rcx, [0x140025f10]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011cf0]
call fcn.14001035c
lea rcx, [0x14002602c]
call fcn.1400104d0
lea rcx, [0x140025f10]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000edbf
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x50], 0x25ff
mov word [rsp + 0x54], 0
mov qword [rsp + 0x56], r14
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x60]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x50]
call fcn.140006f20
mov rdx, rbx
mov rcx, rsi
call qword [0x140025ea0]
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x60]
call fcn.140006f20
lea rcx, [0x140025f10]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [0x140026000]
mov rsi, qword [0x140025e90]
mov eax, dword [rdi]
cmp dword [0x140025f00], eax
jle 0x14000ee8c
lea rcx, [0x140025f00]
call fcn.140010530
cmp dword [0x140025f00], 0xffffffff
jne 0x14000ee8c
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025e70], rax
lea rcx, [0x140025f00]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025d38], eax
jle 0x14000eed5
lea rcx, [0x140025d38]
call fcn.140010530
cmp dword [0x140025d38], 0xffffffff
jne 0x14000eed5
mov edx, 2
lea rcx, [0x140025f70]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011d00]
call fcn.14001035c
lea rcx, [0x140025d38]
call fcn.1400104d0
lea rcx, [0x140025f70]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000eeef
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x60], 0x25ff
mov word [rsp + 0x64], 0
mov qword [rsp + 0x66], rsi
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x50]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x60]
call fcn.140006f20
mov rax, qword [0x140025e70]
lea rdx, [rbp + 0x38]
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x50]
call fcn.140006f20
lea rcx, [0x140025f70]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rsi, qword [0x140026010]
mov r14, qword [0x140025fe0]
mov r8d, dword [rdi]
cmp dword [0x140025e48], r8d
jle 0x14000efc5
lea rcx, [0x140025e48]
call fcn.140010530
cmp dword [0x140025e48], 0xffffffff
jne 0x14000efc5
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025e58], rax
lea rcx, [0x140025e48]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025e88], eax
jle 0x14000f00e
lea rcx, [0x140025e88]
call fcn.140010530
cmp dword [0x140025e88], 0xffffffff
jne 0x14000f00e
mov edx, 2
lea rcx, [0x140025eb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011ce0]
call fcn.14001035c
lea rcx, [0x140025e88]
call fcn.1400104d0
lea rcx, [0x140025eb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000f028
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], r14
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x70]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140006f20
mov rcx, rsi
call qword [0x140025e58]
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x70]
call fcn.140006f20
lea rcx, [0x140025eb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
sete bl
jmp 0x14000f1d3
mov rbx, qword [0x140026010]
mov rsi, qword [0x140025fe0]
mov eax, dword [rdi]
cmp dword [0x140025e48], eax
jle 0x14000f0ff
lea rcx, [0x140025e48]
call fcn.140010530
cmp dword [0x140025e48], 0xffffffff
jne 0x14000f0ff
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025e58], rax
lea rcx, [0x140025e48]
call fcn.1400104d0
mov eax, dword [rdi]
cmp dword [0x140025e88], eax
jle 0x14000f148
lea rcx, [0x140025e88]
call fcn.140010530
cmp dword [0x140025e88], 0xffffffff
jne 0x14000f148
mov edx, 2
lea rcx, [0x140025eb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011ce0]
call fcn.14001035c
lea rcx, [0x140025e88]
call fcn.1400104d0
lea rcx, [0x140025eb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000f162
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], rsi
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x70]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140006f20
mov rcx, rbx
call qword [0x140025e58]
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x70]
call fcn.140006f20
lea rcx, [0x140025eb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
xor bl, bl
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14000f216
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f211
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f211
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movzx eax, bl
jmp 0x14000f21d
xor al, al
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret