Function at 0x14008bc60
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 [0x1400ecbc0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15d, r8d
mov rbx, rdx
mov r12, rcx
mov r13d, dword [0x1400eff48]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdi, qword [rax + r13*8]
add rdi, r8
mov eax, dword [rdi]
cmp dword [0x1400efdd8], eax
jg 0x14008c422
mov eax, dword [rdi]
cmp dword [0x1400efde8], eax
jg 0x14008c458
cmp qword [0x1400efdd0], 0
je 0x14008c3e8
cmp qword [0x1400efde0], 0
je 0x14008c3e8
mov eax, dword [rdi]
cmp dword [0x1400efdf8], eax
jg 0x14008c48e
mov eax, dword [rdi]
cmp dword [0x1400efe08], eax
jg 0x14008c4d5
mov eax, dword [rdi]
cmp dword [0x1400efe18], eax
jg 0x14008c51c
mov eax, dword [rdi]
cmp dword [0x1400efe28], eax
jg 0x14008c563
cmp qword [0x1400efdf0], 0
je 0x14008c3e8
cmp qword [0x1400efe00], 0
je 0x14008c3e8
cmp qword [0x1400efe10], 0
je 0x14008c3e8
cmp qword [0x1400efe20], 0
je 0x14008c3e8
cmp qword [rbx + 0x18], 0xf
jbe 0x14008bd73
mov rsi, qword [rbx]
add rsi, qword [rbx + 0x10]
mov rbx, qword [rbx]
jmp 0x14008bd7a
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 0x14008bda0
mov word [rbp - 0x31], r14w
jmp 0x14008bea1
sub rsi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x14008c5aa
cmp rsi, rdi
jbe 0x14008be60
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x14008be1c
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14008be51
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008c5b0
mov rcx, rax
call fcn.14008f3a8
mov rcx, rax
test rax, rax
je 0x14008c3d6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rdi
jmp 0x14008be64
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14008c5b0
add rcx, rcx
jne 0x14008bddc
mov rax, r14
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rdi
jmp 0x14008be64
call fcn.14008f3a8
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rdi
jmp 0x14008be64
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 0x14008be94
nop dword [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x14008be80
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 [0x1400efdd0]
mov rsi, qword [0x1400efdf0]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + r13*8]
mov eax, 4
mov eax, dword [rax + rdi]
cmp dword [0x1400efea8], eax
jg 0x14008c5b6
lea rcx, [0x1400eca70]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14008c417
cmp dword [0x1400ecabc], 0x7fffffff
jne 0x14008bf1c
mov dword [0x1400ecabc], 0x7ffffffe
jmp 0x14008c766
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], rsi
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.1400841b0
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140088e70
mov rax, qword [0x1400efea0]
mov dl, 1
mov rcx, rbx
call rax
movzx ebx, al
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.140088e70
lea rcx, [0x1400eca70]
call sub.MSVCP140.dll__Mtx_unlock
test bl, bl
je 0x14008c39f
mov rbx, qword [0x1400efde0]
mov rsi, qword [0x1400efe00]
mov eax, 4
mov eax, dword [rax + rdi]
cmp dword [0x1400efeb8], eax
jg 0x14008c604
lea rcx, [0x1400ecac0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14008c417
cmp dword [0x1400ecb0c], 0x7fffffff
jne 0x14008bfee
mov dword [0x1400ecb0c], 0x7ffffffe
jmp 0x14008c766
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], rsi
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.1400841b0
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140088e70
mov rax, qword [0x1400efeb0]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.140088e70
lea rcx, [0x1400ecac0]
call sub.MSVCP140.dll__Mtx_unlock
test rbx, rbx
je 0x14008c2d6
mov r9d, 0x38
mov r8, rbx
lea rdx, [rbp - 0x69]
mov rcx, r12
call fcn.14008d800
test al, al
jne 0x14008c0a0
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.14008d800
test al, al
jne 0x14008c0c1
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.14008d800
test al, al
jne 0x14008c0e1
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.14008e030
mov r9d, 0x10
lea r8, [rbp - 0x79]
mov rdx, qword [rbp - 0x69]
mov rcx, r12
call fcn.14008e030
mov rdi, qword [0x1400efde0]
mov r14, qword [0x1400efe20]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r13*8]
mov r12d, 4
mov ecx, dword [r12 + rsi]
cmp dword [0x1400efec8], ecx
jg 0x14008c652
lea rcx, [0x1400ecb10]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14008c703
cmp dword [0x1400ecb5c], 0x7fffffff
jne 0x14008c17b
mov dword [0x1400ecb5c], 0x7ffffffe
jmp 0x14008c6f8
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], 0
mov qword [rsp + 0x26], r14
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.1400841b0
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140088e70
mov rax, qword [0x1400efec0]
mov rdx, rbx
mov rcx, rdi
call rax
movzx ebx, al
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.140088e70
lea rcx, [0x1400ecb10]
call sub.MSVCP140.dll__Mtx_unlock
test bl, bl
je 0x14008c2dc
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 [0x1400efde0]
mov rdi, qword [0x1400efe00]
mov ecx, dword [r12 + rsi]
cmp dword [0x1400efeb8], ecx
jg 0x14008c6a0
lea rcx, [0x1400ecac0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14008c703
cmp dword [0x1400ecb0c], 0x7fffffff
je 0x14008c6ee
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], ax
mov qword [rsp + 0x26], rdi
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.1400841b0
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140088e70
mov rax, qword [0x1400efeb0]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.140088e70
lea rcx, [0x1400ecac0]
call sub.MSVCP140.dll__Mtx_unlock
test rbx, rbx
sete r15b
jmp 0x14008c2dc
mov r12d, 4
mov rbx, qword [0x1400efdd0]
mov rdi, qword [0x1400efe10]
mov rax, qword gs:[0x58]
mov r8d, r12d
mov rax, qword [rax + r13*8]
mov r8d, dword [r8 + rax]
cmp dword [0x1400efed8], r8d
jg 0x14008c70e
lea rcx, [0x1400ecb60]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14008c417
cmp dword [0x1400ecbac], 0x7fffffff
je 0x14008c75c
mov dword [rsp + 0x20], 0x25ff
mov word [rsp + 0x24], ax
mov qword [rsp + 0x26], rdi
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.1400841b0
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.140088e70
mov rcx, rbx
call qword [0x1400efed0]
mov rcx, qword [0x1400efc78]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x30]
call fcn.140088e70
lea rcx, [0x1400ecb60]
call sub.MSVCP140.dll__Mtx_unlock
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14008c3e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c3dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f3e4
movzx eax, r15b
jmp 0x14008c3ea
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14008f670
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, [0x1400efdd8]
call fcn.14008f978
cmp dword [0x1400efdd8], 0xffffffff
jne 0x14008bcc6
call fcn.14008c7d0
mov qword [0x1400efdd0], rax
lea rcx, [0x1400efdd8]
call fcn.14008f90c
jmp 0x14008bcc6
lea rcx, [0x1400efde8]
call fcn.14008f978
cmp dword [0x1400efde8], 0xffffffff
jne 0x14008bcd4
call fcn.14008cea0
mov qword [0x1400efde0], rax
lea rcx, [0x1400efde8]
call fcn.14008f90c
jmp 0x14008bcd4
lea rcx, [0x1400efdf8]
call fcn.14008f978
cmp dword [0x1400efdf8], 0xffffffff
jne 0x14008bcfe
xor r8d, r8d
lea rdx, str.ExAcquireResourceExclusiveLite
lea rcx, [0x1400a2b88]
call fcn.14008a400
mov qword [0x1400efdf0], rax
lea rcx, [0x1400efdf8]
call fcn.14008f90c
jmp 0x14008bcfe
lea rcx, [0x1400efe08]
call fcn.14008f978
cmp dword [0x1400efe08], 0xffffffff
jne 0x14008bd0c
xor r8d, r8d
lea rdx, str.RtlLookupElementGenericTableAvl
lea rcx, [0x1400a2b88]
call fcn.14008a400
mov qword [0x1400efe00], rax
lea rcx, [0x1400efe08]
call fcn.14008f90c
jmp 0x14008bd0c
lea rcx, [0x1400efe18]
call fcn.14008f978
cmp dword [0x1400efe18], 0xffffffff
jne 0x14008bd1a
xor r8d, r8d
lea rdx, str.ExReleaseResourceLite
lea rcx, [0x1400a2b88]
call fcn.14008a400
mov qword [0x1400efe10], rax
lea rcx, [0x1400efe18]
call fcn.14008f90c
jmp 0x14008bd1a
lea rcx, [0x1400efe28]
call fcn.14008f978
cmp dword [0x1400efe28], 0xffffffff
jne 0x14008bd28
xor r8d, r8d
lea rdx, str.RtlDeleteElementGenericTableAvl
lea rcx, [0x1400a2b88]
call fcn.14008a400
mov qword [0x1400efe20], rax
lea rcx, [0x1400efe28]
call fcn.14008f90c
jmp 0x14008bd28
call fcn.14001ee00
int3
call fcn.14001ede0
nop
lea rcx, [0x1400efea8]
call fcn.14008f978
cmp dword [0x1400efea8], 0xffffffff
jne 0x14008beed
lea rcx, [0x14009a010]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400efea0], rax
lea rcx, [0x1400efea8]
call fcn.14008f90c
jmp 0x14008beed
lea rcx, [0x1400efeb8]
call fcn.14008f978
cmp dword [0x1400efeb8], 0xffffffff
jne 0x14008bfbf
lea rcx, [0x14009a010]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400efeb0], rax
lea rcx, [0x1400efeb8]
call fcn.14008f90c
jmp 0x14008bfbf
lea rcx, [0x1400efec8]
call fcn.14008f978
cmp dword [0x1400efec8], 0xffffffff
jne 0x14008c14c
lea rcx, [0x14009a010]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400efec0], rax
lea rcx, [0x1400efec8]
call fcn.14008f90c
jmp 0x14008c14c
lea rcx, [0x1400efeb8]
call fcn.14008f978
cmp dword [0x1400efeb8], 0xffffffff
jne 0x14008c230
lea rcx, [0x14009a010]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400efeb0], rax
lea rcx, [0x1400efeb8]
call fcn.14008f90c
jmp 0x14008c230
mov dword [0x1400ecb0c], 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, [0x1400efed8]
call fcn.14008f978
cmp dword [0x1400efed8], 0xffffffff
jne 0x14008c30b
lea rcx, [0x14009a010]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400efed0], rax
lea rcx, [0x1400efed8]
call fcn.14008f90c
jmp 0x14008c30b
mov dword [0x1400ecbac], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3