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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51700a
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
test ecx, 4
jne 0x516a58
mov ecx, dword [esp + 0x7c]
test byte [ecx], al
mov edx, dword [0x71da68]
test edx, edx
je 0x516a4f
mov edx, dword [ecx + 0x10]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [ecx + 0x10], 0
jmp 0x516a5c
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x516a83
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x516a7c
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
xor esi, esi
xor edi, edi
jmp 0x516fee
xor ebx, ebx
jmp 0x516c0e
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x516c0a
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.go_doc.baseTypeName
movzx eax, byte [esp + 0x10]
test al, al
jne 0x516c06
mov eax, dword [esp + 0xc]
test eax, eax
je 0x516ad0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
cmp eax, 1
jne 0x516ad7
cmp byte [ecx], 0x5f
jne 0x516ad7
xor eax, eax
jmp 0x516bd8
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x38]
lea edx, [0x593900]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x516b04
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x516bd8
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x70], eax
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x6c], eax
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x68], eax
lea ecx, [0x5ac8c0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov edx, dword [0x71da68]
test edx, edx
jne 0x516b5d
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
jmp 0x516b7d
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov ebx, dword [esp + 0x70]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x6c]
mov dword [edi + 8], ebp
mov esi, dword [esp + 0x68]
mov dword [edi + 0xc], esi
mov dword [esp + 0x48], eax
mov dword [eax + 8], edx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], esi
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x38]
lea esi, [0x593900]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x516bc4
mov ecx, dword [esp + 0x48]
jmp 0x516bd4
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, ecx
test eax, eax
je 0x516c02
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
test ecx, 4
setne al
mov byte [esp + 8], al
call sym.go_doc.methodSet.set
add esp, 0x74
ret
add esp, 0x74
ret
add esp, 0x74
ret
test ebx, ebx
jle 0x516c28
mov ebx, dword [edx + 4]
mov dword [esp + 0x64], ebx
mov edx, dword [edx + 8]
mov dword [esp + 0x40], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x516c60
mov edx, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
test eax, 4
setne al
mov byte [esp + 8], al
call sym.go_doc.methodSet.set
add esp, 0x74
ret
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx + 1]
mov ebx, dword [esp + 0x64]
mov esi, ecx
mov edi, edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x40]
cmp ebp, edx
jge 0x516da5
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x1c], esi
mov ebx, dword [ebx + ebp*4]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x14]
lea ebp, [0x5fb93c]
cmp edx, ebp
jne 0x516c8d
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ebx
call sym.go_doc.baseTypeName
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], edx
test al, al
je 0x516cba
mov eax, dword [esp + 0x78]
xor ebx, ebx
jmp 0x516cee
mov eax, dword [esp + 0x78]
mov ebx, dword [eax]
test ebx, 1
je 0x516ccf
mov ebx, 1
jmp 0x516cee
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.go_token.IsExported
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x78]
test bl, bl
jne 0x516cf6
xor ebx, ebx
jmp 0x516d6d
mov eax, dword [0x6fe438]
lea ebx, [0x5935c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
jne 0x516d25
xor eax, eax
jmp 0x516d5c
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x38]
lea edx, [0x593900]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
setne al
xor eax, 1
xor eax, 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x78]
test bl, bl
je 0x516d98
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 0xc]
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x516d94
mov esi, dword [ebp + 4]
mov dword [esp + 0x60], esi
mov ebp, dword [ebp + 8]
mov dword [esp + 0x38], ebp
xor edi, edi
jmp 0x516f43
xor ebp, ebp
jmp 0x516dcf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
jmp 0x516c49
cmp esi, 1
jne 0x516c28
mov edx, dword [edi + 0x28]
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
test eax, 4
setne al
mov byte [esp + 8], al
call sym.go_doc.methodSet.set
add esp, 0x74
ret
test ebp, ebp
je 0x516de0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
jmp 0x516c49
test edx, edx
je 0x516dee
cmp edx, 1
jne 0x516df5
cmp byte [ecx], 0x5f
jne 0x516df5
xor ecx, ecx
jmp 0x516f0a
mov ebx, dword [eax + 0x38]
lea ebp, [0x593900]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x516e30
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ebx, dword [esp + 0x7c]
mov ecx, eax
mov eax, dword [esp + 0x78]
jmp 0x516f0a
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x70], eax
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x6c], eax
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x68], eax
lea ecx, [0x5ac8c0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov edx, dword [0x71da68]
test edx, edx
jne 0x516e89
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
jmp 0x516ea9
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x54]
mov dword [edi], edx
mov ebx, dword [esp + 0x70]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x6c]
mov dword [edi + 8], ebp
mov esi, dword [esp + 0x68]
mov dword [edi + 0xc], esi
mov dword [esp + 0x44], eax
mov dword [eax + 8], edx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], esi
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x38]
lea esi, [0x593900]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x516ef0
mov ecx, dword [esp + 0x44]
jmp 0x516f00
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
test ecx, ecx
je 0x516f23
mov edx, dword [esp + 0x1c]
inc edx
cmp edx, 1
jle 0x516f2b
mov esi, edx
mov edi, ecx
mov ecx, ebx
jmp 0x516da5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov ebp, ecx
mov ecx, edx
mov edx, ebp
jmp 0x516c49
inc edi
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp edi, ebp
jge 0x516f6c
mov dword [esp + 0x34], edi
mov ebx, dword [esi + edi*4]
mov eax, dword [ebx + 4]
mov dword [esp + 0x5c], eax
mov ebx, dword [ebx + 8]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
jmp 0x516f86
xor ebp, ebp
jmp 0x516dcf
lea ebp, [esi + 1]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
cmp esi, ebx
jge 0x516f36
mov ebp, dword [eax + esi*4]
mov edi, dword [ebp + 8]
cmp edi, edx
jne 0x516f73
mov dword [esp + 0x58], ebp
mov eax, dword [ebp + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x516fce
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
jmp 0x516f73
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x58]
jmp 0x516dcf
inc esi
add edi, ecx
mov ecx, dword [esp + 0x7c]
cmp esi, ebp
jge 0x517003
mov ecx, dword [ebx + esi*4]
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x516fe7
mov ecx, 1
jmp 0x516fe7
mov ebx, edi
jmp 0x516c0e
call sym.runtime.morestack_noctxt
jmp sym.go_doc._reader_.readFunc