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

Disassembly:
mov ecx, dword [0x634328]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4781f1
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 4], al
call sym.bufio._Reader_.collectFragments
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea edi, [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 4], ecx
call sym.strings._Builder_.Grow
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
jmp 0x47804d
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x68], ecx
lea eax, [ecx + esi]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
add eax, 0xc
mov ecx, dword [esp + 0x44]
dec ecx
test ecx, ecx
jle 0x4780df
mov edx, dword [esp + 0x58]
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
nop
nop
test edx, edx
je 0x478071
lea esi, [esp + 0x58]
cmp edx, esi
je 0x478079
jmp 0x4781d8
lea edx, [esp + 0x58]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
lea edi, [ebx + esi]
mov ecx, dword [esp + 0x5c]
cmp edx, edi
jae 0x47800a
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebp
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x4fe040]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
jmp 0x47800a
mov eax, dword [esp + 0x58]
nop
nop
test eax, eax
je 0x4780f6
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x4780fe
jmp 0x4781c0
lea eax, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x5c]
cmp eax, ebx
jae 0x47814b
mov dword [esp + 0x44], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x4fe040]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x68], ebp
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], ecx
mov edx, ecx
neg ecx
cmp eax, ecx
ja 0x4781b2
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
add esp, 0x70
ret
test edx, edx
je 0x4781bb
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x4fdfc0]
mov dword [esp], eax
lea eax, [0x548724]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4fdfc0]
mov dword [esp], eax
lea eax, [0x548724]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.bufio._Reader_.ReadString