Function at 0x501b80
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 0x501ecb
sub esp, 0x64
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
jmp 0x501bb7
dec eax
mov esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 8
add ebx, esi
dec ebp
test ebp, ebp
je 0x501bd2
mov esi, dword [ebx + 4]
test esi, esi
je 0x501ba5
cmp esi, 1
jne 0x501bd2
mov esi, dword [ebx]
cmp byte [esi], 0xa
je 0x501ba5
jmp 0x501bd2
mov ebp, ecx
test ebp, ebp
je 0x501c05
lea esi, [ebx + ebp*8 - 8]
mov edi, dword [esi + 4]
lea ecx, [ebp - 1]
test edi, edi
je 0x501bd0
cmp edi, 1
jne 0x501bf4
mov esi, dword [esi]
cmp byte [esi], 0xa
je 0x501bd0
test ebp, ebp
jmp 0x501bf6
test ebp, ebp
je 0x501c05
mov dword [esp + 0x18], ebp
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
xor edi, edi
jmp 0x501c26
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
inc edi
mov ebp, dword [esp + 0x18]
cmp edi, edx
jge 0x501c42
movzx ebp, byte [edi + esi]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x501c21
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x501c21
cmp edi, edx
mov ebp, dword [esp + 0x18]
ja 0x501ec3
mov dword [esp + 0x60], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
dec eax
neg eax
sar eax, 0x1f
and eax, 8
add eax, ebx
mov dword [esp + 0x5c], eax
xor edx, edx
jmp 0x501c70
inc edx
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x4c]
cmp edx, ecx
jge 0x501ce2
lea ebx, [eax + edx*8]
mov esi, dword [ebx + 4]
test esi, esi
je 0x501c67
mov ebx, dword [ebx]
cmp esi, 1
jne 0x501c8a
cmp byte [ebx], 0xa
je 0x501c67
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
jmp 0x501e60
cmp ebp, esi
mov eax, dword [esp + 0x5c]
ja 0x501eba
mov dword [esp + 0x44], edx
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x501e8d
cmp eax, edi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
jmp 0x501cce
cmp eax, edi
ja 0x501eb1
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
jmp 0x501c67
mov dword [esp + 0x14], edi
lea eax, [0x5ed6a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
xor ebp, ebp
jmp 0x501d29
mov dword [esi], ecx
lea ebp, [edx + 1]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x60]
mov eax, ebx
mov ebx, esi
cmp ebp, ecx
jge 0x501e19
mov dword [esp + 0x28], ebp
lea esi, [ebx + ebp*8]
mov edi, dword [esi + 4]
mov esi, dword [esi]
nop
cmp edx, edi
jle 0x501d52
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x3c]
jmp 0x501d93
mov dword [esp + 0x1c], edi
mov dword [esp + 0x50], esi
mov dword [esp], esi
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x58]
movzx ebx, byte [esp + 0x13]
test bl, bl
je 0x501db1
cmp edx, edi
ja 0x501e48
sub edi, edx
mov ebx, edi
neg ebx
sar ebx, 0x1f
and ebx, edx
add esi, ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], edi
mov dword [esp], esi
mov dword [esp + 4], edi
call sym.strings.TrimSpace
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x501dd3
xor eax, eax
xor ecx, ecx
jmp 0x501ddb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + edx*8 + 4]
mov dword [ebp], eax
mov ebp, dword [0x7b12d0]
lea esi, [ebx + edx*8]
test ebp, ebp
je 0x501d14
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [esi]
mov dword [edi + 4], ebp
jmp 0x501d14
dec ecx
mov edx, ecx
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ecx, ecx
je 0x501e24
mov edx, dword [eax + 4]
test edx, edx
je 0x501e0c
mov edx, ecx
jmp 0x501e29
dec ecx
test ecx, ecx
je 0x501e38
lea ebx, [eax + ecx*8 - 8]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x501e28
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x64
ret
mov eax, edx
mov ecx, edi
call sym.runtime.panicSliceB
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
cmp ebp, esi
jge 0x501ca3
movzx eax, byte [ebp + ebx]
cmp al, 0x20
je 0x501e51
cmp al, 9
je 0x501e51
jmp 0x501c9d
inc eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, edi
jge 0x501cce
cmp eax, ebp
jge 0x501ccc
movzx ecx, byte [eax + esi]
lea edx, [eax + ebx]
cmp byte [edx], cl
je 0x501e80
jmp 0x501cc0
mov ecx, eax
mov edx, edi
call sym.runtime.panicSliceAlen
mov ecx, ebp
mov edx, esi
call sym.runtime.panicSliceAlen
mov ecx, edi
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment.unindent