Function at 0x1402c09c0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x98]
test rcx, rcx
je 0x1402c09e0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rdi + 0xb0]
test rcx, rcx
je 0x1402c09f2
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r14d, r14d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rsi
cmp dword [rdi + 0xc0], r14d
je 0x1402c0b58
lea rcx, [0x1405b8e90]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rdi + 0xc0]
test al, 1
je 0x1402c0a36
mov rcx, qword [rdi + 0xc8]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [rdi + 0xc0]
test al, 2
je 0x1402c0a4d
mov rcx, qword [rdi + 0xd0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
mov eax, dword [rdi + 0xc0]
test al, 4
je 0x1402c0a5d
mov rcx, qword [rdi + 0xd8]
call sub.VCRUNTIME140.dll__set_purecall_handler
mov rcx, qword [0x1405b8e80]
mov rax, qword [rcx + 8]
add rax, 0xfffffffffffffff8
cmp qword [rax], rdi
jne 0x1402c0a7e
mov qword [rcx + 8], rax
mov rsi, qword [0x1405b8e80]
jmp 0x1402c0ae9
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.warning:_removing_Breakpad_handler_out_of_order_n
call fcn.1402c1e70
mov rsi, qword [0x1405b8e80]
mov rbx, qword [rsi]
cmp rbx, qword [rsi + 8]
je 0x1402c0ae9
mov qword [rsp + 0x38], rbp
lea rbp, [rbx + 8]
cmp qword [rbx], rdi
jne 0x1402c0ad6
mov r8, qword [rsi + 8]
mov rdx, rbp
sub r8, rbp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
add qword [rsi + 8], 0xfffffffffffffff8
mov rsi, qword [0x1405b8e80]
jmp 0x1402c0ade
add rbx, 8
add rbp, 8
cmp rbx, qword [rsi + 8]
jne 0x1402c0ab1
mov rbp, qword [rsp + 0x38]
mov rcx, qword [rsi]
cmp rcx, qword [rsi + 8]
jne 0x1402c0b4b
test rcx, rcx
je 0x1402c0b37
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x1402c0b27
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402c0c55
mov rcx, r8
call fcn.140322dc0
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov edx, 0x18
mov rcx, rsi
call fcn.140322dc0
mov qword [0x1405b8e80], r14
lea rcx, [0x1405b8e90]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [rdi + 0x18], r14
jne 0x1402c0bab
mov rcx, qword [rdi + 0xe0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0xf0]
mov qword [rdi + 0xe0], r14
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
lock xadd dword [0x1405b8e8c], eax
cmp eax, 1
jne 0x1402c0bca
lea rcx, [0x1405b8e90]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rdi + 0x148]
mov rax, qword [rcx + 8]
mov qword [rax], r14
mov rcx, qword [rcx]
test rcx, rcx
je 0x1402c0bf5
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140322dc0
mov rcx, rbx
test rbx, rbx
jne 0x1402c0be0
mov rcx, qword [rdi + 0x148]
mov edx, 0x20
call fcn.140322dc0
lea rcx, [rdi + 0x60]
call fcn.140032ca0
lea rcx, [rdi + 0x40]
call fcn.140032ca0
lea rcx, [rdi + 0x20]
call fcn.140032ca0
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1402c0c3f
mov rcx, rbx
call fcn.140317310
mov edx, 0x370
mov rcx, rbx
call fcn.140322dc0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3