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

Disassembly:
mov ecx, dword [0x7762b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4f69c0
sub esp, 0xf0
mov edx, dword [esp + 0xf8]
cmp edx, 1
jne 0x4f5e4f
mov ebx, dword [esp + 0xf4]
mov ebp, dword [ebx]
cmp dword [ebp + 8], 2
jge 0x4f5e1d
xor eax, eax
jmp 0x4f5e58
mov eax, dword [ebp + 4]
mov dword [esp], eax
lea eax, [0x5ecd98]
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 0x4f5e58
mov ebx, dword [esp + 0xf4]
xor eax, eax
test al, al
je 0x4f5ead
test edx, edx
jbe 0x4f69b6
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 0x4f68ef
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
xor eax, eax
jmp 0x4f6921
test edx, edx
jbe 0x4f68e6
mov eax, dword [ebx]
cmp dword [eax + 8], 2
jl 0x4f5f35
mov eax, dword [eax + 4]
mov dword [esp], eax
lea eax, [0x5ecd96]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f5f27
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 0x4f5f71
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 0x4f62c5
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 0x4f5fb5
mov dword [esp + 0x50], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x50]
jmp 0x4f6001
mov dword [esp + 0x74], edi
mov dword [esp], edi
lea eax, [0x5ecd96]
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 0x4f62a2
cmp eax, 2
jb 0x4f68da
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 0x4f60c6
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x4f6060
mov ebp, dword [esp + 0xb8]
mov ecx, ebx
jmp 0x4f6095
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, [0x5ca280]
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 [0x776370]
test ebx, ebx
jne 0x4f60a8
mov ebx, dword [esp + 0xc8]
jmp 0x4f60bd
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 0x4f5f58
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jg 0x4f60d2
xor eax, eax
jmp 0x4f60fc
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
lea ecx, str._:C2
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 0x4f6125
cmp ecx, 1
jb 0x4f68d0
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 0x4f612c
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
nop
test edx, edx
je 0x4f6148
lea ebx, [esp + 0xcc]
cmp edx, ebx
je 0x4f6156
jmp 0x4f68b8
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 0x4f61b4
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, [0x5c2c00]
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 0x4f6215
lea edx, [esp + 0xcc]
cmp eax, edx
je 0x4f6223
jmp 0x4f68a0
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 0x4f6275
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, [0x5c2c00]
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 0x4f5f58
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 0x4f6892
lea eax, [0x5ecd96]
test edi, edi
je 0x4f64b2
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.0046ac56
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 0x4f6889
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 0x4f63c0
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4f64e5
mov dword [esp + 0x5c], edx
mov dword [esp + 0xe8], ecx
lea eax, [0x5cc320]
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, [0x5ecf3d]
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, [0x5ece26]
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 [0x776370]
test eax, eax
je 0x4f6456
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, [0x5c1140]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x776370]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f647e
mov eax, dword [esp + 0xc4]
jmp 0x4f648c
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 0x4f66ba
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 0x4f6542
mov eax, 2
lea ebx, [0x5ecd96]
jmp 0x4f65ee
mov ebx, dword [esp + 0x10]
jle 0x4f6581
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], ebx
mov dword [esp], ebx
lea eax, [0x6332f8]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4f65b1
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xb0]
mov dword [esp], 0
lea ecx, [0x5ecf40]
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 0x4f65ea
mov dword [esp], 0
lea eax, [0x5ecd96]
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, [0x5cc320]
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 [0x776370]
test edx, edx
jne 0x4f662b
mov edx, dword [esp + 0xb0]
jmp 0x4f6639
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 0x4f6652
mov ebp, dword [esp + 0xac]
jmp 0x4f6699
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, [0x5ca280]
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 [0x776370]
test esi, esi
je 0x4f64d5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x4f64d5
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4f676b
lea eax, [0x5cc320]
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, [0x5ecd96]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, eax
jb 0x4f6704
mov ebp, dword [esp + 0xac]
jmp 0x4f674b
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, [0x5ca280]
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 [0x776370]
test esi, esi
je 0x4f6763
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 0x4f6798
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 0x4f6882
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, [0x5cc320]
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 [0x776370]
test ebx, ebx
je 0x4f6801
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 0x4f681a
mov ebp, dword [esp + 0xe0]
jmp 0x4f6861
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, [0x5ca280]
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 [0x776370]
test esi, esi
je 0x4f6787
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x4f6787
mov esi, eax
jmp 0x4f676b
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
test ecx, ecx
je 0x4f689b
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x5c2b80]
mov dword [esp], eax
lea eax, [0x634328]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5c2b80]
mov dword [esp], eax
lea eax, [0x634328]
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 0x4f68ef
lea ebp, [eax + ebx]
cmp byte [ebp], 0xa
jne 0x4f6920
lea ebp, [eax + 1]
jmp 0x4f6934
inc ebp
cmp ebp, ecx
jge 0x4f6920
jae 0x4f69af
movzx esi, byte [ebx + ebp]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x4f6933
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x4f6933
cmp ebp, ecx
jge 0x4f6920
jae 0x4f69a8
add ebp, ebx
cmp byte [ebp], 0x2a
je 0x4f6920
lea ebp, [ecx - 2]
cmp ecx, ebp
jb 0x4f699f
cmp ebp, 2
jb 0x4f6993
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, [0x5ecd98]
xor esi, esi
xor ebp, ebp
jmp 0x4f62e6
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