Function at 0x14000baa0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea r15, [rsp + 0x40]
mov rsi, rdx
mov rdx, rcx
mov rdi, r8
mov rcx, r15
call sym.dollar___systemZdollars_u8
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
lea rcx, [0x14001c280]
call sym.__emutls_get_address
cmp byte [rax], 0
mov rbp, rax
jne 0x14000bd71
mov rdx, rsi
mov rcx, r15
call sym.dollar___systemZdollars_u8
cmp byte [rbp], 0
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
jne 0x14000bd71
lea rdx, [rdi - 1]
mov rcx, r15
call sym.dollar___systemZdollars_u8
cmp byte [rbp], 0
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
jne 0x14000bd71
lea rax, [rbx + rsi]
mov rcx, r15
lea rdx, [rax + rdi + 0x21]
call sym.rawNewString
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
movabs rdx, 0x756f207865646e69
movabs rcx, 0x756f6220666f2074
lea r15, [rax + rbp + 8]
mov r9, rax
mov qword [r15], rdx
add r9, 0x15
movabs rdx, 0x203a73646e756f
mov qword [r15 + 8], rcx
mov qword [r15 + 0xe], rdx
jo 0x14000beb0
lea r15, [rax + rbp + 0x1d]
test rbx, rbx
jle 0x14000bdce
mov rcx, rbx
add rcx, 1
jo 0x14000be98
mov qword [rsp + 0x38], r9
test rcx, rcx
js 0x14000bdb8
mov r8, rcx
lea rdx, [r12 + 8]
mov rcx, r15
call sym.memcpy
mov r9, qword [rsp + 0x38]
add rbx, r9
jo 0x14000be98
lea r15, [rbx + rbp + 8]
mov r9, rbx
mov eax, 0x2e2e
mov byte [r15 + 2], 0
add r9, 2
mov word [r15], ax
jo 0x14000bec8
lea r15, [rbx + rbp + 0xa]
test rsi, rsi
jle 0x14000be16
mov rcx, rsi
add rcx, 1
jo 0x14000be80
mov qword [rsp + 0x38], r9
test rcx, rcx
js 0x14000be00
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, r15
call sym.memcpy
mov r9, qword [rsp + 0x38]
add rsi, r9
jo 0x14000be80
lea r15, [rsi + rbp + 8]
movabs rax, 0x30206e69746f6e20
mov rbx, rsi
add rbx, 0xa
mov qword [r15], rax
mov dword [r15 + 7], 0x2e2e30
jo 0x14000bed8
test rdi, rdi
jle 0x14000bdf1
mov rcx, rdi
add rcx, 1
jo 0x14000be70
test rcx, rcx
js 0x14000bde0
lea rax, [rbx + rbp + 8]
mov r8, rcx
lea rdx, [r14 + 8]
mov rcx, rax
call sym.memcpy
add rdi, rbx
jo 0x14000be70
lea rcx, [0x14001c2a0]
call sym.__emutls_get_address
mov edx, 0x50
mov rcx, rax
mov rbx, rax
call sym.rawAlloc__system_u6816
mov rdx, qword [0x14076ff90]
pxor xmm0, xmm0
xor ecx, ecx
movups xmmword [rax + 0x10], xmm0
lea rsi, [rax + 0x10]
mov r9d, 0x18
mov r8d, 1
mov qword [rax + 0x10], rdx
xor edx, edx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
lea rax, [0x14001d373]
mov qword [rsi + 0x18], rdi
mov rdi, rcx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x20], rbp
mov qword [rsp + 0x20], 8
call sym.prepareSeqAdd
add rdi, 1
mov qword [rsi + 0x30], rax
jno 0x14000be40
call sym.raiseOverflow
lea rcx, [0x14001c200]
call sym.__emutls_get_address
mov rax, qword [rax]
test rax, rax
je 0x14000bd2f
mov rcx, rsi
call rax
test al, al
je 0x14000bd44
mov rax, qword [0x140776168]
test rax, rax
je 0x14000bd88
mov rcx, rsi
call rax
test al, al
jne 0x14000bd88
test r14, r14
je 0x14000bd54
test byte [r14 + 7], 0x40
je 0x14000be30
test r13, r13
je 0x14000bd64
test byte [r13 + 7], 0x40
je 0x14000be20
test r12, r12
je 0x14000bd71
test byte [r12 + 7], 0x40
je 0x14000bd98
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call sym.raiseExceptionAux__system_u4328.part.0
jmp 0x14000bd44
mov rdx, r12
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.rawDealloc__system_u6968
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov r9, qword [rsp + 0x38]
mov rbx, r9
jmp 0x14000bbc9
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rdi, rbx
jmp 0x14000bc8d
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov r9, qword [rsp + 0x38]
mov rsi, r9
jmp 0x14000bc2f
mov rdx, r13
mov rcx, rbx
call sym.rawDealloc__system_u6968
jmp 0x14000bd64
mov rdx, r14
mov rcx, rbx
call sym.rawDealloc__system_u6968
jmp 0x14000bd54
mov qword [rsi + 0x28], rdi
lea rdi, str.sysFatal
mov qword [rax + 8], rdi
lea rdi, str.fatal.nim
mov qword [rax + 0x10], 0x35
mov qword [rax + 0x18], rdi
jmp 0x14000bd12
call sym.raiseOverflow
jmp 0x14000bdf1
mov qword [rsp + 0x38], r9
call sym.raiseOverflow
mov r9, qword [rsp + 0x38]
jmp 0x14000be16
mov qword [rsp + 0x38], r9
call sym.raiseOverflow
mov r9, qword [rsp + 0x38]
jmp 0x14000bdce
mov qword [rsp + 0x38], rax
call sym.raiseOverflow
mov r9, qword [rsp + 0x38]
jmp 0x14000bb82
call sym.raiseOverflow
mov r9, rbx
jmp 0x14000bbe9
call sym.raiseOverflow
mov rbx, rsi
jmp 0x14000bc51