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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x491893
sub esp, 0x6c
xor eax, eax
lea edi, [esp + 0x4c]
call fcn.0044c048
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x49187c
movzx edx, byte [eax + 0xf]
and edx, 0x1f
movzx ebx, byte [ecx + 0xf]
and ebx, 0x1f
cmp edx, ebx
jne 0x491873
lea ebx, [edx - 1]
cmp ebx, 0xf
jbe 0x49186a
cmp edx, 0x18
je 0x49186a
cmp edx, 0x1a
je 0x49186a
cmp edx, 0x13
ja 0x4913ed
cmp edx, 0x11
je 0x49135f
cmp edx, 0x12
je 0x49124d
cmp edx, 0x13
jne 0x491244
movzx edx, word [eax + 0x22]
movzx ebx, word [ecx + 0x22]
cmp dx, bx
jne 0x49123b
movzx edx, word [eax + 0x20]
movzx ebx, word [ecx + 0x20]
cmp dx, bx
jne 0x49123b
xor edx, edx
jmp 0x49112d
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp], eax
call dbg.reflect.(*rtype).NumIn
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jge 0x4911a8
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.reflect.(*rtype).In
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
call dbg.reflect.(*rtype).In
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
test al, al
jne 0x491122
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
xor eax, eax
jmp 0x4911b3
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call dbg.reflect.(*rtype).NumOut
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jge 0x491232
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.reflect.(*rtype).Out
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], ebx
call dbg.reflect.(*rtype).Out
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4911ac
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 1
add esp, 0x6c
ret
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov dword [esp], ecx
call dbg.reflect.(*rtype).ChanDir
mov eax, dword [esp + 4]
cmp eax, 3
je 0x4912f4
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dbg.reflect.(*rtype).ChanDir
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call dbg.reflect.(*rtype).ChanDir
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
je 0x491298
xor eax, eax
mov byte [esp + 0x7c], al
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
jmp 0x491290
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
test al, al
je 0x491262
mov byte [esp + 0x7c], 1
add esp, 0x6c
ret
mov dword [esp], eax
call dbg.reflect.(*rtype).Len
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
call dbg.reflect.(*rtype).Len
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x491391
xor eax, eax
mov byte [esp + 0x7c], al
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
jmp 0x491389
cmp edx, 0x15
jbe 0x491785
lea ebx, [edx - 0x16]
cmp ebx, 1
jbe 0x491727
cmp edx, 0x19
jne 0x491244
mov edx, dword [eax + 0x28]
mov ebx, dword [ecx + 0x28]
cmp edx, ebx
jne 0x49171e
mov dword [esp + 0x30], edx
xor ebx, ebx
jmp 0x491434
mov ebp, dword [esp + 0x1c]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
cmp ebx, edx
jge 0x491715
mov ebp, dword [eax + 0x28]
mov esi, dword [eax + 0x24]
cmp ebx, ebp
jae 0x49188c
lea ebp, [ebx + ebx*2]
mov edi, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x24]
cmp ebx, edi
jae 0x491885
mov edi, dword [esi + ebp*4]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test edi, edi
je 0x49148a
lea eax, [edi + 3]
mov dword [esp + 0x64], eax
movzx eax, byte [edi + 1]
shl eax, 8
movzx edi, byte [edi + 2]
or edi, eax
mov dword [esp + 0x68], edi
mov eax, dword [ecx + ebp*4]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test eax, eax
je 0x4914b9
lea edi, [eax + 3]
mov dword [esp + 0x5c], edi
movzx edi, byte [eax + 1]
shl edi, 8
movzx eax, byte [eax + 2]
or edi, eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
cmp edx, eax
jne 0x49170c
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], esi
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call dbg.runtime.eqstring
movzx eax, byte [esp + 0x10]
test al, al
je 0x49170c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + eax*4 + 4]
lea esi, [0x75cf60]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp], esi
mov dword [esp + 4], edx
movzx edx, byte [esp + 0x78]
mov byte [esp + 0x10], dl
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
test al, al
je 0x491703
movzx eax, byte [esp + 0x78]
test al, al
jne 0x491689
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ebx, dword [edx + ecx*4 + 8]
mov ebp, dword [esp + 0x48]
mov esi, dword [ebp + ecx*4 + 8]
cmp ebx, esi
jne 0x491680
mov edx, dword [edx + ecx*4]
movzx ebx, byte [edx]
test bl, 1
jne 0x491421
mov dword [esp], edx
call dbg.reflect.name.pkgPath
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x491679
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x4915c9
lea edx, [ecx + 3]
mov dword [esp + 0x4c], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or ecx, edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + eax*4]
mov dword [esp], eax
call dbg.reflect.name.pkgPath
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x49166f
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x49162b
lea edx, [ecx + 3]
mov dword [esp + 0x54], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or edx, ecx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x491666
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call dbg.runtime.eqstring
movzx eax, byte [esp + 0x10]
test al, al
je 0x491666
movzx eax, byte [esp + 0x78]
jmp 0x491421
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x74]
jmp 0x491633
mov edx, eax
jmp 0x4915d1
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call dbg.reflect.name.tag
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call dbg.reflect.name.tag
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x28]
cmp eax, edx
jne 0x4916fa
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call dbg.runtime.eqstring
movzx eax, byte [esp + 0x10]
test al, al
je 0x4916fa
movzx eax, byte [esp + 0x78]
jmp 0x491553
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 1
add esp, 0x6c
ret
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov dword [esp], eax
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x7c], al
add esp, 0x6c
ret
cmp edx, 0x14
jne 0x4917aa
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x491798
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4917a1
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 1
add esp, 0x6c
ret
mov dword [esp], eax
call dbg.reflect.(*rtype).Key
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call dbg.reflect.(*rtype).Key
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
test al, al
jne 0x49180e
xor eax, eax
mov byte [esp + 0x7c], al
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call dbg.reflect.(*rtype).Elem
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x10], al
call dbg.reflect.haveIdenticalType
movzx eax, byte [esp + 0x14]
jmp 0x491806
mov byte [esp + 0x7c], 1
add esp, 0x6c
ret
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov byte [esp + 0x7c], 1
add esp, 0x6c
ret
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.reflect.haveIdenticalUnderlyingType