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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x506489
sub esp, 0x9c
mov eax, 0
mov dword [esp + 0x98], eax
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x84]
lea esi, [esp + 0xc]
call fcn.0046b07e
lea edi, [esp + 0x54]
lea esi, [esp + 0x84]
call fcn.0046b07e
mov ecx, dword [esp + 0x38]
cmp ecx, 7
jge 0x505f6e
xor eax, eax
jmp 0x505f95
mov eax, dword [esp + 0x50]
mov dword [esp], eax
lea ecx, [0x5edb5e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
test al, al
je 0x506034
mov edx, dword [esp + 0x60]
test edx, edx
jle 0x505fba
cmp dword [esp + 0x64], 1
je 0x505fba
mov edx, dword [esp + 0xa0]
xor eax, eax
jmp 0x50603d
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea edx, [sym.go_printer._printer_.writeComment.func1]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x80], edx
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ebp, [sym.go_printer._printer_.writeComment.deferwrap1]
mov dword [esp + 0x70], ebp
lea ebp, [esp + 0x7c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 0x98], ebx
mov byte [esp + 0x27], 1
mov dword [edx + 0x1c], 0
mov eax, 1
jmp 0x50603d
mov edx, dword [esp + 0xa0]
xor eax, eax
cmp ecx, 1
jbe 0x506472
mov byte [esp + 0x26], al
mov ebx, dword [esp + 0x50]
cmp byte [ebx + 1], 0x2f
je 0x506100
nop
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea eax, str._n_tX__0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call sym.strings.genSplit
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x20]
test eax, eax
jle 0x5060f4
cmp dword [esp + 0x64], 1
jne 0x5060e8
mov ebp, dword [esp + 0xa0]
mov esi, dword [ebp + 0x1c]
test esi, esi
jle 0x5062b8
cmp edx, 1
jb 0x506466
mov dword [esp + 0x34], ebx
lea eax, [ebx - 1]
neg eax
sar eax, 0x1f
and eax, 8
add eax, ecx
mov dword [esp + 0x6c], eax
lea esi, [edx - 1]
mov dword [esp + 0x48], esi
xor edi, edi
jmp 0x5063da
mov ebp, dword [esp + 0xa0]
jmp 0x5062b8
mov ebp, dword [esp + 0xa0]
jmp 0x5062b8
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.go_build_constraint.splitGoBuild
movzx eax, byte [esp + 0x10]
test al, al
je 0x50619b
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x44]
inc edx
mov ebx, dword [eax + 0x40]
mov ebp, dword [eax + 0x14]
cmp ecx, edx
jae 0x50618f
mov dword [esp + 0x48], ebp
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c2d80]
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 + 0xa0]
mov dword [ebx + 0x48], eax
mov eax, dword [0x776350]
test eax, eax
je 0x506184
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x40]
mov dword [edi + 4], eax
mov dword [ebx + 0x40], ecx
mov eax, ebx
mov ebp, dword [esp + 0x48]
mov ebx, ecx
mov dword [eax + 0x44], edx
mov dword [ebx + edx*4 - 4], ebp
jmp 0x50623e
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call sym.go_build_constraint.splitPlusBuild
movzx eax, byte [esp + 0x10]
test al, al
je 0x506237
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x50]
inc edx
mov ebx, dword [eax + 0x4c]
mov ebp, dword [eax + 0x14]
cmp ecx, edx
jae 0x50622e
mov dword [esp + 0x48], ebp
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c2d80]
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 + 0xa0]
mov dword [ebx + 0x54], eax
mov eax, dword [0x776350]
test eax, eax
je 0x506223
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 4], eax
mov dword [ebx + 0x4c], ecx
mov eax, ebx
mov ebp, dword [esp + 0x48]
mov ebx, ecx
mov dword [eax + 0x50], edx
mov dword [ebx + edx*4 - 4], ebp
jmp 0x50623e
mov eax, dword [esp + 0xa0]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [0x601be4]
mov dword [esp + 8], eax
call sym.strings.TrimRightFunc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
lea edi, [esp + 4]
lea esi, [esp + 0x54]
call fcn.0046b07e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 1
call sym.go_printer._printer_.writeString
movzx eax, byte [esp + 0x26]
test al, 1
je 0x5062b1
and eax, 0xfffffffe
mov byte [esp + 0x27], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.go_printer.stripCommonPrefix
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
xor edx, edx
jmp 0x5062d5
inc edx
cmp edx, eax
jge 0x50639c
mov dword [esp + 0x40], edx
lea ebx, [ecx + edx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test edx, edx
jle 0x506338
mov dword [esp + 0x68], ebx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov byte [esp + 4], 0xc
mov dword [esp + 8], 1
call sym.go_printer._printer_.writeByte
mov eax, dword [esp + 0xa0]
lea esi, [eax + 0x58]
lea edi, [esp + 0x54]
call fcn.0046b07e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x5062d4
mov dword [esp], ebx
mov dword [esp + 4], ebp
lea eax, [0x601be4]
mov dword [esp + 8], eax
call sym.strings.TrimRightFunc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
lea edi, [esp + 4]
lea esi, [esp + 0x54]
call fcn.0046b07e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 1
call sym.go_printer._printer_.writeString
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
jmp 0x5062d4
movzx eax, byte [esp + 0x26]
test al, 1
je 0x5063b8
and eax, 0xfffffffe
mov byte [esp + 0x27], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov dword [eax], edi
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x48]
mov edi, ecx
mov ecx, dword [esp + 0x4c]
cmp edi, esi
jge 0x5062b8
mov dword [esp + 0x44], edi
lea ecx, [eax + edi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
lea ebx, [0x5ecea6]
mov dword [esp + 4], ebx
mov dword [esp + 8], 3
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jbe 0x50645d
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx + eax*8 + 0xc]
mov esi, dword [esp + 0x18]
lea eax, [ebx + eax*8 + 8]
mov edi, dword [esp + 0x14]
mov dword [ebp], esi
mov ebp, dword [0x776350]
test ebp, ebp
je 0x5063bf
mov ebp, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov esi, dword [eax]
mov dword [edi + 4], esi
mov edi, ebp
jmp 0x5063bf
mov eax, ecx
mov ecx, edx
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
mov eax, 1
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0x9c
ret
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.writeComment