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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5f535f
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call sym.net_textproto._Reader_.upcomingHeaderKeys
mov eax, dword [esp + 4]
test eax, eax
jle 0x5f4ba9
cmp eax, 0x3e8
jle 0x5f4b81
mov eax, 0x3e8
mov dword [esp + 0x4c], eax
lea ecx, [0x672480]
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 + 0x4c]
mov edx, eax
mov eax, ecx
jmp 0x5f4bad
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], ecx
lea ebx, [0x697c40]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call sym.runtime.makemap
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x88], edx
mov dword [esp], ecx
mov dword [esp + 4], 1
call sym.bufio._Reader_.Peek
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
mov edx, ecx
add ecx, 0xfffffe70
test eax, eax
je 0x5f4c15
add edx, 0xfffffe70
jmp 0x5f4ce9
mov ebx, dword [esp + 0xc]
test ebx, ebx
jbe 0x5f5355
mov eax, dword [esp + 8]
movzx eax, byte [eax]
cmp al, 0x20
je 0x5f4c36
cmp al, 9
jne 0x5f4ce3
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 0x50
mov dword [esp + 8], 0
call sym.net_textproto._Reader_.readLineSlice
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5f4c84
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x8c
ret
mov dword [esp], 0
lea eax, [0x6b9198]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
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 + 0x88]
mov dword [esp + 0xa4], ecx
lea ecx, [0x713dd4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x8c
ret
add edx, 0xfffffe70
mov eax, dword [esp + 0x98]
adc eax, 0xffffffff
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x40]
jmp 0x5f4d19
mov edi, eax
mov eax, edx
mov edx, ebp
mov ebp, ecx
mov ecx, ebx
mov ebx, esi
mov esi, edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov edi, dword [esp + 0x90]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea edi, [0x6c6fd0]
mov dword [esp + 0xc], edi
call sym.net_textproto._Reader_.readContinuedLineSlice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x5f51d6
mov dword [esp + 0x80], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x18]
mov ebx, dword [0x883160]
mov ebp, dword [0x883164]
mov esi, dword [0x883168]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call sym.bytes.Cut
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
test al, al
je 0x5f5167
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
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 0x5f50f8
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
xor ecx, ecx
jmp 0x5f5204
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5f4e31
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
jmp 0x5f4d0b
mov ebx, dword [esp + 0x64]
add ebx, 0xffffffff
mov ebp, dword [esp + 0x68]
adc ebp, 0xffffffff
test ebp, ebp
jl 0x5f5329
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [0x6acc32]
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 + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x697c40]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], esi
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x5f4eee
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
jmp 0x5f4f0c
mov edx, dword [esp + 0x48]
mov ebx, edx
sar edx, 0x1f
mov ebp, dword [esp + 0x5c]
sub ebp, ebx
mov esi, dword [esp + 0x60]
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 0x5f52fa
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
test ecx, ecx
je 0x5f4f36
mov edx, dword [esp + 0x40]
jmp 0x5f4fea
mov edx, dword [esp + 0x40]
test edx, edx
je 0x5f4fea
mov eax, dword [esp + 0x74]
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 [0x8c87a0]
add ecx, eax
mov dword [esp + 0x84], ecx
test edi, edi
je 0x5f4f7b
call sym.runtime.gcWriteBarrier2
mov ebp, dword [esp + 0x6c]
mov dword [edi], ebp
mov esi, dword [eax]
mov dword [edi + 4], esi
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
lea ecx, [0x697c40]
mov dword [esp], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x7c]
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 [0x8c87a0]
test ecx, ecx
jne 0x5f4fc8
mov ecx, dword [esp + 0x74]
jmp 0x5f4fd8
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x74]
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 + 0x84]
jmp 0x5f50d7
mov ebp, dword [eax + 8]
mov eax, dword [eax + 4]
inc eax
cmp ebp, eax
jae 0x5f5033
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x672480]
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 + 0x40]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebp
lea esi, [ecx + eax*8 - 4]
mov dword [esi], edi
mov esi, dword [0x8c87a0]
lea edi, [ecx + eax*8 - 8]
test esi, esi
je 0x5f506a
mov esi, edi
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov edi, esi
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
lea eax, [0x697c40]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [0x8c87a0]
test ecx, ecx
jne 0x5f50ba
mov ecx, dword [esp + 0x84]
jmp 0x5f50cd
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x84]
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 + 0x74]
mov edx, dword [esp + 0x50]
test edx, edx
jne 0x5f52d0
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
jmp 0x5f4d0b
mov dword [esp], 0
lea eax, [0x6b59c6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
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 + 0x88]
mov dword [esp + 0xa4], ecx
lea ecx, [0x713dd4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x8c
ret
mov dword [esp], 0
lea eax, [0x6b59c6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
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 + 0x88]
mov dword [esp + 0xa4], ecx
lea ecx, [0x713dd4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x8c
ret
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x8c
ret
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jge 0x5f4e0c
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
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
and ebx, eax
cmp cl, 0x20
sbb eax, eax
and edx, eax
or edx, ebx
test edx, 0x80000000
sete al
test esi, 0xfffffdff
sete dl
and eax, edx
test al, al
jne 0x5f51f9
mov dword [esp], 0
lea eax, [0x6b59c6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
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 + 0x88]
mov dword [esp + 0xa4], ecx
lea ecx, [0x713dd4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x8c
ret
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0xac], eax
add esp, 0x8c
ret
mov eax, dword [0x8821e0]
mov ecx, dword [0x8821e4]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x8c
ret
mov eax, dword [0x8821e0]
mov ecx, dword [0x8821e4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x8c
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.net_textproto.readMIMEHeader