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

Disassembly:
mov ecx, dword [0x6e06e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x507c10
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.github.com_go_ole_go_ole._SafeArrayConversion_.TotalElements
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
lea ecx, [0x55a520]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp], ecx
call sym.github.com_go_ole_go_ole.safeArrayGetVartype
movzx eax, word [esp + 4]
mov word [esp + 0x1a], ax
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x50740e
inc edx
cmp edx, ecx
jge 0x507bfc
mov dword [esp + 0x20], edx
cmp ax, 0xb
ja 0x5077c7
cmp ax, 4
ja 0x507609
cmp ax, 2
je 0x507576
cmp ax, 3
je 0x5074e5
cmp ax, 4
jne 0x50740d
lea eax, [0x5598e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x40]
movss xmm0, dword [ebx]
movss dword [esp + 0x24], xmm0
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
call sym.runtime.convT32
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x5598e0]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x5074d3
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x5599e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x58]
mov ebx, dword [ebx]
mov dword [esp], ebx
call sym.runtime.convT32
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x5599e0]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x507564
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x5599a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x5c]
movzx ebx, word [ebx]
mov word [esp], bx
call sym.runtime.convT16
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x5599a0]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x5075f7
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
cmp ax, 5
je 0x507722
cmp ax, 8
je 0x5076a9
cmp ax, 0xb
jne 0x50740d
lea eax, [0x559820]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx]
lea ebp, [0x559820]
mov dword [edx], ebp
mov edx, dword [0x6e0840]
lea esi, [ecx + eax*8 + 4]
lea edi, [0x68d500]
lea ebx, [edi + ebx*8]
test edx, edx
je 0x507697
mov edx, dword [esi]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edi, [0x68d500]
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.github.com_go_ole_go_ole.safeArrayGetElementString
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call sym.runtime.convTstring
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x5597e0]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x507710
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x559920]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x3c]
movsd xmm0, qword [ebx]
movsd qword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sym.runtime.convT64
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x559920]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x5077b5
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
cmp ax, 0x11
ja 0x507980
cmp ax, 0xc
je 0x5078f3
cmp ax, 0x10
je 0x507871
cmp ax, 0x11
jne 0x50740d
lea eax, [0x559b20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x50]
movzx ebx, byte [ebx]
lea ebp, [0x559b20]
mov dword [edx], ebp
mov edx, dword [0x6e0840]
lea esi, [ecx + eax*8 + 4]
lea edi, [0x68d500]
lea ebx, [edi + ebx*8]
test edx, edx
je 0x50785f
mov edx, dword [esi]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edi, [0x68d500]
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x559a60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx]
lea ebp, [0x559a60]
mov dword [edx], ebp
mov edx, dword [0x6e0840]
lea esi, [ecx + eax*8 + 4]
lea edi, [0x68d500]
lea ebx, [edi + ebx*8]
test edx, edx
je 0x5078e1
mov edx, dword [esi]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edi, [0x68d500]
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x56b280]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.github.com_go_ole_go_ole._VARIANT_.Value
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 4]
lea ebp, [ecx + eax*8 + 4]
mov esi, dword [esp + 8]
mov dword [edx], ebx
mov edx, dword [0x6e0840]
test edx, edx
je 0x50795f
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov edx, dword [ebp]
mov dword [edi + 4], edx
mov dword [ebp], esi
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.github.com_go_ole_go_ole.VariantClear
movzx eax, word [esp + 0x1a]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x50740d
cmp ax, 0x13
jbe 0x507ace
cmp ax, 0x14
je 0x507a36
cmp ax, 0x15
jne 0x50740d
lea eax, [0x559be0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym.runtime.convT64
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x559be0]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x507a24
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x559a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym.runtime.convT64
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x559a20]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x507abc
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
cmp ax, 0x12
jne 0x507b6b
lea eax, [0x559c60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x4c]
movzx ebx, word [ebx]
mov word [esp], bx
call sym.runtime.convT16
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x559c60]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x507b59
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
lea eax, [0x559ae0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.github.com_go_ole_go_ole.safeArrayGetElement
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x48]
mov ebx, dword [ebx]
mov dword [esp], ebx
call sym.runtime.convT32
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x559ae0]
mov esi, dword [esp + 0x30]
mov dword [esi], ebp
mov esi, dword [0x6e0840]
test esi, esi
je 0x507bea
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x50740d
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_go_ole_go_ole._SafeArrayConversion_.ToValueArray