Function at 0x1400113f1
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx + 0x30]
add rax, 1
mov rsi, rcx
jo 0x1400115f2
cmp rax, qword [rcx + 0x10]
jle 0x14001143f
movaps xmm0, xmmword [0x14003e990]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call sym.failedAssertImpl__stdZassertions_u310
mov rcx, qword [0x140043a00]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x1400116ad
mov r8, qword [rsi + 0x30]
mov rcx, r8
add rcx, 1
jo 0x1400115f2
mov rdx, qword [rsi + 0x10]
mov rbx, rdx
sub rbx, rcx
jo 0x1400115f2
test rbx, rbx
jns 0x140011491
movaps xmm1, xmmword [0x14003e950]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm1
call sym.failedAssertImpl__stdZassertions_u310
mov rcx, qword [0x140043a00]
call dbg.__emutls_get_address
cmp byte [rax], 0
je 0x1400114c9
jmp 0x1400116ad
je 0x1400114c9
test rdx, rdx
jg 0x1400114a2
dec rdx
xor ecx, ecx
jmp 0x140011686
cmp rcx, rdx
mov rax, qword [rsi + 0x18]
jge 0x1400114b0
test rcx, rcx
jns 0x1400114b8
dec rdx
jmp 0x140011686
lea rdx, [rax + r8 + 9]
mov r8, rbx
lea rcx, [rax + 8]
call sym.memmove
mov r8, rbx
add r8, qword [rsi + 0x30]
mov r9, qword [rsi + 0x20]
jo 0x1400115f2
add r8, 1
jo 0x1400115f2
sub r8, 1
jo 0x1400115f2
lea rbp, [rsp + 0x20]
mov rdx, rbx
lea rdi, [rsi + 0x10]
mov rcx, rbp
call sym.dotdot___pureZstreams_u116_1
mov rcx, r9
mov r8, rbp
mov rdx, rdi
call sym.readDataStr__pureZstreams_u86
mov rcx, qword [0x140043a00]
mov r13, rax
call dbg.__emutls_get_address
cmp byte [rax], 0
mov r12, rax
jne 0x1400116ad
add rbx, r13
jo 0x1400115f2
mov rax, qword [rsi + 0x30]
add rax, 1
jo 0x1400115f2
cmp rax, r13
jg 0x14001154d
add rbx, 0xffffffffffffffff
jmp 0x1400115c1
test rbx, rbx
mov rdx, qword [rsi + 0x10]
js 0x14001155b
cmp rdx, rbx
jg 0x140011560
dec rdx
jmp 0x1400115db
mov rcx, rdi
call sym.nimPrepareStrMutationV2_5
mov rax, qword [rsi + 0x18]
mov byte [rax + rbx + 8], 0
jmp 0x1400115e3
mov rdx, rcx
mov rcx, rdi
call sym.setLengthStrV2
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x20]
sub r8, 1
jo 0x1400115f2
mov rdx, r13
mov rcx, rbp
call sym.dotdot___pureZstreams_u116_1
mov r8, rbp
mov rdx, rdi
mov rcx, r9
call sym.readDataStr__pureZstreams_u86
cmp byte [r12], 0
jne 0x1400116ad
cmp r13, rax
jg 0x14001166d
mov rbx, qword [rsi + 0x10]
sub rbx, 1
jo 0x1400115f2
cmp qword [rsi + 0x10], rbx
jle 0x140011603
test rbx, rbx
mov r13, qword [rsi + 0x10]
js 0x1400115ec
cmp r13, rbx
jg 0x140011625
lea rdx, [r13 - 1]
mov rcx, rbx
jmp 0x140011686
mov qword [rsi + 0x30], rbx
jmp 0x1400116ad
imul rcx, r13, 2
jno 0x140011647
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.raiseOverflow
movaps xmm2, xmmword [0x14003e900]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm2
call sym.failedAssertImpl__stdZassertions_u310
cmp byte [r12], 0
je 0x1400115c9
jmp 0x1400116ad
mov rax, qword [rsi + 0x18]
mov al, byte [rax + rbx + 8]
mov edx, eax
and eax, 7
shr dl, 3
movzx edx, dl
movzx edx, byte [rsi + rdx + 0x48]
bt edx, eax
jb 0x1400115e3
dec rbx
jmp 0x1400115c9
test rcx, rcx
jns 0x140011573
movabs r8, 0x7fffffffffffffff
xor edx, edx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.raiseRangeErrorI
add r13, rax
jo 0x1400115f2
test r13, r13
mov rdx, qword [rsi + 0x10]
js 0x140011680
cmp rdx, r13
jg 0x140011697
dec rdx
mov rcx, r13
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.raiseIndexError2
mov rcx, rdi
call sym.nimPrepareStrMutationV2_5
mov rax, qword [rsi + 0x18]
mov byte [rax + r13 + 8], 0
mov qword [rsi + 0x30], r13
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret