Function at 0x14002ab50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rdx, [0x14002a7c0]
mov rdi, rcx
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]
mov ecx, dword [rdi + 0x78]
xor esi, esi
mov eax, ecx
mov qword [rsp + 0x50], rsi
and al, 0x22
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
cmp al, 2
je 0x14002abc0
mov rax, qword [rdi + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x14002abc0
cmp r8, qword [rdi + 0x70]
mov rax, qword [rdi + 0x28]
cmovb r8, qword [rdi + 0x70]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x14002abe5
test cl, 4
jne 0x14002abf4
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14002abf4
mov rax, qword [rdi + 0x20]
mov rdx, qword [rax]
mov rax, qword [rdi + 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
test rdx, rdx
je 0x14002abf4
lea rcx, [rsp + 0x50]
call fcn.14000cf40
mov rax, qword [0x140133fc0]
mov qword [rsp + 0xb8], rbx
test rax, rax
je 0x14002ac37
mov r9, qword [rdi + 0xf0]
lea rcx, [rsp + 0x50]
mov r8d, dword [rdi + 0xf8]
mov rdx, qword [rdi + 0xe8]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 0xfc]
call rax
test al, al
jne 0x14002ad4b
mov eax, dword [0x1400fe088]
test al, 4
je 0x14002ac89
cmp qword [rsp + 0x68], 0x10
lea rbx, [rsp + 0x50]
mov ecx, 2
cmovae rbx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x1400d8780]
mov rcx, rax
call fcn.140008980
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [0x1400fe088]
test al, 2
je 0x14002ad3f
cmp qword [rsp + 0x68], 0x10
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmovae rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140028fc0
cmp qword [rax + 0x18], 8
jb 0x14002acd5
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14002ad26
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad21
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ad21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], si
cmp dword [rdi + 0xfc], 4
jne 0x14002ad4b
int3
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002ad8b
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad86
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ad86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
mov rax, qword [rdi]
lea rbx, [rdi + 0x88]
lea rcx, [rbx - 0x80]
movsxd rdx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rdx + rbx - 0x88], rax
mov rax, qword [rbx - 0x88]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0x88]
mov dword [rdx + rbx - 0x8c], r8d
call fcn.140009d00
lea rcx, [rbx - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ce8e0
mov rsi, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret