Function at 0x50a1e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x50aa4b
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.net_textproto._Reader_.upcomingHeaderKeys
mov eax, dword [esp + 4]
test eax, eax
jle 0x50a249
cmp eax, 0x3e8
jle 0x50a221
mov eax, 0x3e8
mov dword [esp + 0x50], eax
lea ecx, [0x681d20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, ecx
jmp 0x50a24d
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x78], edx
lea ebx, [0x6a86e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call sym.runtime.makemap
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x90], edx
mov dword [esp], ecx
mov dword [esp + 4], 1
call sym.bufio._Reader_.Peek
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
mov edx, ecx
add ecx, 0xfffffe70
test eax, eax
je 0x50a2b5
add edx, 0xfffffe70
jmp 0x50a38d
mov ebx, dword [esp + 0xc]
test ebx, ebx
jbe 0x50aa41
mov eax, dword [esp + 8]
movzx eax, byte [eax]
cmp al, 0x20
je 0x50a2d6
cmp al, 9
jne 0x50a387
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.net_textproto._Reader_.readLineSlice
mov eax, dword [esp + 0x10]
test eax, eax
je 0x50a318
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x94
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x6cc083]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xac], ecx
lea ecx, [0x727118]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
add edx, 0xfffffe70
mov eax, dword [esp + 0xa0]
adc eax, 0xffffffff
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
jmp 0x50a3b9
mov edi, eax
mov eax, ebp
mov ebp, ecx
mov ecx, esi
mov esi, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
mov edi, dword [esp + 0x98]
mov dword [esp], edi
lea edi, [0x6d9db4]
mov dword [esp + 4], edi
call sym.net_textproto._Reader_.readContinuedLineSlice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x50a885
mov dword [esp + 0x48], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x54], ecx
mov ecx, dword [0x8a27b8]
mov edx, dword [0x8a27bc]
mov ebx, dword [0x8a27c0]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov dword [esp + 0x7c], esi
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call sym.bytes.Cut
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
test al, al
je 0x50a816
mov dword [esp + 0x74], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
movzx eax, byte [esp + 0x14]
test al, al
je 0x50a7a7
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
xor ecx, ecx
jmp 0x50a8b3
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x50a4d4
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
jmp 0x50a3af
mov ebx, dword [esp + 0x68]
add ebx, 0xffffffff
mov ebp, dword [esp + 0x60]
adc ebp, 0xffffffff
test ebp, ebp
jl 0x50a9fa
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [0x6be495]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call sym.bytes.TrimLeft
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
lea edx, [0x6a86e0]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x50a597
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
jmp 0x50a5b5
mov edx, dword [esp + 0x4c]
mov ebx, edx
sar edx, 0x1f
mov ebp, dword [esp + 0x64]
sub ebp, ebx
mov esi, dword [esp + 0x6c]
sbb esi, edx
add ebp, 0xffffff38
adc esi, 0xffffffff
mov edx, dword [esp + 0x34]
mov edi, edx
sar edx, 0x1f
sub ebp, edi
sbb esi, edx
test esi, esi
jl 0x50a9b0
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esi
test ecx, ecx
je 0x50a5df
mov edx, dword [esp + 0x44]
jmp 0x50a696
mov edx, dword [esp + 0x44]
test edx, edx
je 0x50a696
mov eax, dword [esp + 0x78]
mov dword [eax + 4], edi
lea ecx, [edx - 1]
mov dword [esp + 0x40], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
mov edi, dword [0x8d0720]
add ecx, eax
mov dword [esp + 0x88], ecx
test edi, edi
je 0x50a624
call sym.runtime.gcWriteBarrier2
mov ebp, dword [esp + 0x70]
mov dword [edi], ebp
mov esi, dword [eax]
mov dword [edi + 4], esi
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
lea ecx, [0x6a86e0]
mov dword [esp], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x50a674
mov ecx, dword [esp + 0x78]
jmp 0x50a684
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x88]
jmp 0x50a786
mov ebp, dword [eax + 8]
mov eax, dword [eax + 4]
inc eax
cmp ebp, eax
jae 0x50a6df
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x681d20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebp
lea esi, [ecx + eax*8 - 4]
mov dword [esi], edi
mov esi, dword [0x8d0720]
lea edi, [ecx + eax*8 - 8]
test esi, esi
je 0x50a716
mov esi, edi
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x70]
mov dword [edi], edx
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov edi, esi
mov eax, dword [esp + 0x70]
mov dword [edi], eax
lea eax, [0x6a86e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x50a769
mov ecx, dword [esp + 0x88]
jmp 0x50a77c
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x50a97f
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
jmp 0x50a3af
mov dword [esp], 0
lea eax, [0x6c8632]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xac], ecx
lea ecx, [0x727118]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
mov dword [esp], 0
lea eax, [0x6c8632]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xac], ecx
lea ecx, [0x727118]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
mov eax, dword [esp + 0x90]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x94
ret
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jge 0x50a4af
movzx ebx, byte [eax + ecx]
mov ebp, ecx
mov ecx, ebx
mov esi, 1
shl esi, cl
lea edi, [ecx - 0x60]
mov ecx, edi
mov eax, 1
shl eax, cl
neg ecx
mov edx, 1
shr edx, cl
cmp bl, 0x20
sbb ebx, ebx
and esi, ebx
cmp cl, 0x20
sbb ebx, ebx
and edx, ebx
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
and eax, ebx
or edx, eax
test edx, 0x80000000
sete al
test esi, 0xfffffdff
sete dl
and eax, edx
test al, al
jne 0x50a8a8
mov dword [esp], 0
lea eax, [0x6c8632]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xac], ecx
lea ecx, [0x727118]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
mov eax, dword [esp + 0x90]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6c262a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xac], ecx
lea ecx, [0x726b8c]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6c262a]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
lea ecx, [0x726b8c]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.net_textproto.readMIMEHeader