Function at 0x140165880
Capabilities:
Check for software breakpoints

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x140165dda
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov byte [rsp + 0xb0], al
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xd8], r8b
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x88], rsi
lea rax, [0x140238ba0]
mov rbx, rsi
lea rcx, [0x14024b532]
mov edi, 0xe
nop
call dbg.runtime.mapaccess1_faststr
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
cmp rbx, 1
jle 0x140165905
mov rsi, qword [rdx]
mov rdi, qword [rdx + 8]
nop dword [rax]
jmp 0x140165af1
movzx esi, byte [rsp + 0xb0]
test sil, sil
je 0x140165945
mov rdi, qword [rsp + 0xc8]
nop word [rax + rax]
cmp rdi, 4
jne 0x140165945
mov rdi, qword [rsp + 0xc0]
cmp dword [rdi], 0x44414548
jne 0x140165945
xor eax, eax
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
mov rdi, qword [rsp + 0xb8]
mov r8, rdi
sar rdi, 0x3f
movabs rax, 0xa3d70a3d70a3d70b
mov rcx, rdx
imul r8
add rdx, r8
sar rdx, 6
sub rdx, rdi
cmp rdx, 1
je 0x1401659d0
cmp r8, 0xcc
je 0x1401659c1
nop dword [rax]
cmp r8, 0x130
je 0x1401659c1
movzx edx, byte [rsp + 0xd8]
test dl, dl
jne 0x1401659ad
cmp rbx, 1
jne 0x1401659a7
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
jmp 0x140165a81
xor eax, eax
xor ecx, ecx
jmp 0x1401659e0
mov rax, 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
test rax, rax
je 0x140165a12
mov rbx, rax
mov rax, rcx
call dbg.net/http.parseContentLength
test rbx, rbx
je 0x140165a05
mov rax, 0xffffffffffffffff
add rsp, 0xa0
pop rbp
ret
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
nop
nop
lea rax, [0x14024b532]
mov ebx, 0xe
call dbg.net/textproto.CanonicalMIMEHeaderKey
mov rcx, rax
mov rdi, rbx
lea rax, [0x14022d780]
mov rbx, qword [rsp + 0x88]
call dbg.runtime.mapdelete_faststr
movzx ecx, byte [rsp + 0xb0]
test cl, cl
je 0x140165a5f
mov rax, 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa0
pop rbp
ret
dec rcx
mov rdi, rcx
neg rdi
sar rdi, 0x3f
and edi, 1
add rdx, rdi
test rcx, rcx
je 0x140165aab
movzx edi, byte [rdx]
cmp dil, 0x20
je 0x140165a6e
cmp dil, 9
je 0x140165a6e
cmp dil, 0xa
je 0x140165a6e
nop dword [rax + rax]
cmp dil, 0xd
je 0x140165a6e
jmp 0x140165aab
dec rcx
test rcx, rcx
je 0x140165ad2
movzx edi, byte [rcx + rdx - 1]
cmp dil, 0x20
je 0x140165aa8
nop dword [rax + rax]
cmp dil, 9
je 0x140165aa8
cmp dil, 0xa
je 0x140165aa8
cmp dil, 0xd
je 0x140165aa8
mov rax, rcx
mov rcx, rdx
jmp 0x1401659e0
dec rdi
mov r8, rdi
neg r8
sar r8, 0x3f
and r8d, 1
add rsi, r8
test rdi, rdi
je 0x140165b20
movzx r8d, byte [rsi]
nop word [rax + rax]
cmp r8b, 0x20
je 0x140165add
cmp r8b, 9
je 0x140165add
cmp r8b, 0xa
je 0x140165add
cmp r8b, 0xd
je 0x140165add
jmp 0x140165b20
dec rdi
nop dword [rax]
test rdi, rdi
je 0x140165b46
movzx r8d, byte [rsi + rdi - 1]
cmp r8b, 0x20
je 0x140165b1a
cmp r8b, 9
je 0x140165b1a
cmp r8b, 0xa
je 0x140165b1a
nop dword [rax]
cmp r8b, 0xd
je 0x140165b1a
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rcx
lea r8, [rdx + 0x10]
lea r9, [rbx - 1]
mov qword [rsp + 0x60], r9
xor eax, eax
jmp 0x140165ba0
mov r8, qword [rsp + 0x78]
add r8, 0x10
mov rax, qword [rsp + 0x58]
inc rax
mov r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x40]
nop
cmp rax, r9
jge 0x140165bdb
mov r10, qword [r8]
mov r11, qword [r8 + 8]
jmp 0x140165d19
cmp r11, rdi
jne 0x140165d80
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], r8
mov rax, rsi
mov rbx, r10
mov rcx, rdi
call dbg.runtime.memequal
test al, al
jne 0x140165b70
jmp 0x140165d71
nop
nop
lea rax, [0x14024b532]
mov ebx, 0xe
call dbg.net/textproto.CanonicalMIMEHeaderKey
mov rcx, rax
mov rdi, rbx
lea rax, [0x14022d780]
mov rbx, qword [rsp + 0x88]
call dbg.runtime.mapdelete_faststr
nop
nop
lea rax, [0x14024b532]
mov ebx, 0xe
call dbg.net/textproto.CanonicalMIMEHeaderKey
mov rcx, rax
mov rdi, rbx
lea rax, [0x14022d780]
mov rbx, qword [rsp + 0x88]
call dbg.runtime.mapassign_faststr
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
mov rdx, qword [rax]
cmp rcx, rbx
jae 0x140165c95
mov qword [rsp + 0x80], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x1402035a0]
nop
call dbg.runtime.growslice
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x10], rcx
cmp dword [0x1404139d0], 0
je 0x140165c89
call dbg.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rcx, rax
mov rax, rdx
mov rdx, rcx
mov qword [rax + 8], rbx
lea rsi, [rbx - 1]
shl rsi, 4
mov r8, qword [rsp + 0x40]
mov qword [rdx + rsi + 8], r8
cmp dword [0x1404139d0], 0
jne 0x140165cc0
mov r8, qword [rsp + 0x68]
jmp 0x140165cd5
call dbg.runtime.gcWriteBarrier2
mov r8, qword [rsp + 0x68]
mov qword [r11], r8
mov r9, qword [rdx + rsi]
mov qword [r11 + 8], r9
mov qword [rdx + rsi], r8
lea rax, [0x140238ba0]
mov rbx, qword [rsp + 0x88]
lea rcx, [0x14024b532]
mov edi, 0xe
call dbg.runtime.mapaccess1_faststr
mov rdx, qword [rax]
mov rbx, qword [rax + 8]
jmp 0x140165905
dec r11
mov r12, r11
neg r12
sar r12, 0x3f
and r12d, 1
add r10, r12
test r11, r11
je 0x140165d40
movzx r12d, byte [r10]
cmp r12b, 0x20
je 0x140165d05
cmp r12b, 9
je 0x140165d05
cmp r12b, 0xa
je 0x140165d05
cmp r12b, 0xd
je 0x140165d05
jmp 0x140165d40
dec r11
nop
test r11, r11
je 0x140165bb1
movzx r12d, byte [r10 + r11 - 1]
cmp r12b, 0x20
je 0x140165d3c
cmp r12b, 9
je 0x140165d3c
nop dword [rax + rax]
cmp r12b, 0xa
je 0x140165d3c
cmp r12b, 0xd
je 0x140165d3c
jmp 0x140165bb1
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x48]
movups xmmword [rsp + 0x90], xmm15
mov rax, rdx
call dbg.runtime.convTslice
lea rdx, [0x140201740]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rax
lea rax, [0x14025837a]
mov ebx, 0x44
lea rcx, [rsp + 0x90]
mov edi, 1
mov rsi, rdi
call dbg.fmt.Errorf
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0xa0
pop rbp
ret
mov byte [rsp + 8], al
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x30], r8b
call dbg.runtime.morestack_noctxt
movzx eax, byte [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx r8d, byte [rsp + 0x30]
nop dword [rax + rax]
jmp dbg.net/http.fixLength