Function at 0x140070070
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140108480]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15d, r8d
mov rbx, rdx
mov r12, rcx
mov r13d, dword [0x14010a420]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdi, qword [rax + r13*8]
add rdi, r8
mov eax, dword [rdi]
cmp dword [0x14010a308], eax
jg 0x140070832
mov eax, dword [rdi]
cmp dword [0x14010a318], eax
jg 0x140070868
cmp qword [0x14010a300], 0
je 0x1400707f8
cmp qword [0x14010a310], 0
je 0x1400707f8
mov eax, dword [rdi]
cmp dword [0x14010a328], eax
jg 0x14007089e
mov eax, dword [rdi]
cmp dword [0x14010a338], eax
jg 0x1400708e5
mov eax, dword [rdi]
cmp dword [0x14010a348], eax
jg 0x14007092c
mov eax, dword [rdi]
cmp dword [0x14010a358], eax
jg 0x140070973
cmp qword [0x14010a320], 0
je 0x1400707f8
cmp qword [0x14010a330], 0
je 0x1400707f8
cmp qword [0x14010a340], 0
je 0x1400707f8
cmp qword [0x14010a350], 0
je 0x1400707f8
cmp qword [rbx + 0x18], 0xf
jbe 0x140070183
mov rsi, qword [rbx]
add rsi, qword [rbx + 0x10]
mov rbx, qword [rbx]
jmp 0x14007018a
mov rsi, qword [rbx + 0x10]
add rsi, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xor r14d, r14d
mov edi, 7
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], rdi
cmp rbx, rsi
jne 0x1400701b0
mov word [rbp - 0x31], r14w
jmp 0x1400702b1
sub rsi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x1400709ba
cmp rsi, rdi
jbe 0x140070270
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x14007022c
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140070261
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400709c0
mov rcx, rax
call fcn.140072eb0
mov rcx, rax
test rax, rax
je 0x1400707e6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rdi
jmp 0x140070274
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400709c0
add rcx, rcx
jne 0x1400701ec
mov rax, r14
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rdi
jmp 0x140070274
call fcn.140072eb0
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rdi
jmp 0x140070274
mov rax, qword [rbp - 0x31]
lea r8, [rbp - 0x31]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x1400702a4
nop dword [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140070290
mov qword [rbp - 0x21], rsi
mov word [r8 + rsi*2], r14w
mov rdi, qword [rbp - 0x19]
mov dword [rbp + 0xf], r15d
lea rdx, [rbp - 0x31]
cmp rdi, 7
cmova rdx, qword [rbp - 0x31]
lea rcx, [rbp - 1]
call sub.ntdll.dll_RtlInitUnicodeString
xor r15b, r15b
mov rbx, qword [0x14010a300]
mov rsi, qword [0x14010a320]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + r13*8]
mov eax, 4
mov eax, dword [rax + rdi]
cmp dword [0x14010a3d8], eax
jg 0x1400709c6
lea rcx, [0x140108310]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140070827
cmp dword [0x14010835c], 0x7fffffff
jne 0x14007032c
mov dword [0x14010835c], 0x7ffffffe
jmp 0x140070b76
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], rsi
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006a610
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.14006d470
mov rax, qword [0x14010a3d0]
mov dl, 1
mov rcx, rbx
call rax
movzx ebx, al
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006d470
lea rcx, [0x140108310]
call sub.MSVCP140.dll__Mtx_unlock
test bl, bl
je 0x1400707af
mov rbx, qword [0x14010a310]
mov rsi, qword [0x14010a330]
mov eax, 4
mov eax, dword [rax + rdi]
cmp dword [0x14010a3e8], eax
jg 0x140070a14
lea rcx, [0x140108360]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140070827
cmp dword [0x1401083ac], 0x7fffffff
jne 0x1400703fe
mov dword [0x1401083ac], 0x7ffffffe
jmp 0x140070b76
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], rsi
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006a610
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.14006d470
mov rax, qword [0x14010a3e0]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006d470
lea rcx, [0x140108360]
call sub.MSVCP140.dll__Mtx_unlock
test rbx, rbx
je 0x1400706e6
mov r9d, 0x38
mov r8, rbx
lea rdx, [rbp - 0x69]
mov rcx, r12
call fcn.140071c10
test al, al
jne 0x1400704b0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov r9d, 0x10
mov r8, qword [rbp - 0x69]
lea rdx, [rbp - 0x79]
mov rcx, r12
call fcn.140071c10
test al, al
jne 0x1400704d1
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov r9d, 0x10
mov r8, qword [rbp - 0x61]
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140071c10
test al, al
jne 0x1400704f1
mov qword [rsp + 0x48], r14
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x61]
mov qword [rbp - 0x71], rdx
mov r9d, 0x10
lea r8, [rsp + 0x40]
mov rcx, r12
call fcn.140072440
mov r9d, 0x10
lea r8, [rbp - 0x79]
mov rdx, qword [rbp - 0x69]
mov rcx, r12
call fcn.140072440
mov rdi, qword [0x14010a310]
mov r14, qword [0x14010a350]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r13*8]
mov r12d, 4
mov ecx, dword [r12 + rsi]
cmp dword [0x14010a3f8], ecx
jg 0x140070a62
lea rcx, [0x1401083b0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140070b13
cmp dword [0x1401083fc], 0x7fffffff
jne 0x14007058b
mov dword [0x1401083fc], 0x7ffffffe
jmp 0x140070b08
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], r14
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006a610
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.14006d470
mov rax, qword [0x14010a3f0]
mov rdx, rbx
mov rcx, rdi
call rax
movzx ebx, al
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006d470
lea rcx, [0x1401083b0]
call sub.MSVCP140.dll__Mtx_unlock
test bl, bl
je 0x1400706ec
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov rbx, qword [0x14010a310]
mov rdi, qword [0x14010a330]
mov ecx, dword [r12 + rsi]
cmp dword [0x14010a3e8], ecx
jg 0x140070ab0
lea rcx, [0x140108360]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140070b13
cmp dword [0x1401083ac], 0x7fffffff
je 0x140070afe
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], ax
mov qword [rsp + 0x26], rdi
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006a610
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.14006d470
mov rax, qword [0x14010a3e0]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006d470
lea rcx, [0x140108360]
call sub.MSVCP140.dll__Mtx_unlock
test rbx, rbx
sete r15b
jmp 0x1400706ec
mov r12d, 4
mov rbx, qword [0x14010a300]
mov rdi, qword [0x14010a340]
mov rax, qword gs:[0x58]
mov r8d, r12d
mov rax, qword [rax + r13*8]
mov r8d, dword [r8 + rax]
cmp dword [0x14010a408], r8d
jg 0x140070b1e
lea rcx, [0x140108400]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140070827
cmp dword [0x14010844c], 0x7fffffff
je 0x140070b6c
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], ax
mov qword [rsp + 0x26], rdi
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006a610
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.14006d470
mov rcx, rbx
call qword [0x14010a400]
mov rcx, qword [0x14010a1b8]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.14006d470
lea rcx, [0x140108400]
call sub.MSVCP140.dll__Mtx_unlock
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x1400707f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400707ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400707ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072eec
movzx eax, r15b
jmp 0x1400707fa
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140072d70
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [0x14010a308]
call fcn.140072e38
cmp dword [0x14010a308], 0xffffffff
jne 0x1400700d6
call fcn.140070be0
mov qword [0x14010a300], rax
lea rcx, [0x14010a308]
call fcn.140072dcc
jmp 0x1400700d6
lea rcx, [0x14010a318]
call fcn.140072e38
cmp dword [0x14010a318], 0xffffffff
jne 0x1400700e4
call fcn.1400712b0
mov qword [0x14010a310], rax
lea rcx, [0x14010a318]
call fcn.140072dcc
jmp 0x1400700e4
lea rcx, [0x14010a328]
call fcn.140072e38
cmp dword [0x14010a328], 0xffffffff
jne 0x14007010e
xor r8d, r8d
lea rdx, str.ExAcquireResourceExclusiveLite
lea rcx, [0x1400be460]
call fcn.14006e830
mov qword [0x14010a320], rax
lea rcx, [0x14010a328]
call fcn.140072dcc
jmp 0x14007010e
lea rcx, [0x14010a338]
call fcn.140072e38
cmp dword [0x14010a338], 0xffffffff
jne 0x14007011c
xor r8d, r8d
lea rdx, str.RtlLookupElementGenericTableAvl
lea rcx, [0x1400be460]
call fcn.14006e830
mov qword [0x14010a330], rax
lea rcx, [0x14010a338]
call fcn.140072dcc
jmp 0x14007011c
lea rcx, [0x14010a348]
call fcn.140072e38
cmp dword [0x14010a348], 0xffffffff
jne 0x14007012a
xor r8d, r8d
lea rdx, str.ExReleaseResourceLite
lea rcx, [0x1400be460]
call fcn.14006e830
mov qword [0x14010a340], rax
lea rcx, [0x14010a348]
call fcn.140072dcc
jmp 0x14007012a
lea rcx, [0x14010a358]
call fcn.140072e38
cmp dword [0x14010a358], 0xffffffff
jne 0x140070138
xor r8d, r8d
lea rdx, str.RtlDeleteElementGenericTableAvl
lea rcx, [0x1400be460]
call fcn.14006e830
mov qword [0x14010a350], rax
lea rcx, [0x14010a358]
call fcn.140072dcc
jmp 0x140070138
call fcn.140034b90
int3
call fcn.140034b70
nop
lea rcx, [0x14010a3d8]
call fcn.140072e38
cmp dword [0x14010a3d8], 0xffffffff
jne 0x1400702fd
lea rcx, [0x140078140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010a3d0], rax
lea rcx, [0x14010a3d8]
call fcn.140072dcc
jmp 0x1400702fd
lea rcx, [0x14010a3e8]
call fcn.140072e38
cmp dword [0x14010a3e8], 0xffffffff
jne 0x1400703cf
lea rcx, [0x140078140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010a3e0], rax
lea rcx, [0x14010a3e8]
call fcn.140072dcc
jmp 0x1400703cf
lea rcx, [0x14010a3f8]
call fcn.140072e38
cmp dword [0x14010a3f8], 0xffffffff
jne 0x14007055c
lea rcx, [0x140078140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010a3f0], rax
lea rcx, [0x14010a3f8]
call fcn.140072dcc
jmp 0x14007055c
lea rcx, [0x14010a3e8]
call fcn.140072e38
cmp dword [0x14010a3e8], 0xffffffff
jne 0x140070640
lea rcx, [0x140078140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010a3e0], rax
lea rcx, [0x14010a3e8]
call fcn.140072dcc
jmp 0x140070640
mov dword [0x1401083ac], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
lea rcx, [0x14010a408]
call fcn.140072e38
cmp dword [0x14010a408], 0xffffffff
jne 0x14007071b
lea rcx, [0x140078140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010a400], rax
lea rcx, [0x14010a408]
call fcn.140072dcc
jmp 0x14007071b
mov dword [0x14010844c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3