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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x504301
sub esp, 0xac
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046ffcb
lea ecx, [sym.go_doc_comment._parseDoc_.parseText.func1]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x94], ecx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x90], ebx
lea ebp, [esp + 0x24]
mov dword [esp + 0x98], ebp
lea ebp, [sym.go_doc_comment._parseDoc_.parseText.func2]
mov dword [esp + 0x78], ebp
lea ebp, [esp + 0x88]
mov dword [esp + 0x7c], ebp
lea ebp, [esp + 0x50]
mov dword [esp + 0x80], ebp
lea ebp, [esp + 0xb4]
mov dword [esp + 0x84], ebp
movzx ebp, byte [esp + 0xc8]
xor eax, eax
jmp 0x503aa9
mov esi, dword [esp + 0xc4]
movzx ebp, byte [esp + 0xc8]
mov edi, dword [esp + 0xc0]
mov ecx, esi
mov eax, ebx
mov ebx, edi
cmp ecx, eax
jle 0x504253
jb 0x5042fb
mov dword [esp + 0x38], eax
mov esi, ecx
sub esi, eax
mov dword [esp + 0x30], esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov dword [esp + 0x4c], esi
lea edx, [ebx + esi]
mov dword [esp + 0x68], edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x503cd0
mov dword [esp], edx
mov dword [esp + 4], edi
call sym.go_doc_comment.autoURL
movzx eax, byte [esp + 0x10]
test al, al
je 0x503c85
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
lea edx, [esp + 0x78]
call ebx
lea eax, [0x602f60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov byte [eax], 1
lea ecx, [0x5ec920]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x66e4f0]
mov ebx, dword [esp + 0xa4]
mov dword [ebx], ecx
mov ebp, dword [0x7b12d0]
test ebp, ebp
jne 0x503b92
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x64]
jmp 0x503bbc
call sym.runtime.gcWriteBarrier6
mov dword [edi], eax
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0xa8]
mov esi, dword [ebp + 4]
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x64]
mov dword [edi + 0x10], esi
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], edx
mov dword [ebx + 4], eax
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], 1
mov dword [ebp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], esi
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
inc edi
mov eax, dword [esp + 0xb4]
cmp esi, edi
jae 0x503c41
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f3220]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb4], eax
lea ecx, [0x66e4f0]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xb8], edi
lea esi, [eax + edi*8 - 8]
mov edx, ebp
lea ebp, [0x66e510]
mov dword [esi], ebp
mov esi, dword [0x7b12d0]
lea edi, [eax + edi*8 - 4]
mov ebp, dword [esp + 0x38]
add ebx, ebp
test esi, esi
je 0x503c7a
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov edi, eax
mov dword [edi], edx
mov dword [esp + 0x24], ebx
jmp 0x503a8d
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call sym.go_doc_comment.ident
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
test al, al
jne 0x503fb8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0xc0]
movzx ebp, byte [esp + 0xc8]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
cmp edi, 2
jge 0x503ce5
mov dword [esp + 0x40], eax
xor eax, eax
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x40]
jmp 0x503d2e
mov dword [esp], edx
lea eax, [0x61d70d]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0xc0]
movzx ebp, byte [esp + 0xc8]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x38]
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x503e63
cmp edi, 3
jl 0x503d54
lea ebp, [ebx + esi + 2]
cmp byte [ebp], 0x60
jne 0x503d54
lea ebp, [eax + 3]
jmp 0x5042e1
mov edx, dword [esp + 0x24]
nop
cmp eax, edx
jb 0x5042d7
mov ebp, eax
sub eax, edx
mov esi, eax
neg eax
sar eax, 0x1f
and eax, edx
mov edx, dword [esp + 0x50]
add eax, ebx
nop
test edx, edx
je 0x503d86
lea edi, [esp + 0x50]
cmp edx, edi
je 0x503d8e
jmp 0x5042bf
lea edx, [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
lea ebx, [edi + esi]
mov ecx, dword [esp + 0x54]
cmp edx, ebx
jae 0x503de7
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x70], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
lea eax, [0x5ed720]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0xa0], ecx
add ebp, 2
mov dword [esp + 0x3c], ebp
add edi, ecx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memmove
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x201c
call sym.strings._Builder_.WriteRune
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov ebp, eax
jmp 0x504291
cmp edi, 2
jge 0x503e6c
xor edx, edx
jmp 0x503e9f
mov dword [esp], edx
lea eax, [0x61d70f]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov edx, eax
mov eax, dword [esp + 0x38]
test dl, dl
jne 0x503eab
lea ebp, [eax + 1]
jmp 0x504291
mov edx, dword [esp + 0x24]
nop
cmp eax, edx
jb 0x5042b6
mov ebp, eax
sub eax, edx
mov esi, eax
neg eax
sar eax, 0x1f
and eax, edx
mov edx, dword [esp + 0x50]
add eax, ebx
nop
test edx, edx
je 0x503edd
lea edi, [esp + 0x50]
cmp edx, edi
je 0x503ee5
jmp 0x50429e
lea edx, [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
lea ebx, [edi + esi]
mov ecx, dword [esp + 0x54]
cmp edx, ebx
jae 0x503f3e
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], edi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
lea eax, [0x5ed720]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0xa0], ecx
add ebp, 2
mov dword [esp + 0x3c], ebp
add edi, ecx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memmove
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x201d
call sym.strings._Builder_.WriteRune
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
jmp 0x504291
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
lea ebx, [0x5ef380]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.mapaccess2_faststr
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
test cl, cl
jne 0x504006
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea ebx, [esi + ebp]
lea ecx, [0x66e4f0]
jmp 0x503a8d
mov dword [esp + 0x60], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
lea edx, [esp + 0x78]
call ecx
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5040e3
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
inc ecx
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x5040aa
mov dword [esp + 0x9c], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5f3220]
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 + 0xbc], eax
mov dword [esp + 0xb4], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xb8], ecx
lea ebp, [edx + ecx*8 - 8]
lea esi, [0x66e500]
mov dword [ebp], esi
mov ebp, dword [0x7b12d0]
lea edi, [edx + ecx*8 - 4]
test ebp, ebp
je 0x5040dc
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov edi, eax
mov dword [edi], ebx
jmp 0x504239
lea eax, [0x602f60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov byte [eax], 1
lea ecx, [0x5ec920]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x66e500]
mov edx, dword [esp + 0xa4]
mov dword [edx], ecx
mov ebx, dword [0x7b12d0]
test ebx, ebx
jne 0x504156
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x60]
jmp 0x504180
call sym.runtime.gcWriteBarrier6
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx + 4]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x60]
mov dword [edi + 0x10], ebp
mov esi, dword [ebx + 0x10]
mov dword [edi + 0x14], esi
mov dword [edx + 4], eax
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 1
mov dword [ebx + 4], edx
mov esi, dword [esp + 0x28]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], ebp
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
inc esi
mov edi, dword [esp + 0xb4]
cmp ebp, esi
jae 0x504201
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f3220]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb4], edi
lea ecx, [0x66e500]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xb8], esi
lea ebp, [edi + esi*8 - 8]
mov eax, ebx
lea ebx, [0x66e510]
mov dword [ebp], ebx
mov ebp, dword [0x7b12d0]
lea esi, [edi + esi*8 - 4]
test ebp, ebp
je 0x504231
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [esi]
mov dword [edi + 4], ebp
mov dword [esi], eax
lea esi, [0x66e500]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
lea ebx, [edi + ebp]
mov dword [esp + 0x24], ebx
lea ecx, [0x66e4f0]
jmp 0x503a8d
mov eax, dword [esp + 0x78]
mov dword [esp], ecx
lea edx, [esp + 0x78]
call eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ebx
add esp, 0xac
ret
lea ecx, [0x66e4f0]
mov ebx, ebp
jmp 0x503a8d
lea eax, [0x5ed6a0]
mov dword [esp], eax
lea eax, [0x66d5fc]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov ecx, eax
mov eax, edx
call sym.runtime.panicSliceB
lea eax, [0x5ed6a0]
mov dword [esp], eax
lea eax, [0x66d5fc]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov ecx, eax
mov eax, edx
call sym.runtime.panicSliceB
inc ebp
cmp ebp, edi
jge 0x504291
jae 0x5042f2
lea esi, [ebp + edx]
cmp byte [esi], 0x60
je 0x5042e0
jmp 0x504291
mov eax, ebp
mov ecx, edi
call sym.runtime.panicIndex
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment._parseDoc_.parseText