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

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47629c
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov dword [esp], eax
movzx eax, byte [esp + 0x7c]
mov byte [esp + 4], al
call sym.bufio._Reader_.collectFragments
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x30], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ebp, [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.strings._Builder_.Grow
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
xor edx, edx
jmp 0x4760f5
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], edx
lea eax, [edx + edi]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
add eax, 0xc
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x476187
mov ebx, dword [esp + 0x64]
mov ebp, dword [eax + 4]
mov esi, dword [eax]
nop
test ebx, ebx
je 0x476118
lea edi, [esp + 0x64]
cmp ebx, edi
je 0x476120
jmp 0x476283
lea ebx, [esp + 0x64]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
lea ecx, [ebp + edi]
mov edx, dword [esp + 0x68]
cmp ebx, ecx
jae 0x4760ac
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x4f1160]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
jmp 0x4760ac
mov eax, dword [esp + 0x64]
nop
nop
test eax, eax
je 0x47619e
lea ecx, [esp + 0x64]
cmp eax, ecx
je 0x4761a6
jmp 0x47626b
lea eax, [esp + 0x64]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x68]
cmp eax, ebx
jae 0x4761f3
mov dword [esp + 0x40], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x4f1160]
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 + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], ebp
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov edx, ecx
neg ecx
cmp eax, ecx
ja 0x47625d
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
test edx, edx
je 0x476266
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x4f0e20]
mov dword [esp], eax
lea eax, [0x535f58]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4f0e20]
mov dword [esp], eax
lea eax, [0x535f58]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.bufio._Reader_.ReadString