Function at 0x1400d7a10
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 0x1400d7d1a
mov qword [rsp + 0x40], rax
movdqa xmm1, xmmword [0x140128220]
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 [0x14012c5f0]
call dbg.__emutls_get_address
mov r13, qword [rsp + 0x48]
cmp byte [rax], 0
mov rbx, rax
jne 0x1400d7cc0
mov rcx, rsi
mov rdi, qword [rsp + 0x40]
call sym.eqwasMoved___stdZassertions_u27
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400d7af8
test byte [rcx + 7], 0x40
je 0x1400d7c70
cmp byte [rbx], 0
jne 0x1400d7c1a
movdqa xmm2, xmmword [0x140128200]
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 0x1400d7c0e
lea rdx, [rsi + rdi]
mov rcx, rbp
call sym.rawNewString
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
test rdi, rdi
jle 0x1400d7cb1
mov rcx, rdi
add rcx, 1
jo 0x1400d7d00
test rcx, rcx
js 0x1400d7ca0
lea rax, [r15 + r12 + 8]
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, rax
call sym.memcpy
add rdi, r15
jo 0x1400d7d00
test rsi, rsi
jle 0x1400d7c91
mov rcx, rsi
add rcx, 1
jo 0x1400d7d10
test rcx, rcx
js 0x1400d7c80
lea rax, [rdi + r12 + 8]
mov r8, rcx
lea rdx, [r14 + 8]
mov rcx, rax
call sym.memcpy
add rsi, rdi
jo 0x1400d7d10
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 0x1400d7bf9
mov ecx, 1
call r15
mov rcx, rax
call sym.flushFile__stdZsyncio_u300
test r12, r12
je 0x1400d7c0e
test byte [r12 + 7], 0x40
jne 0x1400d7c0e
mov rcx, r12
call sym.deallocShared
test r14, r14
je 0x1400d7c1a
test byte [r14 + 7], 0x40
je 0x1400d7c40
test r13, r13
je 0x1400d7c26
test byte [r13 + 7], 0x40
je 0x1400d7c50
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 0x1400d7c1a
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 0x1400d7af8
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rsi, rdi
jmp 0x1400d7bc0
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rdi, r15
jmp 0x1400d7b84
test r13, r13
je 0x1400d7c26
movabs rdi, 0x4000000000000000
and rdi, qword [r13]
jne 0x1400d7c26
mov rcx, r13
xor r13d, r13d
call sym.deallocShared
cmp byte [rbx], 0
je 0x1400d7b01
jmp 0x1400d7c26
call sym.raiseOverflow
jmp 0x1400d7cb1
call sym.raiseOverflow
jmp 0x1400d7c91
call sym.raiseOverflow
jmp 0x1400d7a90