Function at 0x1400d1430
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov edx, 0x10
mov r12, qword [rcx]
mov r13, qword [rcx + 8]
lea rbp, [rsp + 0x30]
lea rsi, [rsp + 0x40]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rcx, rbp
call sym.rawNewString
movdqu xmm0, xmmword [rsp + 0x30]
mov edx, 1
mov rcx, rsi
movaps xmmword [rsp + 0x40], xmm0
call sym.prepareAdd
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov ecx, 0xd
mov word [rdx + rax + 8], cx
mov rax, qword [rsp + 0x40]
add rax, 1
jo 0x1400d173a
mov qword [rsp + 0x40], rax
movdqa xmm1, xmmword [0x14011fde0]
mov qword [rsp + 0x30], r12
lea r12, [rsp + 0x20]
mov rdx, rbp
mov r8, r12
mov rcx, rsi
mov qword [rsp + 0x38], r13
movaps xmmword [rsp + 0x20], xmm1
call sym.formatValue__pureZstrformat_u171
mov rcx, qword [0x140123df0]
call dbg.__emutls_get_address
mov r13, qword [rsp + 0x48]
cmp byte [rax], 0
mov rbx, rax
jne 0x1400d16e0
mov rcx, rsi
mov rdi, qword [rsp + 0x40]
call sym.eqwasMoved___stdZassertions_u27
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400d1518
test byte [rcx + 7], 0x40
je 0x1400d1690
cmp byte [rbx], 0
jne 0x1400d163a
movdqa xmm2, xmmword [0x14011fdc0]
mov r8d, 0xa
mov rdx, r12
mov rcx, rbp
movaps xmmword [rsp + 0x20], xmm2
call sym.nsuRepeatStr
cmp byte [rbx], 0
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
jne 0x1400d162e
lea rdx, [rsi + rdi]
mov rcx, rbp
call sym.rawNewString
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
test rdi, rdi
jle 0x1400d16d1
mov rcx, rdi
add rcx, 1
jo 0x1400d1720
test rcx, rcx
js 0x1400d16c0
lea rax, [r15 + r12 + 8]
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, rax
call sym.memcpy
add rdi, r15
jo 0x1400d1720
test rsi, rsi
jle 0x1400d16b1
mov rcx, rsi
add rcx, 1
jo 0x1400d1730
test rcx, rcx
js 0x1400d16a0
lea rax, [rdi + r12 + 8]
mov r8, rcx
lea rdx, [r14 + 8]
mov rcx, rax
call sym.memcpy
add rsi, rdi
jo 0x1400d1730
mov ecx, 1
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call r15
mov rdx, rbp
mov qword [rsp + 0x30], rsi
mov rcx, rax
mov qword [rsp + 0x38], r12
call sym.write__stdZsyncio_u274
cmp byte [rbx], 0
jne 0x1400d1619
mov ecx, 1
call r15
mov rcx, rax
call sym.flushFile__stdZsyncio_u300
test r12, r12
je 0x1400d162e
test byte [r12 + 7], 0x40
jne 0x1400d162e
mov rcx, r12
call sym.deallocShared
test r14, r14
je 0x1400d163a
test byte [r14 + 7], 0x40
je 0x1400d1660
test r13, r13
je 0x1400d1646
test byte [r13 + 7], 0x40
je 0x1400d1670
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r14
call sym.deallocShared
jmp 0x1400d163a
mov rcx, r13
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.deallocShared
call sym.deallocShared
jmp 0x1400d1518
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rsi, rdi
jmp 0x1400d15e0
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rdi, r15
jmp 0x1400d15a4
test r13, r13
je 0x1400d1646
movabs rdi, 0x4000000000000000
and rdi, qword [r13]
jne 0x1400d1646
mov rcx, r13
xor r13d, r13d
call sym.deallocShared
cmp byte [rbx], 0
je 0x1400d1521
jmp 0x1400d1646
call sym.raiseOverflow
jmp 0x1400d16d1
call sym.raiseOverflow
jmp 0x1400d16b1
call sym.raiseOverflow
jmp 0x1400d14b0