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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x6058cb
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 0x6050c9
cmp eax, 0x3e8
jle 0x6050a1
mov eax, 0x3e8
mov dword [esp + 0x50], eax
lea ecx, [0x686720]
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 0x6050cd
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x78], edx
lea ebx, [0x6ac7a0]
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 0x605135
add edx, 0xfffffe70
jmp 0x60520d
mov ebx, dword [esp + 0xc]
test ebx, ebx
jbe 0x6058c1
mov eax, dword [esp + 8]
movzx eax, byte [eax]
cmp al, 0x20
je 0x605156
cmp al, 9
jne 0x605207
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.net_textproto._Reader_.readLineSlice
mov eax, dword [esp + 0x10]
test eax, eax
je 0x605198
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, [0x6cf8cd]
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, [0x7398cc]
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 0x605239
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, [0x6eb488]
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 0x605705
mov dword [esp + 0x48], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x54], ecx
mov ecx, dword [0x8b3580]
mov edx, dword [0x8b3584]
mov ebx, dword [0x8b3588]
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 0x605696
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 0x605627
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
xor ecx, ecx
jmp 0x605733
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x605354
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 0x60522f
mov ebx, dword [esp + 0x68]
add ebx, 0xffffffff
mov ebp, dword [esp + 0x60]
adc ebp, 0xffffffff
test ebp, ebp
jl 0x60587a
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, [0x6c12d2]
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, [0x6ac7a0]
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 0x605417
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
jmp 0x605435
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 0x605830
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esi
test ecx, ecx
je 0x60545f
mov edx, dword [esp + 0x44]
jmp 0x605516
mov edx, dword [esp + 0x44]
test edx, edx
je 0x605516
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 [0x8e2900]
add ecx, eax
mov dword [esp + 0x88], ecx
test edi, edi
je 0x6054a4
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, [0x6ac7a0]
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 [0x8e2900]
test ecx, ecx
jne 0x6054f4
mov ecx, dword [esp + 0x78]
jmp 0x605504
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 0x605606
mov ebp, dword [eax + 8]
mov eax, dword [eax + 4]
inc eax
cmp ebp, eax
jae 0x60555f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x686720]
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 [0x8e2900]
lea edi, [ecx + eax*8 - 8]
test esi, esi
je 0x605596
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, [0x6ac7a0]
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 [0x8e2900]
test ecx, ecx
jne 0x6055e9
mov ecx, dword [esp + 0x88]
jmp 0x6055fc
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 0x6057ff
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
jmp 0x60522f
mov dword [esp], 0
lea eax, [0x6cbc2d]
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, [0x7398cc]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
mov dword [esp], 0
lea eax, [0x6cbc2d]
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, [0x7398cc]
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 0x60532f
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 0x605728
mov dword [esp], 0
lea eax, [0x6cbc2d]
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, [0x7398cc]
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, [0x6916c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6c5b4d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xac], ecx
lea ecx, [0x739240]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
lea eax, [0x6916c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6c5b4d]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
lea ecx, [0x739240]
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