Function at 0x140058090
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r8
mov r8, rdx
mov qword [r11 - 0x50], rdx
xor edi, edi
mov ecx, dword [rdx + 0x30]
cmp ecx, 1
jne 0x1400580e3
mov rdi, qword [rdx + 0xd8]
sub rdi, qword [rdx + 0xd0]
sar rdi, 3
add edi, 0xfffffffd
cmp ecx, 3
jne 0x1400580fd
mov rdi, qword [rdx + 0xd8]
sub rdi, qword [rdx + 0xd0]
sar rdi, 3
add edi, 0xfffffff7
test edi, edi
je 0x14005824e
mov rsi, qword [rbp + 8]
sub rsi, qword [rbp]
sar rsi, 3
cmp edi, esi
je 0x140058190
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0x40]
mov rcx, r8
call fcn.140003470
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400094e0
mov rcx, rax
lea rdx, str._mismatch_in_length:_nchi
call fcn.1400092d0
mov edx, edi
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___int____ptr64]
mov rcx, rax
lea rdx, str._but_size_
call fcn.1400092d0
mov edx, esi
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___int____ptr64]
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]
nop
lea rcx, [rsp + 0x40]
call fcn.140006fd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140019f70
mov r14, qword [rsp + 0x38]
mov eax, dword [r14 + 0x30]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp eax, 1
jne 0x1400581ea
lea eax, [rdi + 2]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
mov r9, rbp
mov r8, rsi
mov rdx, rbx
call fcn.140057950
mov eax, dword [r14 + 0x30]
cmp eax, 3
jne 0x14005820d
lea eax, [rdi + 8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 9
mov r9, rbp
mov r8, rsi
mov rdx, rbx
call fcn.140057950
nop
test rbx, rbx
je 0x14005824e
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x140058246
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058246
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14014a730
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014a6d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret