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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x56d043
sub esp, 0x94
mov ecx, dword [esp + 0x98]
xor eax, eax
jmp 0x56c9c6
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.0046fa7e
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0xb8]
cmp dword [esp + 0x88], edx
jle 0x56cdaf
movzx edx, byte [ecx + 0x29]
test dl, dl
je 0x56ca0e
movzx edx, byte [ecx + 0xbc]
test dl, dl
jne 0x56cdaf
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 0x56ca92
test ebx, ebx
jbe 0x56d039
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.0046fa7e
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.0046fa7e
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 0x56ca94
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x56cb2b
mov esi, dword [ecx + 0xb4]
mov edi, dword [esi + 4]
lea edx, [edi - 1]
cmp edi, edx
jbe 0x56d030
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.0046fa7e
lea edi, [esp + 0x44]
lea esi, [esp + 0x80]
call fcn.0046fa7e
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 0x56cb2d
xor esi, esi
xchg esi, eax
mov byte [esp + 0x37], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x56cb7d
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 0x56cb69
test ebx, ebx
je 0x56cc77
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 0x56d023
mov edx, dword [ecx + 0xb4]
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x56c9a9
xchg esi, eax
test al, al
xchg esi, eax
je 0x56c9a9
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.0046fa7e
mov eax, dword [0x71da68]
mov ecx, dword [esp + 0x98]
lea edx, [ecx + 0x80]
test eax, eax
je 0x56cc49
mov dword [esp + 0x78], edx
lea eax, [0x5a84a0]
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, [0x5a84a0]
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.0046fa7e
mov edi, edx
lea esi, [esp + 0x80]
call fcn.0046fa7e
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x70]
jmp 0x56c9a9
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.0046fa7e
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.0046fa7e
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x58]
call fcn.0046fa7e
lea edi, [esp + 0x18]
lea esi, [esp + 0x9c]
call fcn.0046fa7e
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 [0x71da68]
test eax, eax
je 0x56cd4d
lea eax, [0x5a84a0]
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, [0x5a84a0]
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.0046fa7e
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x9c]
call fcn.0046fa7e
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 0x56ce85
mov edx, dword [ecx + 0x24]
test edx, 1
jne 0x56ce39
mov edx, dword [eax + 8]
cmp edx, 1
jbe 0x56cf5e
mov edx, dword [eax + 4]
cmp byte [edx + 1], 0x2a
jne 0x56ce35
mov edx, dword [eax]
cmp dword [ecx + 0xc4], edx
je 0x56ce23
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.0046fa7e
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 0x56ce3b
xor edx, edx
jmp 0x56ce3b
xor edx, edx
test dl, dl
je 0x56ce7a
mov edx, dword [esp + 0xb0]
cmp edx, 0x34
je 0x56ce76
cmp edx, 0x36
jne 0x56ce56
cmp dword [ecx + 0x30], 0x31
jne 0x56ce72
cmp edx, 0x37
jne 0x56ce61
cmp dword [ecx + 0x30], 0x32
jne 0x56ce6e
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x38]
xor esi, esi
jmp 0x56cefe
xor ebx, ebx
jmp 0x56ce9c
xor ebx, ebx
jmp 0x56ce9c
xor ebx, ebx
jmp 0x56ce9c
mov edx, dword [esp + 0xb0]
xor ebx, ebx
jmp 0x56ce9c
mov byte [esp + 0xb4], 0
mov byte [esp + 0xb5], 0
add esp, 0x94
ret
mov ebp, dword [eax + 8]
cmp ebp, 1
jbe 0x56cef1
mov eax, dword [eax + 4]
cmp byte [eax + 1], 0x2f
je 0x56cec1
cmp edx, 1
je 0x56cec1
cmp edx, 0x38
jne 0x56cec6
mov eax, dword [ecx + 0x24]
test eax, 2
jne 0x56cec6
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 0x56cf30
movzx edi, byte [ebx + esi]
xchg edi, eax
cmp al, 0xa
xchg edi, eax
je 0x56cf14
xchg edi, eax
cmp al, 0xc
xchg edi, eax
jne 0x56cefd
mov ebx, dword [ecx + 0x24]
test ebx, 2
jne 0x56cf30
mov ebx, dword [ecx + 0x20]
test ebx, ebx
jne 0x56cf30
mov ebx, 1
jmp 0x56ce9c
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 0x56ce9c
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.0046fa7e
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.0046fa7e
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x58]
call fcn.0046fa7e
lea edi, [esp + 0x18]
lea esi, [esp + 0x9c]
call fcn.0046fa7e
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 0x56cf6a
jmp 0x56cb8c
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