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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x501720
sub esp, 0x60
mov eax, dword [esp + 0x64]
test eax, eax
je 0x501268
mov ecx, dword [eax + 4]
lea edx, [0x61fea8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.io.WriteString
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5012aa
mov ecx, dword [eax + 4]
lea edx, [0x61feb8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.io.WriteString
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x78]
jmp 0x501339
mov dword [ebp], eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call edx
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x18]
mov eax, dword [esp + 0x58]
lea edx, [eax - 1]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x78]
test edx, edx
jle 0x501642
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x3c]
mov esi, ecx
call fcn.0046aac4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x23], 0
mov esi, edx
mov edx, dword [esp + 0x78]
cmp edx, 4
jb 0x50137a
mov edi, ebx
mov ebx, 4
mov dword [esp + 0x54], ebx
mov ebx, edi
jmp 0x5013c6
mov dword [esp + 0x30], ecx
mov dword [esp], ebx
mov dword [esp + 4], 4
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
lea eax, [0x51bf60]
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 ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov ebx, eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x23]
mov dword [ebx], eax
nop
mov esi, dword [esp + 0x54]
cmp esi, 3
jbe 0x501713
mov dword [ebx], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x23], 0
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jb 0x501416
mov edx, ecx
mov ebx, 4
mov ebp, dword [esp + 0x70]
jmp 0x50145e
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
lea edx, [0x51bf60]
mov dword [esp + 0x10], edx
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov ecx, edx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x23]
mov dword [ebp], esi
nop
cmp ebx, 3
jbe 0x501707
mov dword [ebp], eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x23], 0
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jb 0x5014b0
mov edx, ecx
mov ebx, 4
mov ebp, dword [esp + 0x70]
jmp 0x5014f8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
lea edx, [0x51bf60]
mov dword [esp + 0x10], edx
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov ecx, edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x23]
mov dword [ebp], esi
nop
cmp ebx, 3
jbe 0x5016fb
mov dword [ebp], eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x23], 0
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jb 0x50154a
mov edx, ecx
mov ebx, 4
mov ebp, dword [esp + 0x70]
jmp 0x501592
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
lea edx, [0x51bf60]
mov dword [esp + 0x10], edx
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov ecx, edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x23]
mov dword [ebp], esi
nop
cmp ebx, 3
jbe 0x5016ef
mov dword [ebp], eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x23], 0
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jb 0x5015e4
mov edx, ecx
mov ebx, 4
mov ebp, dword [esp + 0x70]
jmp 0x50162c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
lea edx, [0x51bf60]
mov dword [esp + 0x10], edx
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov ecx, edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x23]
mov dword [ebp], esi
nop
cmp ebx, 3
ja 0x5012e8
jmp 0x5016e3
movzx edx, byte [eax + 0x1c]
mov dword [esp + 0x23], 0
cmp edi, 4
jb 0x50165a
mov ecx, 4
jmp 0x5016a1
mov byte [esp + 0x27], dl
mov dword [esp], ebx
mov dword [esp + 4], 4
mov dword [esp + 8], edi
mov dword [esp + 0xc], 4
lea eax, [0x51bf60]
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 ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, eax
mov edi, edx
movzx edx, byte [esp + 0x27]
mov eax, dword [esp + 0x23]
mov dword [ebx], eax
nop
cmp ecx, 3
jbe 0x5016d9
mov byte [ebx], dl
movzx eax, dl
mov edx, eax
shr eax, 8
mov byte [ebx + 1], al
shr edx, 0x10
mov word [ebx + 2], dx
mov eax, dword [esi + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
add esp, 0x60
ret
mov eax, 3
call sym.runtime.panicIndex
mov eax, 3
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, 3
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, 3
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, 3
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, 3
mov ecx, esi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_coverage_encodemeta.hashFuncDesc