Function at 0x658350
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6588c0
sub esp, 0x4c
lea eax, [0x6c7980]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x6d7ed2]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xe
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
cmp ecx, 1
jle 0x6583aa
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
jmp 0x6585d4
test ecx, ecx
jne 0x6583b4
xor edx, edx
xor eax, eax
jmp 0x6583e2
mov dword [esp + 0x24], ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.net_http.parseContentLength
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6585a3
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, ecx
mov ecx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x50]
test bl, bl
je 0x658425
mov ebp, dword [esp + 0x5c]
cmp ebp, 4
jne 0x658425
mov ebp, dword [esp + 0x58]
cmp dword [ebp], 0x44414548
jne 0x658425
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
mov dword [esp + 0x34], edx
mov ebp, dword [esp + 0x54]
mov esi, ebp
sar ebp, 0x1f
mov edi, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
sub edx, ebp
cmp edx, 1
je 0x65857f
cmp esi, 0xcc
je 0x658459
cmp esi, 0x130
jne 0x65847d
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
movzx eax, byte [esp + 0x64]
test al, al
jne 0x65852d
test ecx, ecx
jne 0x65850d
nop
nop
lea eax, [0x6d7ed2]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6beea0]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call sym.runtime.mapdelete_faststr
movzx eax, byte [esp + 0x50]
test al, al
je 0x6584e9
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
nop
nop
lea eax, [0x6d7ed2]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6beea0]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call sym.runtime.mapdelete_faststr
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x4c
ret
dec ebp
mov esi, ebp
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebx, esi
test ebp, ebp
je 0x6585fa
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x6585c3
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x6585c3
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x6585c3
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x6585c3
jmp 0x6585fa
dec ebp
test ebp, ebp
je 0x65861f
movzx esi, byte [ebx + ebp - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x6585f9
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x6585f9
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x6585f9
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x6585f9
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
lea esi, [ecx - 1]
mov dword [esp + 0x30], esi
xor edi, edi
jmp 0x65865d
mov eax, dword [esp + 0x2c]
lea edi, [eax + 1]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
cmp edi, esi
jge 0x6586a6
lea esi, [edx + edi*8 + 8]
mov eax, dword [esi]
mov esi, dword [esi + 4]
jmp 0x6587e5
mov ecx, dword [esp + 0x24]
jmp 0x65880a
mov ecx, dword [esp + 0x24]
cmp esi, ebp
jne 0x658838
mov dword [esp + 0x2c], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65863e
jmp 0x658830
nop
nop
lea eax, [0x6d7ed2]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6beea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call sym.runtime.mapdelete_faststr
nop
nop
lea eax, [0x6d7ed2]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6beea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x658768
mov dword [esp + 0x40], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x695420]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x658762
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
lea eax, [ebx + edx*8 - 4]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, dword [0x8ef900]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
jne 0x658789
mov eax, dword [esp + 0x38]
jmp 0x658799
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
lea eax, [0x6c7980]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
lea ecx, [0x6d7ed2]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x6583aa
dec esi
mov ecx, esi
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov ecx, dword [esp + 0x24]
test esi, esi
je 0x65880a
movzx ecx, byte [eax]
cmp cl, 0x20
je 0x6587d4
cmp cl, 9
je 0x6587d4
cmp cl, 0xa
je 0x6587d4
cmp cl, 0xd
je 0x6587d4
jmp 0x65866f
dec esi
mov ecx, dword [esp + 0x24]
test esi, esi
je 0x65867c
movzx ecx, byte [esi + eax - 1]
cmp cl, 0x20
je 0x658805
cmp cl, 9
je 0x658805
cmp cl, 0xa
je 0x658805
cmp cl, 0xd
je 0x658805
jmp 0x658678
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x68c2c0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x6e9c02]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x4c
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http.fixLength