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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x508615
sub esp, 0xf0
mov edx, dword [esp + 0xf8]
cmp edx, 1
jne 0x507aa0
mov ebx, dword [esp + 0xf4]
mov ebp, dword [ebx]
nop
cmp dword [ebp + 8], 2
jge 0x507a6e
xor eax, eax
jmp 0x507aa9
mov eax, dword [ebp + 4]
mov dword [esp], eax
lea eax, [0x61d635]
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 0x507aa9
mov ebx, dword [esp + 0xf4]
xor eax, eax
test al, al
je 0x507afe
test edx, edx
jbe 0x50860b
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_V_0.
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.internal_stringslite.Index
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x508544
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
xor eax, eax
jmp 0x508576
test edx, edx
jbe 0x50853b
mov eax, dword [ebx]
nop
cmp dword [eax + 8], 2
jl 0x507b87
mov eax, dword [eax + 4]
mov dword [esp], eax
lea eax, [0x61d633]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x507b79
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 0x507bc3
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 0x507f18
mov dword [esp + 0x68], eax
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
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]
nop
cmp eax, 2
jge 0x507c08
mov dword [esp + 0x50], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x50]
jmp 0x507c54
mov dword [esp + 0x74], edi
mov dword [esp], edi
lea eax, [0x61d633]
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 0x507ef5
cmp eax, 2
jb 0x50852f
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 0x507d19
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x507cb3
mov ebp, dword [esp + 0xb8]
mov ecx, ebx
jmp 0x507ce8
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, [0x5f6220]
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 [0x7b12d0]
test ebx, ebx
jne 0x507cfb
mov ebx, dword [esp + 0xc8]
jmp 0x507d10
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 0x507baa
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jg 0x507d25
xor eax, eax
jmp 0x507d4f
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 0x507d78
cmp ecx, 1
jb 0x508525
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 0x507d7f
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
nop
test edx, edx
je 0x507d9b
lea ebx, [esp + 0xcc]
cmp edx, ebx
je 0x507da9
jmp 0x50850d
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 0x507e07
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, [0x5ed720]
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 0x507e68
lea edx, [esp + 0xcc]
cmp eax, edx
je 0x507e76
jmp 0x5084f5
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 0x507ec8
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, [0x5ed720]
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 0x507baa
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 0x5084e7
lea eax, [0x61d633]
test edi, edi
je 0x508105
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.0046ffc6
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 0x5084de
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 0x508013
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x508138
mov dword [esp + 0x5c], edx
mov dword [esp + 0xe8], ecx
lea eax, [0x5f8780]
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, [0x61d7d5]
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, [0x61d6c9]
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 [0x7b12d0]
test eax, eax
je 0x5080a9
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, [0x5eb600]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x7b12d0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5080d1
mov eax, dword [esp + 0xc4]
jmp 0x5080df
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 + 0xac], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
test edx, edx
je 0x50830f
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, str._n_tX_V_0.
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call sym.internal_stringslite.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 0x508196
mov eax, 2
lea ebx, [0x61d633]
jmp 0x508243
mov ebx, dword [esp + 0x10]
nop
jle 0x5081d6
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], ebx
mov dword [esp], ebx
lea eax, [0x66c31c]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x508206
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xb0]
mov dword [esp], 0
lea ecx, [0x61d7d8]
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 0x50823f
mov dword [esp], 0
lea eax, [0x61d633]
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, [0x5f8780]
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 [0x7b12d0]
test edx, edx
jne 0x508280
mov edx, dword [esp + 0xb0]
jmp 0x50828e
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 0x5082a7
mov ebp, dword [esp + 0xac]
jmp 0x5082ee
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, [0x5f6220]
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 [0x7b12d0]
test esi, esi
je 0x508128
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x508128
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5083c0
lea eax, [0x5f8780]
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, [0x61d633]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, eax
jb 0x508359
mov ebp, dword [esp + 0xac]
jmp 0x5083a0
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, [0x5f6220]
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 [0x7b12d0]
test esi, esi
je 0x5083b8
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 0x5083ed
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 0x5084d7
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0xe0], ebp
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0xc0], edx
lea ebx, [0x5f8780]
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 [0x7b12d0]
test ebx, ebx
je 0x508456
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 0x50846f
mov ebp, dword [esp + 0xe0]
jmp 0x5084b6
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, [0x5f6220]
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 [0x7b12d0]
test esi, esi
je 0x5083dc
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + edx*4 - 4]
mov dword [edi + 4], esi
jmp 0x5083dc
mov esi, eax
jmp 0x5083c0
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
test ecx, ecx
je 0x5084f0
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x5ed6a0]
mov dword [esp], eax
lea eax, [0x66d5fc]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5ed6a0]
mov dword [esp], eax
lea eax, [0x66d5fc]
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 0x508544
lea ebp, [eax + ebx]
cmp byte [ebp], 0xa
jne 0x508575
lea ebp, [eax + 1]
jmp 0x508589
inc ebp
cmp ebp, ecx
jge 0x508575
jae 0x508604
movzx esi, byte [ebx + ebp]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x508588
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x508588
cmp ebp, ecx
jge 0x508575
jae 0x5085fd
add ebp, ebx
cmp byte [ebp], 0x2a
je 0x508575
lea ebp, [ecx - 2]
cmp ecx, ebp
jb 0x5085f4
cmp ebp, 2
jb 0x5085e8
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, [0x61d635]
xor esi, esi
xor ebp, ebp
jmp 0x507f39
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