Function at 0x66cf70
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66d4e0
sub esp, 0x4c
lea eax, [0x6e62e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x6f6f3c]
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 0x66cfca
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
jmp 0x66d1f4
test ecx, ecx
jne 0x66cfd4
xor edx, edx
xor eax, eax
jmp 0x66d002
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 0x66d1c3
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 0x66d045
mov ebp, dword [esp + 0x5c]
cmp ebp, 4
jne 0x66d045
mov ebp, dword [esp + 0x58]
cmp dword [ebp], 0x44414548
jne 0x66d045
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 0x66d19f
cmp esi, 0xcc
je 0x66d079
cmp esi, 0x130
jne 0x66d09d
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 0x66d14d
test ecx, ecx
jne 0x66d12d
nop
nop
lea eax, [0x6f6f3c]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6dd680]
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 0x66d109
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, [0x6f6f3c]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6dd680]
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 0x66d21a
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x66d1e3
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x66d1e3
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x66d1e3
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x66d1e3
jmp 0x66d21a
dec ebp
test ebp, ebp
je 0x66d23f
movzx esi, byte [ebx + ebp - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x66d219
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x66d219
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x66d219
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x66d219
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 0x66d27d
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 0x66d2c6
lea esi, [edx + edi*8 + 8]
mov eax, dword [esi]
mov esi, dword [esi + 4]
jmp 0x66d405
mov ecx, dword [esp + 0x24]
jmp 0x66d42a
mov ecx, dword [esp + 0x24]
cmp esi, ebp
jne 0x66d458
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 0x66d25e
jmp 0x66d450
nop
nop
lea eax, [0x6f6f3c]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6dd680]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call sym.runtime.mapdelete_faststr
nop
nop
lea eax, [0x6f6f3c]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.net_textproto.CanonicalMIMEHeaderKey
lea eax, [0x6dd680]
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 0x66d388
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, [0x6b20a0]
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 [0x927358]
test eax, eax
je 0x66d382
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 [0x927358]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
jne 0x66d3a9
mov eax, dword [esp + 0x38]
jmp 0x66d3b9
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, [0x6e62e0]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
lea ecx, [0x6f6f3c]
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 0x66cfca
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 0x66d42a
movzx ecx, byte [eax]
cmp cl, 0x20
je 0x66d3f4
cmp cl, 9
je 0x66d3f4
cmp cl, 0xa
je 0x66d3f4
cmp cl, 0xd
je 0x66d3f4
jmp 0x66d28f
dec esi
mov ecx, dword [esp + 0x24]
test esi, esi
je 0x66d29c
movzx ecx, byte [esi + eax - 1]
cmp cl, 0x20
je 0x66d425
cmp cl, 9
je 0x66d425
cmp cl, 0xa
je 0x66d425
cmp cl, 0xd
je 0x66d425
jmp 0x66d298
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, [0x6a8d80]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x70a6db]
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