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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x502c77
sub esp, 0x64
mov edx, dword [esp + 0x70]
test edx, edx
jbe 0x502c6d
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.go_doc_comment.listMarker
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [0x602fe0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov dword [eax], 0
movzx ecx, byte [esp + 0x78]
mov byte [eax + 0xc], cl
mov dword [esp + 0x4c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [sym.go_doc_comment._parseDoc_.list.func1]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], ecx
xor ecx, ecx
jmp 0x502a35
mov ebx, dword [esp + 0x30]
lea ecx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x70]
cmp ebx, ecx
jle 0x502c57
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x6c]
lea edx, [eax + ecx*8]
mov ebx, dword [edx]
mov dword [esp + 0x48], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x28], edx
mov dword [esp], ebx
mov dword [esp + 4], edx
call sym.go_doc_comment.listMarker
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test al, al
je 0x502b8a
mov eax, dword [esp + 0xc]
test eax, eax
setne bl
mov ebp, dword [esp + 0x20]
test ebp, ebp
xchg esi, ebx
setne bl
xchg esi, ebx
xchg esi, eax
cmp al, bl
xchg esi, eax
je 0x502aa3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
jmp 0x502b92
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x54]
call eax
lea eax, [0x5fafa0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x502aea
mov ecx, dword [esp + 0x40]
jmp 0x502af5
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x502b5d
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5e4bc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [0x7b12d0]
test eax, eax
je 0x502b57
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov ecx, dword [0x7b12d0]
mov ebp, dword [esp + 0x4c]
test ecx, ecx
je 0x502b7c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ecx, dword [ebx + edx*4 - 4]
mov dword [edi + 4], ecx
mov dword [ebx + edx*4 - 4], ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
jmp 0x502b92
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.strings.TrimSpace
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x502bbd
mov eax, dword [esp + 0x44]
mov byte [eax + 0xd], 1
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x54]
call ecx
jmp 0x502a2a
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.strings.TrimSpace
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
inc ecx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x502c2c
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5ed6a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
mov eax, dword [0x7b12d0]
lea ecx, [edx + ecx*8 - 8]
test eax, eax
je 0x502c50
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebx
jmp 0x502a2a
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x54]
call eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
add esp, 0x64
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment._parseDoc_.list