Function at 0x540260
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x54055c
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdi
cmp byte [r9 + 0x24], 0
je 0x540509
cmp rbx, 0x80
jl 0x54043c
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x78], rax
cmp byte [r9 + 0x22], 0
je 0x54037c
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
call sym.github.com_klauspost_reedsolomon.avx2XorSlice_64.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x80]
mov rcx, rax
and rcx, 0xffffffffffffffc0
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
mov rbx, rdx
neg rdx
sar rdx, 0x3f
and rdx, rax
and rdx, 0xffffffffffffffc0
mov rsi, qword [rsp + 0x78]
add rdx, rsi
mov rsi, rax
sub rax, rcx
mov rdi, qword [rsp + 0x98]
cmp rdi, rcx
jb 0x540550
mov r8, qword [rsp + 0xa0]
sub r8, rcx
mov r9, r8
neg r8
sar r8, 0x3f
and rsi, r8
and rsi, 0xffffffffffffffc0
sub rdi, rcx
mov r8, qword [rsp + 0x90]
add rsi, r8
jmp 0x540427
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
call sym.github.com_klauspost_reedsolomon.sSE2XorSlice_64.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x80]
mov rcx, rax
and rcx, 0xffffffffffffffc0
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
mov rbx, rdx
neg rdx
sar rdx, 0x3f
and rdx, rax
and rdx, 0xffffffffffffffc0
mov rsi, qword [rsp + 0x78]
add rdx, rsi
mov rsi, rax
sub rax, rcx
mov rdi, qword [rsp + 0x98]
cmp rdi, rcx
jb 0x540545
mov r8, qword [rsp + 0xa0]
sub r8, rcx
mov r9, r8
neg r9
sar r9, 0x3f
and rsi, r9
and rsi, 0xffffffffffffffc0
sub rdi, rcx
mov r9, qword [rsp + 0x90]
add rsi, r9
mov r9, r8
mov rcx, rbx
mov r8, r9
mov rbx, rax
mov rax, rdx
mov r10, rsi
mov rsi, rdi
mov rdi, r10
nop dword [rax]
cmp rbx, 0x10
jl 0x540500
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
call sym.github.com_klauspost_reedsolomon.sSE2XorSlice.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
mov rcx, rax
and rcx, 0xfffffffffffffff0
mov rdx, qword [rsp + 0x50]
mov rbx, rcx
sub rcx, rdx
sar rcx, 0x3f
and rcx, rax
and rcx, 0xfffffffffffffff0
mov rdx, qword [rsp + 0x60]
add rcx, rdx
mov rdx, rax
sub rax, rbx
mov rsi, qword [rsp + 0x38]
cmp rsi, rbx
jb 0x54053a
mov r8, qword [rsp + 0x40]
sub r8, rbx
mov rsi, r8
neg rsi
sar rsi, 0x3f
and rsi, rdx
and rsi, 0xfffffffffffffff0
mov r9, qword [rsp + 0x58]
lea rdi, [r9 + rsi]
mov rbx, rax
mov rax, rcx
nop
cmp r8, rbx
jb 0x54052f
xor ecx, ecx
jmp 0x540524
call sym.github.com_klauspost_reedsolomon.sliceXorGo
add rsp, 0x68
pop rbp
ret
movzx edx, byte [rdi + rcx]
movzx esi, byte [rcx + rax]
xor edx, esi
mov byte [rdi + rcx], dl
inc rcx
cmp rcx, rbx
jl 0x540514
add rsp, 0x68
pop rbp
ret
mov rcx, rbx
mov rdx, r8
call sym.runtime.panicSliceAcap
mov rax, rbx
mov rcx, rsi
call sym.runtime.panicSliceB
mov rax, rcx
mov rcx, rdi
call sym.runtime.panicSliceB
mov rax, rcx
mov rcx, rdi
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp sym.github.com_klauspost_reedsolomon.sliceXor