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

Disassembly:
mov ecx, dword [0x674284]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4ed810
sub esp, 0xf0
mov edx, dword [esp + 0xf8]
cmp edx, 1
jne 0x4ecc9f
mov ebx, dword [esp + 0xf4]
mov ebp, dword [ebx]
cmp dword [ebp + 8], 2
jge 0x4ecc6d
xor eax, eax
jmp 0x4ecca8
mov eax, dword [ebp + 4]
mov dword [esp], eax
lea eax, [0x5440e7]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
jmp 0x4ecca8
mov ebx, dword [esp + 0xf4]
xor eax, eax
test al, al
je 0x4eccfd
test edx, edx
jbe 0x4ed806
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x575788]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.Index
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4ed73f
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
xor eax, eax
jmp 0x4ed771
test edx, edx
jbe 0x4ed736
mov eax, dword [ebx]
cmp dword [eax + 8], 2
jl 0x4ecd85
mov eax, dword [eax + 4]
mov dword [esp], eax
lea eax, [0x544077]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ecd77
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x4ecdc1
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], edx
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x108], eax
add esp, 0xf0
ret
mov edi, dword [esp + 0x68]
lea eax, [edi + 1]
mov edi, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
mov esi, edx
mov edx, edi
cmp edx, eax
jle 0x4ed115
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x48], ecx
mov edi, dword [ebx + eax*4]
mov dword [esp + 0xc8], edi
mov eax, dword [edi + 8]
mov dword [esp + 0x34], eax
mov edi, dword [edi + 4]
cmp eax, 2
jge 0x4ece05
mov dword [esp + 0x50], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x50]
jmp 0x4ece51
mov dword [esp + 0x74], edi
mov dword [esp], edi
lea eax, [0x544077]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x74]
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x34]
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ed0f2
cmp eax, 2
jb 0x4ed72a
lea ecx, [eax - 2]
mov dword [esp + 0x4c], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
add ecx, edi
mov dword [esp + 0xdc], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.go_printer.isDirective
movzx eax, byte [esp + 8]
test al, al
je 0x4ecf16
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x4eceb0
mov ebp, dword [esp + 0xb8]
mov ecx, ebx
jmp 0x4ecee5
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x52cca0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [0x674338]
test ebx, ebx
jne 0x4ecef8
mov ebx, dword [esp + 0xc8]
jmp 0x4ecf0d
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0xc8]
mov dword [edi], ebx
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
mov dword [ebp + edx*4 - 4], ebx
jmp 0x4ecda8
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jg 0x4ecf22
xor eax, eax
jmp 0x4ecf4c
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
lea ecx, [0x5762ac]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
test al, al
je 0x4ecf75
cmp ecx, 1
jb 0x4ed720
mov eax, dword [esp + 0x34]
lea ecx, [eax - 3]
mov eax, ecx
neg eax
sar eax, 0x1f
and eax, 1
mov edx, dword [esp + 0xdc]
add eax, edx
jmp 0x4ecf7c
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
nop
test edx, edx
je 0x4ecf98
lea ebx, [esp + 0xcc]
cmp edx, ebx
je 0x4ecfa6
jmp 0x4ed708
lea edx, [esp + 0xcc]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0xd0]
cmp edx, ebp
jae 0x4ed004
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x527f80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0xec], esi
add ebx, esi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xcc]
nop
test eax, eax
je 0x4ed065
lea edx, [esp + 0xcc]
cmp eax, edx
je 0x4ed073
jmp 0x4ed6f0
lea edx, [esp + 0xcc]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0xd0]
cmp edx, ebp
jae 0x4ed0c5
mov dword [esp + 0x64], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x527f80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov byte [esi + ebx], 0xa
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], edx
mov dword [esp + 0xd0], esi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0xb8]
jmp 0x4ecda8
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], edx
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x108], eax
add esp, 0xf0
ret
mov eax, dword [esp + 0xd0]
mov ecx, eax
neg eax
mov edi, dword [esp + 0xd4]
nop
cmp edi, eax
ja 0x4ed6e2
lea eax, [0x544077]
test edi, edi
je 0x4ed302
mov dword [esp + 0xb4], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call sym.go_doc_comment._Parser_.Parse
mov eax, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.004695e6
lea eax, [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
call sym.go_doc_comment._Printer_.Comment
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xf8]
test eax, eax
jbe 0x4ed6d9
mov eax, dword [esp + 0xf4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0xb4]
cmp word [ebx], 0x2a2f
je 0x4ed210
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4ed335
mov dword [esp + 0x5c], edx
mov dword [esp + 0xe8], ecx
lea eax, [0x52e140]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov dword [esp], 0
lea ecx, [0x544253]
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
lea ecx, [0x5440e9]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc4]
mov dword [edx + 8], eax
mov eax, dword [0x674338]
test eax, eax
je 0x4ed2a6
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov dword [edx + 4], ecx
lea eax, [0x527820]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x674338]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4ed2ce
mov eax, dword [esp + 0xc4]
jmp 0x4ed2dc
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0xc4]
mov dword [edi], eax
mov dword [ecx], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], 1
mov dword [esp + 0x108], 1
add esp, 0xf0
ret
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], edx
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x108], eax
add esp, 0xf0
ret
mov dword [ebp + edx*4 - 4], eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov esi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0xac], ebp
test edx, edx
je 0x4ed50a
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x575788]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call sym.strings.Cut
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
test eax, eax
jne 0x4ed392
mov eax, 2
lea ebx, [0x544077]
jmp 0x4ed43e
mov ebx, dword [esp + 0x10]
jle 0x4ed3d1
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], ebx
mov dword [esp], ebx
lea eax, str._t_4g
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4ed401
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xb0]
mov dword [esp], 0
lea ecx, [0x544256]
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4ed43a
mov dword [esp], 0
lea eax, [0x544077]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], ebx
lea ecx, [0x52e140]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov edx, dword [0x674338]
test edx, edx
jne 0x4ed47b
mov edx, dword [esp + 0xb0]
jmp 0x4ed489
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xb0]
mov dword [edi], edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
inc edx
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
jb 0x4ed4a2
mov ebp, dword [esp + 0xac]
jmp 0x4ed4e9
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x52cca0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x30]
mov esi, dword [0x674338]
test esi, esi
je 0x4ed325
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x4ed325
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4ed5bb
lea eax, [0x52e140]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov dword [ecx], edx
mov dword [ecx + 8], 2
lea ebx, [0x544077]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, eax
jb 0x4ed554
mov ebp, dword [esp + 0xac]
jmp 0x4ed59b
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x52cca0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x30]
mov esi, dword [0x674338]
test esi, esi
je 0x4ed5b3
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov esi, dword [ebp + eax*4 - 4]
mov dword [edi + 4], esi
mov dword [ebp + eax*4 - 4], ecx
xor ecx, ecx
jmp 0x4ed5e8
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], ebx
add esp, 0xf0
ret
mov dword [ebp + edx*4 - 4], eax
mov esi, dword [esp + 0x68]
inc esi
mov ecx, esi
mov eax, edx
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
cmp ecx, esi
jge 0x4ed6d2
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0xc0], edx
lea ebx, [0x52e140]
mov dword [esp], ebx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 8]
mov edx, dword [edx + 4]
mov dword [eax + 8], ebx
mov ebx, dword [0x674338]
test ebx, ebx
je 0x4ed651
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
inc edx
mov ebx, dword [esp + 0x5c]
cmp ebx, edx
jb 0x4ed66a
mov ebp, dword [esp + 0xe0]
jmp 0x4ed6b1
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x52cca0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x30]
mov esi, dword [0x674338]
test esi, esi
je 0x4ed5d7
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x4ed5d7
mov esi, eax
jmp 0x4ed5bb
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
test ecx, ecx
je 0x4ed6eb
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x527f00]
mov dword [esp], eax
lea eax, [0x576380]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x527f00]
mov dword [esp], eax
lea eax, [0x576380]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, 1
call sym.runtime.panicSliceB
mov ecx, eax
mov eax, 2
call sym.runtime.panicSliceB
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x108], eax
add esp, 0xf0
ret
inc eax
cmp eax, ecx
jge 0x4ed73f
lea ebp, [eax + ebx]
cmp byte [ebp], 0xa
jne 0x4ed770
lea ebp, [eax + 1]
jmp 0x4ed784
inc ebp
cmp ebp, ecx
jge 0x4ed770
jae 0x4ed7ff
movzx esi, byte [ebx + ebp]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x4ed783
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x4ed783
cmp ebp, ecx
jge 0x4ed770
jae 0x4ed7f8
add ebp, ebx
cmp byte [ebp], 0x2a
je 0x4ed770
lea ebp, [ecx - 2]
cmp ecx, ebp
jb 0x4ed7ef
cmp ebp, 2
jb 0x4ed7e3
lea edi, [ecx - 4]
mov eax, edi
neg eax
sar eax, 0x1f
and eax, 2
lea ecx, [eax + ebx]
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
lea eax, [0x5440e7]
xor esi, esi
xor ebp, ebp
jmp 0x4ed136
mov eax, 2
mov ecx, ebp
call sym.runtime.panicSliceB
mov edx, ecx
mov ecx, ebp
call sym.runtime.panicSliceAlen
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.go_printer.formatDocComment