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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4f66a0
sub esp, 0xf0
mov edx, dword [esp + 0xf8]
cmp edx, 1
jne 0x4f5b2f
mov ebx, dword [esp + 0xf4]
mov ebp, dword [ebx]
cmp dword [ebp + 8], 2
jge 0x4f5afd
xor eax, eax
jmp 0x4f5b38
mov eax, dword [ebp + 4]
mov dword [esp], eax
lea eax, [0x5eccf8]
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 0x4f5b38
mov ebx, dword [esp + 0xf4]
xor eax, eax
test al, al
je 0x4f5b8d
test edx, edx
jbe 0x4f6696
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, str._n_tX__0
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.Index
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4f65cf
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
xor eax, eax
jmp 0x4f6601
test edx, edx
jbe 0x4f65c6
mov eax, dword [ebx]
cmp dword [eax + 8], 2
jl 0x4f5c15
mov eax, dword [eax + 4]
mov dword [esp], eax
lea eax, [0x5eccf6]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f5c07
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 0x4f5c51
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 0x4f5fa5
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 0x4f5c95
mov dword [esp + 0x50], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x50]
jmp 0x4f5ce1
mov dword [esp + 0x74], edi
mov dword [esp], edi
lea eax, [0x5eccf6]
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 0x4f5f82
cmp eax, 2
jb 0x4f65ba
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 0x4f5da6
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x4f5d40
mov ebp, dword [esp + 0xb8]
mov ecx, ebx
jmp 0x4f5d75
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, [0x5ca1e0]
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 [0x776350]
test ebx, ebx
jne 0x4f5d88
mov ebx, dword [esp + 0xc8]
jmp 0x4f5d9d
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 0x4f5c38
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jg 0x4f5db2
xor eax, eax
jmp 0x4f5ddc
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
lea ecx, [0x6340d0]
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 0x4f5e05
cmp ecx, 1
jb 0x4f65b0
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 0x4f5e0c
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
nop
test edx, edx
je 0x4f5e28
lea ebx, [esp + 0xcc]
cmp edx, ebx
je 0x4f5e36
jmp 0x4f6598
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 0x4f5e94
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, [0x5c2bc0]
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 0x4f5ef5
lea edx, [esp + 0xcc]
cmp eax, edx
je 0x4f5f03
jmp 0x4f6580
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 0x4f5f55
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, [0x5c2bc0]
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 0x4f5c38
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 0x4f6572
lea eax, [0x5eccf6]
test edi, edi
je 0x4f6192
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.0046ab96
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 0x4f6569
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 0x4f60a0
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4f61c5
mov dword [esp + 0x5c], edx
mov dword [esp + 0xe8], ecx
lea eax, [0x5cc280]
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, [0x5ece9d]
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, [0x5ecd86]
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 [0x776350]
test eax, eax
je 0x4f6136
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, [0x5c1100]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x776350]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f615e
mov eax, dword [esp + 0xc4]
jmp 0x4f616c
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 0x4f639a
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, str._n_tX__0
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 0x4f6222
mov eax, 2
lea ebx, [0x5eccf6]
jmp 0x4f62ce
mov ebx, dword [esp + 0x10]
jle 0x4f6261
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], ebx
mov dword [esp], ebx
lea eax, [0x6331a4]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4f6291
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xb0]
mov dword [esp], 0
lea ecx, [0x5ecea0]
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 0x4f62ca
mov dword [esp], 0
lea eax, [0x5eccf6]
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, [0x5cc280]
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 [0x776350]
test edx, edx
jne 0x4f630b
mov edx, dword [esp + 0xb0]
jmp 0x4f6319
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 0x4f6332
mov ebp, dword [esp + 0xac]
jmp 0x4f6379
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, [0x5ca1e0]
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 [0x776350]
test esi, esi
je 0x4f61b5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x4f61b5
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4f644b
lea eax, [0x5cc280]
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, [0x5eccf6]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, eax
jb 0x4f63e4
mov ebp, dword [esp + 0xac]
jmp 0x4f642b
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, [0x5ca1e0]
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 [0x776350]
test esi, esi
je 0x4f6443
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 0x4f6478
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 0x4f6562
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, [0x5cc280]
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 [0x776350]
test ebx, ebx
je 0x4f64e1
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 0x4f64fa
mov ebp, dword [esp + 0xe0]
jmp 0x4f6541
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, [0x5ca1e0]
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 [0x776350]
test esi, esi
je 0x4f6467
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x4f6467
mov esi, eax
jmp 0x4f644b
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
test ecx, ecx
je 0x4f657b
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x5c2b40]
mov dword [esp], eax
lea eax, [0x6341d4]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5c2b40]
mov dword [esp], eax
lea eax, [0x6341d4]
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 0x4f65cf
lea ebp, [eax + ebx]
cmp byte [ebp], 0xa
jne 0x4f6600
lea ebp, [eax + 1]
jmp 0x4f6614
inc ebp
cmp ebp, ecx
jge 0x4f6600
jae 0x4f668f
movzx esi, byte [ebx + ebp]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x4f6613
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x4f6613
cmp ebp, ecx
jge 0x4f6600
jae 0x4f6688
add ebp, ebx
cmp byte [ebp], 0x2a
je 0x4f6600
lea ebp, [ecx - 2]
cmp ecx, ebp
jb 0x4f667f
cmp ebp, 2
jb 0x4f6673
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, [0x5eccf8]
xor esi, esi
xor ebp, ebp
jmp 0x4f5fc6
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