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

Disassembly:
mov ecx, dword [0x58ea34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x476fa1
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 0x476dfd
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 0x476e8f
mov edx, dword [esp + 0x58]
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
nop
nop
test edx, edx
je 0x476e21
lea esi, [esp + 0x58]
cmp edx, esi
je 0x476e29
jmp 0x476f88
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 0x476dba
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, [0x4b2e60]
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 0x476dba
mov eax, dword [esp + 0x58]
nop
nop
test eax, eax
je 0x476ea6
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x476eae
jmp 0x476f70
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 0x476efb
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, [0x4b2e60]
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 0x476f62
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 0x476f6b
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x4b2de0]
mov dword [esp], eax
lea eax, [0x4e92c8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4b2de0]
mov dword [esp], eax
lea eax, [0x4e92c8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.bufio._Reader_.ReadString