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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x495023
sub esp, 0x6c
xor eax, eax
lea edi, [esp + 0x4c]
call fcn.0044bd08
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x49500c
movzx edx, byte [eax + 0xf]
and edx, 0x1f
movzx ebx, byte [ecx + 0xf]
and ebx, 0x1f
cmp edx, ebx
jne 0x495003
lea ebx, [edx - 1]
cmp ebx, 0xf
jbe 0x494ffa
cmp edx, 0x18
je 0x494ffa
cmp edx, 0x1a
je 0x494ffa
cmp edx, 0x13
ja 0x494b7d
cmp edx, 0x11
je 0x494aef
cmp edx, 0x12
je 0x4949dd
cmp edx, 0x13
jne 0x4949d4
movzx edx, word [eax + 0x22]
movzx ebx, word [ecx + 0x22]
cmp dx, bx
jne 0x4949cb
movzx edx, word [eax + 0x20]
movzx ebx, word [ecx + 0x20]
cmp dx, bx
jne 0x4949cb
xor edx, edx
jmp 0x4948bd
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 0x494938
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 0x4948b2
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
xor eax, eax
jmp 0x494943
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 0x4949c2
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 0x49493c
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 0x494a84
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 0x494a28
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 0x494a20
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 0x4949f2
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 0x494b21
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 0x494b19
cmp edx, 0x15
jbe 0x494f15
lea ebx, [edx - 0x16]
cmp ebx, 1
jbe 0x494eb7
cmp edx, 0x19
jne 0x4949d4
mov edx, dword [eax + 0x28]
mov ebx, dword [ecx + 0x28]
cmp edx, ebx
jne 0x494eae
mov dword [esp + 0x30], edx
xor ebx, ebx
jmp 0x494bc4
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 0x494ea5
mov ebp, dword [eax + 0x28]
mov esi, dword [eax + 0x24]
cmp ebx, ebp
jae 0x49501c
lea ebp, [ebx + ebx*2]
mov edi, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x24]
cmp ebx, edi
jae 0x495015
mov edi, dword [esi + ebp*4]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test edi, edi
je 0x494c1a
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 0x494c49
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 0x494e9c
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 0x494e9c
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, [0x714a20]
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 0x494e93
movzx eax, byte [esp + 0x78]
test al, al
jne 0x494e19
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 0x494e10
mov edx, dword [edx + ecx*4]
movzx ebx, byte [edx]
test bl, 1
jne 0x494bb1
mov dword [esp], edx
call dbg.reflect.name.pkgPath
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x494e09
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x494d59
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 0x494dff
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x494dbb
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 0x494df6
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 0x494df6
movzx eax, byte [esp + 0x78]
jmp 0x494bb1
mov byte [esp + 0x7c], 0
add esp, 0x6c
ret
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x74]
jmp 0x494dc3
mov edx, eax
jmp 0x494d61
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 0x494e8a
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 0x494e8a
movzx eax, byte [esp + 0x78]
jmp 0x494ce3
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 0x494f3a
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x494f28
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x494f31
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 0x494f9e
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 0x494f96
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