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

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x466b61
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x6c], ecx
lea edx, [0x507ba0]
mov dword [esp], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x68]
mov dword [esp + 8], ebp
call sym.runtime.mapaccess2
movzx eax, byte [esp + 0x10]
test al, al
jne 0x46663f
mov eax, dword [esp + 0x98]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x6c], ecx
lea edx, [0x507ba0]
mov dword [esp], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
lea ebx, [esp + 0x68]
mov dword [esp + 8], ebx
call sym.runtime.mapassign
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
cmp eax, ecx
je 0x466630
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [eax + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x466621
mov byte [esp + 0x17], bl
mov byte [esp + 0x15], dl
mov dword [esp], ecx
call sym.runtime.toRType
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
call sym.runtime.toRType
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call sym.runtime.rtype.string
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call sym.runtime.rtype.string
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x46616b
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46617a
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.internal_abi._Type_.Uncommon
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
call sym.internal_abi._Type_.Uncommon
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x4661b8
test eax, eax
je 0x466250
test ecx, ecx
je 0x4661bc
test eax, eax
jne 0x4661cb
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.rtype.nameOff
mov eax, dword [esp + 8]
mov dword [esp], eax
call sym.internal_abi.Name.Name
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
mov edx, dword [esp + 4]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.rtype.nameOff
mov eax, dword [esp + 8]
mov dword [esp], eax
call sym.internal_abi.Name.Name
mov eax, dword [esp + 0x20]
cmp dword [esp + 8], eax
jne 0x466612
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x466612
movzx eax, byte [esp + 0x15]
test al, al
je 0x46664e
cmp al, 0x10
jbe 0x466603
cmp al, 0x15
ja 0x4664b4
cmp al, 0x12
jbe 0x4663ff
cmp al, 0x13
jne 0x4662e4
mov eax, dword [esp + 0x98]
movzx ecx, word [eax + 0x22]
mov edx, dword [esp + 0x9c]
cmp word [edx + 0x22], cx
jne 0x4662d5
movzx ecx, word [eax + 0x20]
cmp word [edx + 0x20], cx
jne 0x4662d5
mov dword [esp], eax
call sym.internal_abi._FuncType_.InSlice
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
call sym.internal_abi._FuncType_.InSlice
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x466a83
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
cmp al, 0x14
jne 0x466389
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x88], ebx
mov dword [esp], edx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x46637a
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x46637a
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x9c]
cmp dword [edx + 0x28], ecx
jne 0x46636b
mov dword [esp + 0x3c], ecx
xor ebx, ebx
jmp 0x4668b5
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4663c1
xor eax, eax
jmp 0x4663f1
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa4], al
add esp, 0x94
ret
cmp al, 0x11
je 0x466457
cmp al, 0x12
jne 0x46664e
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x9c]
cmp dword [edx + 0x24], ecx
je 0x466427
xor eax, eax
jmp 0x466449
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa4], al
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
test al, al
je 0x4664a4
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x9c]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x4664a6
xor eax, eax
mov byte [esp + 0xa4], al
add esp, 0x94
ret
cmp al, 0x17
ja 0x46653e
cmp al, 0x16
jne 0x466500
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa4], al
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa4], al
add esp, 0x94
ret
cmp al, 0x18
je 0x4665f4
cmp al, 0x19
jne 0x4665ef
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x9c]
cmp dword [edx + 0x28], ecx
jne 0x4665e0
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x88], ebx
mov dword [esp], edx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x4665d1
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4665d1
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x4666b3
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
cmp al, 0x1a
jne 0x46664e
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
call sym.runtime.printlock
lea eax, [0x52d590]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call sym.runtime.printstring
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x52d013]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.throw
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x46688d
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x84], ecx
mov ebx, dword [esp + 0x9c]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x80], ebp
lea esi, [edx + edx*2]
mov dword [esp + 0x38], esi
mov edi, dword [ecx + esi*4]
mov dword [esp], edi
call sym.internal_abi.Name.Name
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x88], ebp
mov dword [esp], ebx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x46687e
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x46687e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x80]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
test al, al
je 0x46686f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call sym.internal_abi.Name.Tag
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x88], ebp
mov dword [esp], ebx
call sym.internal_abi.Name.Tag
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x466860
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x466860
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + eax*4 + 8]
mov ebx, dword [esp + 0x80]
lea ebp, [ebx + eax*4 + 8]
cmp dword [ebp], edx
jne 0x466851
mov ecx, dword [ecx + eax*4]
mov dword [esp], ecx
call sym.internal_abi.Name.IsEmbedded
movzx eax, byte [esp + 4]
mov byte [esp + 0x16], al
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov ecx, dword [edx + ecx*4]
mov dword [esp], ecx
call sym.internal_abi.Name.IsEmbedded
movzx eax, byte [esp + 0x16]
cmp byte [esp + 4], al
je 0x4666a1
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x9c]
cmp ebx, ecx
jge 0x466a69
mov dword [esp + 0x28], ebx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x7c], ecx
lea ebp, [ecx + ebx*8]
mov dword [esp + 0x58], ebp
mov esi, dword [edx + 0x24]
mov dword [esp + 0x78], esi
lea edi, [esi + ebx*8]
mov dword [esp + 0x44], edi
lea edx, [ecx + ebx*8]
mov edx, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], edx
call sym.runtime.resolveNameOff
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
lea ebx, [edx + ecx*8]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call sym.runtime.resolveNameOff
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call sym.internal_abi.Name.Name
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x466a5a
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x466a5a
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sym.runtime.pkgPath
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call sym.runtime.pkgPath
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x466a4b
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x466a4b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.resolveTypeOff
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], edx
call sym.runtime.resolveTypeOff
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46689c
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
mov edx, dword [esp + 0x30]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jge 0x466ac8
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [eax + ecx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
test al, al
jne 0x466a78
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.internal_abi._FuncType_.OutSlice
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
call sym.internal_abi._FuncType_.OutSlice
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
xor ecx, ecx
jmp 0x466b0d
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jge 0x466b52
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [eax + ecx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call sym.runtime.typesEqual
movzx eax, byte [esp + 0xc]
test al, al
jne 0x466b02
mov byte [esp + 0xa4], 0
add esp, 0x94
ret
mov byte [esp + 0xa4], 1
add esp, 0x94
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.typesEqual