Function at 0x140001990
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rbp + 0x40], r13d
lea r12, [rcx + 0x50]
mov qword [rbp + 0x50], r12
mov rcx, r12
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Lock_void____ptr64]
nop
mov rsi, qword [rdi + 0x90]
mov r15, qword [rdi + 0x78]
mov rax, qword [rdi + 0x90]
add rax, qword [rdi + 0x98]
cmp rsi, rax
je 0x140001a68
test r15, r15
je 0x1400019f2
mov rax, qword [r15]
jmp 0x1400019f5
mov rax, r13
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, rsi
mov rax, qword [rax + 8]
lea r13, [rsi + 1]
mov rdx, r14
mov rcx, qword [rax + rcx*8]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64_const___ptr64]
test al, al
je 0x140001a5d
and qword [rbp - 0x48], 0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r13
xor r13d, r13d
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], rsi
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x20]
lea rcx, [rdi + 0x78]
call fcn.140004144
mov r15, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x10]
mov dword [rbp + 0x40], 1
jmp 0x1400019d1
mov rsi, r13
xor r13d, r13d
jmp 0x1400019d1
mov rcx, r12
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Unlock_void____ptr64]
nop
cmp dword [rbp + 0x40], r13d
je 0x140001a93
mov dword [rdi + 0xa0], r13d
mov rdx, r14
mov rcx, qword [rdi + 0x128]
call fcn.140005ed8
jmp 0x140001b83
mov eax, dword [rdi + 0x178]
test eax, eax
je 0x140001b49
lea r12, [rdi + 0xa8]
mov qword [rbp + 0x40], r12
mov rcx, r12
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Lock_void____ptr64]
nop
lea r15, [rdi + 0x168]
mov rsi, qword [r15]
mov rbx, qword [rsi + 8]
jmp 0x140001ae3
lea rcx, [rbx + 0x20]
mov rdx, r14
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__class_Cmm::CStringT_wchar_t__const____ptr64_const___ptr64]
test al, al
je 0x140001add
mov rbx, qword [rbx + 0x10]
jmp 0x140001ae3
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
je 0x140001ac6
cmp byte [rsi + 0x19], r13b
jne 0x140001b3f
lea rdx, [rsi + 0x20]
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__class_Cmm::CStringT_wchar_t__const____ptr64_const___ptr64]
test al, al
jne 0x140001b3f
cmp rsi, qword [r15]
je 0x140001b3f
mov rbx, qword [rsi + 0x48]
mov r8, rsi
lea rdx, [rbp + 0x58]
mov rcx, r15
call fcn.140004550
test rbx, rbx
je 0x140001b3f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rdi + 0xa0], r13d
mov rdx, r14
mov rcx, qword [rdi + 0x128]
call fcn.140005ed8
nop
mov rcx, r12
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Unlock_void____ptr64]
nop
lea rbx, [rdi + 0xa8]
mov qword [rbp + 0x50], rbx
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Lock_void____ptr64]
nop
lea rcx, [rdi + 0xd0]
mov rdx, r14
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_AEBV01__Z]
nop
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Unlock_void____ptr64]
nop
mov dword [rdi + 0xa0], 1
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret