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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x518c07
sub esp, 0xa4
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x38]
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0046f594
lea ecx, [0x593900]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x74]
mov dword [esp + 8], edx
call sym.runtime.mapiterinit
jmp 0x51886b
lea eax, [esp + 0x74]
mov dword [esp], eax
call sym.runtime.mapiternext
mov eax, dword [esp + 0x74]
test eax, eax
je 0x518a8a
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test byte [eax], al
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
test edx, 1
je 0x51889b
mov edx, 1
jmp 0x5188b8
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.go_token.IsExported
movzx eax, byte [esp + 8]
mov edx, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x22], dl
mov ecx, dword [0x6fe438]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea esi, [0x5935c0]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5188fe
movzx edx, byte [esp + 0x22]
mov ebx, dword [esp + 0xa8]
jmp 0x518a53
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
test cl, cl
je 0x518917
movzx edx, byte [esp + 0x22]
mov ebx, dword [esp + 0xa8]
jmp 0x51894a
movzx edx, byte [esp + 0x22]
test dl, dl
je 0x518a4c
movzx ebx, byte [eax + 0x14]
test bl, bl
je 0x518935
mov ebx, dword [esp + 0xa8]
jmp 0x51894a
mov ebx, dword [esp + 0xa8]
movzx ebp, byte [ebx + 0x20]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x518a53
mov byte [esp + 0x23], cl
mov ebp, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x30]
mov edi, dword [eax + 0x20]
lea edx, [ebp + edi]
mov ecx, dword [ebx + 0x28]
mov eax, dword [eax + 0x1c]
cmp esi, edx
jae 0x5189a7
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
lea eax, [0x5880e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ecx
lea ebx, [0x5880e0]
mov dword [esp], ebx
sub edx, ebp
sub esi, ebp
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebp, 2
sar esi, 0x1f
and ebp, esi
add ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x30], eax
mov eax, dword [0x71da68]
test eax, eax
jne 0x518a0a
mov edx, dword [esp + 0x40]
jmp 0x518a1b
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x40]
mov dword [edi], edx
mov ebx, dword [ecx + 0x28]
mov dword [edi + 4], ebx
mov dword [ecx + 0x28], edx
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x28]
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0046f594
lea ecx, [0x5a4280]
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ebx, [esp + 0x44]
mov dword [esp + 8], ebx
call sym.runtime.mapiterinit
jmp 0x518a9f
mov ebx, dword [esp + 0xa8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x518a62
test dl, dl
jne 0x51885f
mov ecx, dword [ebx + 0x38]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ebp, [0x593900]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.runtime.mapdelete_faststr
jmp 0x51885f
add esp, 0xa4
ret
mov dword [eax], ecx
lea eax, [esp + 0x44]
mov dword [esp], eax
call sym.runtime.mapiternext
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x518b02
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx + 0x3c]
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
lea esi, [0x5a4280]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
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 0x518af0
mov ecx, dword [esp + 0x3c]
jmp 0x518a91
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
jmp 0x518a91
movzx ecx, byte [esp + 0x23]
test cl, cl
jne 0x518bf2
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x2c]
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0046f594
lea ecx, [0x5a4280]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x44]
mov dword [esp + 8], edx
call sym.runtime.mapiterinit
jmp 0x518b49
lea eax, [esp + 0x44]
mov dword [esp], eax
call sym.runtime.mapiternext
mov eax, dword [esp + 0x44]
test eax, eax
je 0x518bf2
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx + 0x3c]
mov edx, dword [edx]
mov dword [esp + 0x38], edx
lea esi, [0x5a4280]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
jne 0x518b3d
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
lea edx, [0x5a4280]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
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 0x518bdb
mov ecx, dword [esp + 0x38]
jmp 0x518beb
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x518b3d
mov eax, dword [esp + 0x30]
movzx edx, byte [esp + 0x22]
mov ebx, dword [esp + 0xa8]
jmp 0x518a53
call sym.runtime.morestack_noctxt
jmp sym.go_doc._reader_.cleanupTypes