Function at 0x14000f5d0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rdi, [rsp + 0x40]
mov r12, rdx
mov rdx, rcx
mov rsi, r8
mov rcx, rdi
call sym.dollar___systemZdollars_u8
mov r14, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
lea rcx, [0x1400ff4a0]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x14000f896
mov rdx, r12
mov rcx, rdi
call sym.dollar___systemZdollars_u8
cmp byte [rbx], 0
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
jne 0x14000f896
lea rdx, [rsi - 1]
mov rcx, rdi
call sym.dollar___systemZdollars_u8
cmp byte [rbx], 0
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
jne 0x14000f896
lea rax, [r14 + r15]
mov rcx, rdi
lea rdx, [rax + rsi + 0x21]
call sym.rawNewString
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
movabs rdx, 0x756f207865646e69
movabs rcx, 0x756f6220666f2074
lea rbx, [rax + rdi + 8]
mov r9, rax
mov qword [rbx], rdx
add r9, 0x15
movabs rdx, 0x203a73646e756f
mov qword [rbx + 8], rcx
mov qword [rbx + 0xe], rdx
jo 0x14000fa20
lea rbx, [rax + rdi + 0x1d]
test r14, r14
jle 0x14000f6f5
mov rcx, r14
add rcx, 1
jo 0x14000fa4c
mov qword [rsp + 0x38], r9
test rcx, rcx
js 0x14000f950
mov r8, rcx
lea rdx, [rbp + 8]
mov rcx, rbx
call sym.memcpy
mov r9, qword [rsp + 0x38]
add r14, r9
jo 0x14000fa4c
lea rbx, [r14 + rdi + 8]
mov r9, r14
mov r14, r9
mov eax, 0x2e2e
mov byte [rbx + 2], 0
add r14, 2
mov word [rbx], ax
jo 0x14000fa38
lea rbx, [r9 + rdi + 0xa]
test r15, r15
jle 0x14000f74f
mov rcx, r15
add rcx, 1
jo 0x14000fa60
test rcx, rcx
js 0x14000f970
mov r8, rcx
lea rdx, [r12 + 8]
mov rcx, rbx
call sym.memcpy
add r15, r14
jo 0x14000fa60
lea rbx, [r15 + rdi + 8]
mov r14, r15
movabs rax, 0x30206e69746f6e20
mov qword [rbx], rax
mov dword [rbx + 7], 0x2e2e30
mov rbx, r14
add rbx, 0xa
jo 0x14000fa10
test rsi, rsi
jle 0x14000f8d1
mov rcx, rsi
add rcx, 1
jo 0x14000fa00
test rcx, rcx
js 0x14000f8c0
lea rax, [rbx + rdi + 8]
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, rax
call sym.memcpy
add rsi, rbx
jo 0x14000fa00
mov ecx, 0x40
call sym.nimNewObj.constprop.0
mov rbx, rax
mov rax, qword [0x140123c60]
mov rdx, qword [rbx + 0x30]
mov qword [rbx + 0x18], rsi
mov qword [rbx], rax
lea rax, [0x1401025b3]
mov rsi, qword [rbx + 0x28]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x20], rdi
test rdx, rdx
je 0x14000f8e0
mov rdi, rsi
add rdi, 1
jo 0x14000f913
movabs rax, 0xbfffffffffffffff
and rax, qword [rdx]
cmp rdi, rax
jg 0x14000f9d0
lea rax, [rsi + rsi*2]
lea rsi, str.sysFatal
mov qword [rbx + 0x28], rdi
lea rax, [rdx + rax*8 + 8]
mov qword [rax], rsi
lea rsi, str.fatal.nim
mov qword [rax + 8], 0x35
mov qword [rax + 0x10], rsi
lea rcx, [0x1400ff420]
call dbg.__emutls_get_address
mov rax, qword [rax]
test rax, rax
je 0x14000f851
mov rcx, rbx
call rax
test al, al
je 0x14000f866
mov rax, qword [0x140135128]
test rax, rax
je 0x14000f8b0
mov rcx, rbx
call rax
test al, al
jne 0x14000f8b0
test r13, r13
je 0x14000f876
test byte [r13 + 7], 0x40
je 0x14000f9b0
test r12, r12
je 0x14000f887
test byte [r12 + 7], 0x40
je 0x14000f990
test rbp, rbp
je 0x14000f896
test byte [rbp + 7], 0x40
je 0x14000f920
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call sym.raiseExceptionAux__system_u4328.part.0
jmp 0x14000f866
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rsi, rbx
jmp 0x14000f7ac
xor edx, edx
mov r9d, 0x18
mov rcx, rsi
mov rdi, rsi
mov qword [rsp + 0x20], 8
mov r8d, 1
call sym.prepareSeqAdd
add rdi, 1
mov qword [rbx + 0x30], rax
mov rdx, rax
jno 0x14000f80a
call sym.raiseOverflow
jmp 0x14000f834
lea rcx, [0x1400ff4c0]
call dbg.__emutls_get_address
mov rdx, rbp
mov rcx, rax
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]
jmp 0x14000f6f5
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
jmp 0x14000f74f
lea rcx, [0x1400ff4c0]
call dbg.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u6968
jmp 0x14000f887
lea rcx, [0x1400ff4c0]
call dbg.__emutls_get_address
mov rdx, r13
mov rcx, rax
call sym.rawDealloc__system_u6968
jmp 0x14000f876
mov r9d, 0x18
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], 8
call sym.prepareSeqAdd
mov qword [rbx + 0x30], rax
mov rdx, rax
jmp 0x14000f80a
call sym.raiseOverflow
jmp 0x14000f8d1
call sym.raiseOverflow
mov rbx, r14
jmp 0x14000f770
mov qword [rsp + 0x38], rax
call sym.raiseOverflow
mov r9, qword [rsp + 0x38]
jmp 0x14000f6b0
mov qword [rsp + 0x38], r9
call sym.raiseOverflow
mov r14, qword [rsp + 0x38]
jmp 0x14000f713
mov qword [rsp + 0x38], r9
call sym.raiseOverflow
mov r9, qword [rsp + 0x38]
jmp 0x14000f6f5
call sym.raiseOverflow
jmp 0x14000f74f