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

Disassembly:
mov ecx, dword [0x5c71e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x470caa
sub esp, 0x50
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x470a9f
mov dword [esi + edi*4 - 0xc], ecx
mov ecx, esi
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
movzx esi, byte [esp + 0x58]
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
call sym.bufio._Reader_.ReadSlice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x470c6c
mov esi, dword [esp + 0x14]
cmp dword [0x59e690], esi
jne 0x470c70
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [0x59e694]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x470c56
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x470b3d
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x470bbb
mov ecx, dword [esp + 0x28]
test ecx, ecx
ja 0x470b51
lea edx, [0x5c70c0]
xor ebx, ebx
xor ebp, ebp
jmp 0x470b93
lea eax, [0x5c70c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
lea eax, [0x4d3d20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
inc ebx
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jb 0x470bce
mov esi, dword [esp + 0x4c]
jmp 0x470c1c
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4d0040]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, ecx
mov ebp, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
lea edi, [ebx + ebx*2]
mov dword [esi + edi*4 - 8], eax
mov dword [esi + edi*4 - 4], edx
mov edx, dword [0x5c7340]
mov ebx, dword [esp + 0x34]
add eax, ebx
test edx, edx
je 0x470a91
mov edx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [esi + edx*4 - 0xc]
mov dword [edi + 4], ebx
mov edi, edx
jmp 0x470a91
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x48]
jmp 0x470c70
xor eax, eax
xor ebp, ebp
mov esi, dword [esp + 0x34]
add esi, ecx
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
add esp, 0x50
ret
call sym.runtime.morestack_noctxt
jmp sym.bufio._Reader_.collectFragments