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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5184b3
sub esp, 0x94
mov ecx, dword [esp + 0x98]
xor eax, eax
jmp 0x517e36
mov dword [esp + 0x70], eax
mov dword [esp], ecx
call sym.go_printer._printer_.nextComment
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x70]
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
lea edi, [esp + 0x80]
lea esi, [esp + 0x9c]
call fcn.004704ae
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0xb8]
cmp dword [esp + 0x88], edx
jle 0x51821f
movzx edx, byte [ecx + 0x29]
test dl, dl
je 0x517e7e
movzx edx, byte [ecx + 0xbc]
test dl, dl
jne 0x51821f
mov edx, dword [ecx + 0xb4]
mov ebx, dword [edx + 4]
mov dword [esp + 0x38], ebx
mov ebp, dword [edx]
mov dword [esp + 0x6c], ebp
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
cmp dword [ecx + 0x2c], 0x4b
je 0x517f02
test ebx, ebx
jbe 0x5184a9
mov eax, dword [ebp]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.004704ae
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.004704ae
cmp dword [esp + 0x68], 1
sete al
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x70]
jmp 0x517f04
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x517f9b
mov esi, dword [ecx + 0xb4]
mov edi, dword [esi + 4]
lea edx, [edi - 1]
cmp edi, edx
jbe 0x5184a0
mov eax, dword [esi]
mov eax, dword [eax + edi*4 - 4]
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax]
add ebx, dword [eax + 8]
lea eax, [ebx + 1]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.004704ae
lea edi, [esp + 0x44]
lea esi, [esp + 0x80]
call fcn.004704ae
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
call sym.type:.eq.go_token.Position
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x70]
jmp 0x517f9d
xor esi, esi
xchg esi, eax
mov byte [esp + 0x37], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x517fed
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call sym.go_printer.formatDocComment
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0xb4]
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x10]
test edx, edx
je 0x517fd9
test ebx, ebx
je 0x5180e7
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x98]
movzx esi, byte [esp + 0x37]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], ebp
xor edx, edx
jmp 0x518493
mov edx, dword [ecx + 0xb4]
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x517e19
xchg esi, eax
test al, al
xchg esi, eax
je 0x517e19
mov eax, dword [edx]
mov eax, dword [eax + ebx*4 - 4]
mov dword [esp + 0x70], eax
mov edx, dword [eax + 8]
add edx, dword [eax]
mov ebx, dword [ecx + 0xc]
lea ebp, [ecx + 0x58]
mov dword [esp + 0x7c], ebp
mov dword [esp], ebx
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [0x7b12d0]
mov ecx, dword [esp + 0x98]
lea edx, [ecx + 0x80]
test eax, eax
je 0x5180b9
mov dword [esp + 0x78], edx
lea eax, [0x609e80]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x80]
mov dword [esp + 8], edx
call sym.runtime.wbMove
lea eax, [0x609e80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x80]
call fcn.004704ae
mov edi, edx
lea esi, [esp + 0x80]
call fcn.004704ae
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x70]
jmp 0x517e19
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx]
lea ebx, [eax + 0x58]
mov dword [esp + 0x7c], ebx
lea ebp, [eax + 0x80]
mov dword [esp + 0x78], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.004704ae
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.004704ae
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x58]
call fcn.004704ae
lea edi, [esp + 0x18]
lea esi, [esp + 0x9c]
call fcn.004704ae
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x30], ecx
call sym.go_printer._printer_.writeCommentPrefix
mov eax, dword [0x7b12d0]
test eax, eax
je 0x5181bd
lea eax, [0x609e80]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x9c]
mov dword [esp + 8], edx
call sym.runtime.wbMove
lea eax, [0x609e80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x9c]
call fcn.004704ae
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x9c]
call fcn.004704ae
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.go_printer._printer_.nextComment
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0
call sym.go_printer._printer_.writeCommentSuffix
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 9]
mov byte [esp + 0xb4], al
mov byte [esp + 0xb5], cl
add esp, 0x94
ret
test eax, eax
je 0x5182f5
mov edx, dword [ecx + 0x24]
test edx, 1
jne 0x5182a9
mov edx, dword [eax + 8]
cmp edx, 1
jbe 0x5183ce
mov edx, dword [eax + 4]
cmp byte [edx + 1], 0x2a
jne 0x5182a5
mov edx, dword [eax]
cmp dword [ecx + 0xc4], edx
je 0x518293
mov dword [ecx + 0xc4], edx
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov dword [ecx + 0xc8], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0xa8]
cmp dword [ecx + 0xc8], edx
sete dl
jmp 0x5182ab
xor edx, edx
jmp 0x5182ab
xor edx, edx
test dl, dl
je 0x5182ea
mov edx, dword [esp + 0xb0]
cmp edx, 0x34
je 0x5182e6
cmp edx, 0x36
jne 0x5182c6
cmp dword [ecx + 0x30], 0x31
jne 0x5182e2
cmp edx, 0x37
jne 0x5182d1
cmp dword [ecx + 0x30], 0x32
jne 0x5182de
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x38]
xor esi, esi
jmp 0x51836e
xor ebx, ebx
jmp 0x51830c
xor ebx, ebx
jmp 0x51830c
xor ebx, ebx
jmp 0x51830c
mov edx, dword [esp + 0xb0]
xor ebx, ebx
jmp 0x51830c
mov byte [esp + 0xb4], 0
mov byte [esp + 0xb5], 0
add esp, 0x94
ret
mov ebp, dword [eax + 8]
cmp ebp, 1
jbe 0x518361
mov eax, dword [eax + 4]
cmp byte [eax + 1], 0x2f
je 0x518331
cmp edx, 1
je 0x518331
cmp edx, 0x38
jne 0x518336
mov eax, dword [ecx + 0x24]
test eax, 2
jne 0x518336
mov ebx, 1
mov dword [esp], ecx
mov byte [esp + 4], bl
call sym.go_printer._printer_.writeCommentSuffix
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 9]
mov byte [esp + 0xb4], al
mov byte [esp + 0xb5], cl
add esp, 0x94
ret
mov eax, 1
mov ecx, ebp
call sym.runtime.panicIndex
inc esi
cmp esi, ebp
jge 0x5183a0
movzx edi, byte [ebx + esi]
xchg edi, eax
cmp al, 0xa
xchg edi, eax
je 0x518384
xchg edi, eax
cmp al, 0xc
xchg edi, eax
jne 0x51836d
mov ebx, dword [ecx + 0x24]
test ebx, 2
jne 0x5183a0
mov ebx, dword [ecx + 0x20]
test ebx, ebx
jne 0x5183a0
mov ebx, 1
jmp 0x51830c
mov dword [esp], ecx
mov byte [esp + 4], 0x20
mov dword [esp + 8], 1
call sym.go_printer._printer_.writeByte
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xb0]
xor ebx, ebx
jmp 0x51830c
mov eax, 1
mov ecx, edx
call sym.runtime.panicIndex
mov dword [esp + 0x74], eax
mov eax, dword [ebp + edx*4]
mov dword [esp + 0x70], eax
mov ebx, dword [eax]
mov esi, dword [ecx + 0xc]
inc edx
mov dword [esp + 0x40], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.004704ae
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.004704ae
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x58]
call fcn.004704ae
lea edi, [esp + 0x18]
lea esi, [esp + 0x9c]
call fcn.004704ae
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x30], ecx
call sym.go_printer._printer_.writeCommentPrefix
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call sym.go_printer._printer_.writeComment
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
movzx esi, byte [esp + 0x37]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x70]
cmp ebx, edx
jg 0x5183da
jmp 0x517ffc
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.intersperseComments