Function at 0x14000b6e0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rcx
call fcn.14018f5ec
mov esi, dword [rax]
call fcn.14018f5ec
mov dword [rax], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x78]
movabs r13, 0x7ffffffffffffff8
test al, 0x10
mov dword [rsp + 0x60], ebp
je 0x14000baee
mov rax, qword [rdi + 0x48]
mov rbx, qword [rdi + 0x70]
cmp rbx, rax
jae 0x14000b745
mov qword [rdi + 0x70], rax
mov rbx, rax
mov r14, qword [rdi + 0x40]
sub rbx, r14
js 0x14000ba8a
cmp rbx, r13
jae 0x14000ba9d
cmp rbx, 0x16
ja 0x14000b9fc
lea rcx, [rsp + 0x28]
mov byte [rcx + 0x17], bl
lea r15, [rcx + rbx]
cmp rcx, r14
ja 0x14000b77f
cmp r15, r14
ja 0x14000badb
test rbx, rbx
je 0x14000b78f
mov rdx, r14
mov r8, rbx
call fcn.1401cd6e0
lea r14, [rdi + 0x10]
mov byte [r15], 0
movsx rbx, byte [rsp + 0x3f]
test rbx, rbx
jns 0x14000b7a7
mov rbx, qword [rsp + 0x30]
jns 0x14000b7b3
mov rcx, qword [rsp + 0x28]
call fcn.14018f5a0
mov rax, qword [r14]
movsxd rax, dword [rax + 4]
mov r15, qword [r14 + rax + 0x30]
lea r12, [0x1402c4b28]
cmp r15, r12
jne 0x14000baa7
lea rax, [0x1402c5820]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402c5820]
cmp rax, 0xffffffffffffffff
jne 0x14000bb66
movsxd rax, dword [0x1402c5828]
lea rdx, [rax - 1]
mov rcx, qword [r15 + 0x10]
mov r8, qword [r15 + 0x18]
sub r8, rcx
sar r8, 3
cmp r8, rdx
jbe 0x14000ba85
mov rcx, qword [rcx + rax*8 - 8]
test rcx, rcx
je 0x14000ba85
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov dl, 0xa
call qword [0x1402a3ee8]
mov ebp, eax
cmp r15, r12
jne 0x14000bb3e
mov rcx, r14
mov edx, ebp
call fcn.14000be60
mov rcx, r14
call fcn.14000bd40
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14026f080]
movaps xmmword [rsp + 0x40], xmm0
mov eax, dword [rdi + 0x78]
test al, 0x10
je 0x14000bb0b
mov rax, qword [rdi + 0x48]
mov r14, qword [rdi + 0x70]
cmp r14, rax
jae 0x14000b883
mov qword [rdi + 0x70], rax
mov r14, rax
mov r15, qword [rdi + 0x40]
sub r14, r15
js 0x14000ba8a
cmp r14, r13
jae 0x14000bab1
cmp r14, 0x16
ja 0x14000b9bf
lea rcx, [rsp + 0x40]
mov byte [rcx + 0x17], r14b
lea r12, [rcx + r14]
cmp rcx, r15
ja 0x14000b8be
cmp r12, r15
ja 0x14000badb
test r14, r14
je 0x14000b8ce
mov rdx, r15
mov r8, r14
call fcn.1401cd6e0
mov byte [r12], 0
mov r8, qword [rdi + 0x118]
lea r15, [rsp + 0x28]
mov qword [rsp + 0x20], r15
lea r12, [rsp + 0x68]
lea r14, [rsp + 0x40]
mov rcx, r12
mov rdx, r14
mov r9, 0xffffffffffffffff
call fcn.140119dd0
mov eax, dword [rdi + 0x128]
mov rcx, qword [rdi + 0x120]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], 0x56
mov al, byte [0x1402c58a6]
test al, al
jne 0x14000bbdd
cmp byte [rsp + 0x7f], 0
jns 0x14000b944
mov rcx, qword [rsp + 0x68]
call fcn.14018f5a0
cmp dword [rdi + 8], 3
je 0x14000bc21
mov eax, dword [0x1402b56f0]
test al, 2
jne 0x14000babb
test al, 4
jne 0x14000ba3c
test eax, 0xfffffffa
jne 0x14000b975
cmp dword [rdi + 8], 2
jge 0x14000ba3c
test al, 1
jne 0x14000bb93
cmp dword [rdi + 8], 3
mov ebp, dword [rsp + 0x60]
je 0x14000bb29
cmp byte [rsp + 0x57], 0
jns 0x14000b99c
mov rcx, qword [rsp + 0x40]
call fcn.14018f5a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.14018f5ec
mov dword [rax], esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and r13, r14
add r13, 8
mov r12, r14
or r12, 7
cmp r12, 0x17
cmove r12, r13
inc r12
mov rcx, r12
call fcn.14018f5a8
mov rcx, rax
mov qword [rsp + 0x40], rax
bts r12, 0x3f
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r14
jmp 0x14000b8ac
mov rax, rbx
and rax, r13
add rax, 8
mov r15, rbx
or r15, 7
cmp r15, 0x17
cmove r15, rax
inc r15
mov rcx, r15
call fcn.14018f5a8
mov rcx, rax
mov qword [rsp + 0x28], rax
bts r15, 0x3f
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbx
jmp 0x14000b76d
lea r14, [rsp + 0x40]
movsx r15, byte [r14 + 0x17]
test r15, r15
cmovs r15, qword [r14 + 8]
cmovs r14, qword [r14]
test r15, r15
je 0x14000b975
xor r12d, r12d
mov r8d, r15d
sub r8d, r12d
lea rdx, [r14 + r12]
mov ecx, 2
call fcn.14018fd58
test eax, eax
jns 0x14000bcc4
mov eax, dword [0x1402b56f0]
jmp 0x14000b975
call fcn.1401ceaf0
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_string_view:330:_assertion____end_____begin____0_failed:_std::string_view::string_view_iterator__sentinel__received_invalid_range_n
call fcn.1401ceaf0
lea rcx, [rsp + 0x28]
call fcn.1401ceaf0
lock inc dword [r15 + 8]
jmp 0x14000b7cf
lea rcx, [rsp + 0x40]
call fcn.1401ceaf0
cmp byte [rsp + 0x57], 0
jns 0x14000bac7
mov r14, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402b56f0]
jmp 0x14000b95c
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.1401ceaf0
xor r14d, r14d
mov ebx, 0
test al, 8
je 0x14000b765
mov r14, qword [rdi + 0x28]
mov rbx, qword [rdi + 0x38]
jmp 0x14000b749
xor r14d, r14d
mov r15d, 0
test al, 8
je 0x14000b8a3
mov r15, qword [rdi + 0x28]
mov r14, qword [rdi + 0x38]
jmp 0x14000b887
lea r8, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.1401f88d0
jmp 0x14000b98b
mov eax, 0xffffffff
lock xadd dword [r15 + 8], eax
test eax, eax
jne 0x14000b837
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x1402a3ee8]
jmp 0x14000b837
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
lea rdx, [rsp + 0x40]
mov qword [rdx], rcx
lea rcx, [0x1402c5820]
lea r8, [0x14009dbe0]
call fcn.140007330
jmp 0x14000b7ec
call fcn.1401f8520
test al, al
je 0x14000b97d
lea r9, [rsp + 0x28]
mov dword [r9], 0xaaaaaaaa
lea rdx, [rsp + 0x40]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8d, dword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [0x1402c5b28]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000b97d
movzx ecx, al
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x28]
mov qword [r9], rax
lea rax, [rsp + 0x64]
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], r12
lea rax, str.LogMessage
lea r8, [rsp + 0x90]
mov qword [r8], rax
lea rdx, [rsp + 0x80]
call fcn.1401f8f80
jmp 0x14000b933
cmp byte [0x1402c5b6c], 0
jne 0x14000b94e
mov byte [0x1402c5b6c], 1
mov eax, dword [0x1402c5b78]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000bcfd
mov rcx, rdi
mov rdx, r15
call fcn.1401f8800
movsx rax, byte [rsp + 0x3f]
test rax, rax
jns 0x14000bc7a
mov rax, qword [rsp + 0x30]
mov r15, qword [rsp + 0x28]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], rax
test rax, rax
js 0x14000bcd7
sete al
test r15, r15
setne cl
or cl, al
je 0x14000bcea
mov rcx, qword [0x1402c5b70]
lea rdx, [rsp + 0x68]
call fcn.140007930
cmp byte [rsp + 0x3f], 0
jns 0x14000bcb8
mov rcx, qword [rsp + 0x28]
call fcn.14018f5a0
mov byte [0x1402c5b6c], 0
jmp 0x14000b94e
mov eax, eax
add r12, rax
cmp r12, r15
jb 0x14000ba5e
jmp 0x14000ba7a
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401ceaf0
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401ceaf0
lea rcx, [0x1402c5b78]
call fcn.14018f720
cmp dword [0x1402c5b78], 0xffffffff
jne 0x14000bc5a
lea rcx, str.LOG_FATAL
mov edx, 0x400
call fcn.14000be50
mov qword [0x1402c5b70], rax
lea rcx, [0x1402c5b78]
call fcn.14018f6b4
jmp 0x14000bc5a