Function at 0x5f2840
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5f2be6
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2c
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x009746c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
jmp 0x5f2906
sub rdx, rbx
lea rcx, [rdx - 1]
mov qword [rsp + 0x30], rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and rax, rcx
add rax, rsi
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x2c
nop dword [rax]
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x009746c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
je 0x5f297a
cmp rdx, rax
jb 0x5f2bdb
mov rbx, rax
mov rsi, rcx
nop dword [rax + rax]
jmp 0x5f2ac0
mov rdi, qword [rsp + 0x98]
cmp rdi, rax
jne 0x5f295b
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, qword [rsp + 0x90]
xor r9d, r9d
jmp 0x5f2b15
xor eax, eax
nop dword [rax]
test al, al
jne 0x5f2aff
lea rax, [rbx + 1]
cmp rdx, rax
jae 0x5f28ae
jmp 0x5f2b0a
jmp 0x5f298f
dec rdx
mov rsi, rdx
neg rsi
sar rsi, 0x3f
and esi, 1
add rcx, rsi
test rdx, rdx
je 0x5f29ab
movzx esi, byte [rcx]
cmp sil, 0x20
je 0x5f297c
nop dword [rax]
cmp sil, 9
je 0x5f297c
jmp 0x5f29ab
dec rdx
test rdx, rdx
je 0x5f29c6
movzx esi, byte [rdx + rcx - 1]
cmp sil, 0x20
je 0x5f29a8
nop dword [rax + rax]
cmp sil, 9
je 0x5f29a8
mov rsi, qword [rsp + 0x98]
cmp rsi, rdx
jne 0x5f29e9
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x20], rdx
mov rdi, qword [rsp + 0x90]
xor eax, eax
jmp 0x5f29f4
xor eax, eax
add rsp, 0x70
pop rbp
ret
mov rax, r9
cmp rax, rdx
jge 0x5f2a97
movzx r8d, byte [rcx + rax]
cmp r8d, 0x80
jge 0x5f2a11
lea r9, [rax + 1]
jmp 0x5f2a4c
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdx, rax
mov rax, rcx
mov rcx, rdx
call sym.runtime.decoderune
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov r8d, eax
mov r9, rbx
mov rax, qword [rsp + 0x38]
cmp r8d, 0x80
jge 0x5f2a90
lea r10d, [r8 - 0x41]
cmp r10b, 0x19
ja 0x5f2a63
add r8d, 0x20
cmp rsi, rax
jbe 0x5f2aa5
movzx r10d, byte [rax + rdi]
lea r11d, [r10 - 0x41]
cmp r11b, 0x19
ja 0x5f2a80
add r10d, 0x20
nop dword [rax + rax]
cmp r8b, r10b
je 0x5f29f1
xor eax, eax
jmp 0x5f29eb
xor eax, eax
jmp 0x5f29eb
mov eax, 1
nop dword [rax]
jmp 0x5f29eb
mov rcx, rsi
call sym.runtime.panicIndex
dec rax
mov rdi, rax
neg rdi
sar rdi, 0x3f
and edi, 1
add rcx, rdi
test rax, rax
je 0x5f2ae0
movzx edi, byte [rcx]
cmp dil, 0x20
je 0x5f2aad
cmp dil, 9
je 0x5f2aad
jmp 0x5f2ae0
dec rax
nop dword [rax]
test rax, rax
je 0x5f2925
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x5f2ad6
cmp dil, 9
je 0x5f2ad6
jmp 0x5f2925
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rcx, rdx
call sym.runtime.panicSliceB
mov r9, r11
cmp r9, rax
jge 0x5f2bc6
movzx r10d, byte [rcx + r9]
cmp r10d, 0x80
jge 0x5f2b32
lea r11, [r9 + 1]
jmp 0x5f2b80
mov qword [rsp + 0x40], r9
mov rbx, rax
mov rax, rcx
mov rcx, r9
call sym.runtime.decoderune
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x40]
mov r10d, eax
mov r11, rbx
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
nop dword [rax]
cmp r10d, 0x80
jge 0x5f2bbf
lea r12d, [r10 - 0x41]
cmp r12b, 0x19
ja 0x5f2b97
add r10d, 0x20
cmp rdi, r9
jbe 0x5f2bd0
movzx r9d, byte [r9 + r8]
lea r12d, [r9 - 0x41]
cmp r12b, 0x19
ja 0x5f2baf
add r9d, 0x20
cmp r10b, r9b
je 0x5f2b12
xor eax, eax
jmp 0x5f2960
xor eax, eax
jmp 0x5f2960
mov eax, 1
jmp 0x5f2960
mov rax, r9
mov rcx, rdi
call sym.runtime.panicIndex
mov rcx, rax
nop
call sym.runtime.panicSliceAlen
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
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]
jmp sym.vendor_golang.org_x_net_http_httpguts.headerValueContainsToken