Function at 0x1400498e0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x100
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movsxd rdi, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
mov rdx, qword [rcx + 0x40]
mov eax, edi
lea r14, [rax*8]
mov rax, qword [rdx]
mov r8, qword [r14 + rax]
mov eax, dword [r8 + 0x30]
dec eax
test eax, 0xfffffffd
jne 0x140049b00
lea rsi, [rdi*8]
mov rax, qword [rbx + 0x18]
mov edx, edi
cmp qword [rsi + rax], 0
jne 0x14004998b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._no_old_WT_configuration_to_retrieve___action_aborted__ask_Merlin_for_advice
call fcn.1400092d0
lea rdx, [0x1400094a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8b, 1
call fcn.140025a00
mov rbp, qword [rbx + 0x30]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
mov rdx, qword [r14 + rcx]
add rdx, 0x38
mov rax, qword [rbx + 0x18]
mov rcx, qword [rsi + rax]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400499bc
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400499ca
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140049a9e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140049a9e
lea r8d, [rax + 1]
mov edx, edi
mov rcx, rbp
call fcn.14002b620
xor edx, edx
mov r8d, 0xb8
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx + 0x20]
movzx r8d, byte [rax + 0x239]
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax + 8]
sub rdx, qword [rax]
sar rdx, 3
lea rcx, [rsp + 0x30]
call fcn.140036240
nop
mov rax, qword [rbx + 0x18]
mov r8, qword [rsi + rax]
add r8, 0x38
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x40]
mov rax, qword [rcx]
mov rdx, qword [r14 + rax]
call fcn.140058090
mov rax, qword [rbx + 0x18]
mov rcx, qword [rsi + rax]
mov edx, dword [rcx + 0x50]
cmp edx, 0xffffffff
je 0x140049a85
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x40]
mov rax, qword [rcx]
mov r8, qword [r14 + rax]
mov rax, qword [r8 + 0xc8]
movsxd rcx, dword [rax + 0x2c]
mov rax, qword [r8 + 0xe8]
mov rcx, qword [rax + rcx*8]
call fcn.14005b680
nop
lea rcx, [rsp + 0x88]
call fcn.140036970
lea rcx, [rsp + 0x30]
call fcn.140036fe0
jmp 0x140049ac8
mov r8d, 2
mov edx, edi
mov rcx, rbp
call fcn.140025ab0
mov rax, qword [rbx + 0x18]
mov r8, qword [rsi + rax]
mov rcx, qword [rbx + 0x30]
mov r9, r8
mov edx, edi
mov rcx, qword [rcx + 0x40]
call fcn.1400757d0
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x50]
mov rax, qword [rcx + 8]
mov rdx, qword [rax + 0x10]
sub rdx, qword [rax + 8]
sar rdx, 2
test edx, edx
mov dl, 1
jle 0x140049aed
call fcn.1401006c0
jmp 0x140049af2
call fcn.140100570
mov r8b, 1
mov edx, edi
mov rcx, qword [rbx + 0x30]
call fcn.140025950
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14014a6d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret