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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x54]
push esi
lea ecx, [esp + 8]
lea esi, [eax + 1]
push ecx
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea edx, [esp + 0xc]
push edx
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, 1
xor edx, edx
sub ecx, esi
mov dword [esp + 8], edx
add eax, ecx
test eax, eax
mov dword [esp + 0xc], eax
jle 0x4072f5
push ebp
mov ebp, dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
push edi
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [edi + ecx*4], edx
inc ecx
cmp ecx, eax
jge 0x407129
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
push eax
push ecx
push edi
push ebx
call fcn.004070a0
add esp, 0x1c
jmp case.0x40715c.12
push eax
mov eax, dword [esp + 0x74]
push 0
push edi
push eax
call sub.PComObj.dll_GetVarVectElem
mov ecx, dword [esp + 0x84]
mov esi, eax
xor eax, eax
add esp, 0x10
mov ax, word [ecx]
add eax, 0xfffffffe
cmp eax, 0x11
ja case.0x40715c.12
xor edx, edx
mov dl, byte [eax + 0x407328]
jmp dword [edx*4 + 0x4072fc]
lea eax, [esp + 0x18]
push eax
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_float_]
jmp case.0x40715c.12
lea edx, [esp + 0x34]
push edx
push edi
push ebx
call ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_double_]
jmp case.0x40715c.12
lea edx, [esp + 0x1c]
push edx
push edi
push ebx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_unsigned_char_]
jmp case.0x40715c.12
lea ecx, [esp + 0x20]
push ecx
push edi
push ebx
call ebp
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_unsigned_short_int_]
jmp case.0x40715c.12
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call ebp
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_unsigned_int_]
jmp case.0x40715c.12
lea edx, [esp + 0x60]
push edx
push edi
push ebx
call ebp
movsx eax, word [esp + 0x60]
push eax
mov ecx, esi
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_int_]
jmp case.0x40715c.12
lea ecx, [esp + 0x28]
push ecx
push edi
push ebx
call ebp
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
call dword [sym.imp.pluk.dll_public:_class_Variable____thiscall_Variable::operator_int_]
jmp case.0x40715c.12
lea eax, [esp + 0x2c]
push eax
push edi
push ebx
call ebp
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push eax
push ecx
push esi
mov word [esp + 0x48], 8
mov dword [esp + 0x50], edx
call fcn.00406c90
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
jmp 0x4072d8
lea eax, [esp + 0x64]
push eax
push edi
push ebx
call ebp
mov eax, dword [esi]
xor ecx, ecx
cmp word [esp + 0x64], 0xffff
sete cl
cmp eax, 0x20
mov dword [esp + 0x30], ecx
jg 0x40728e
mov dword [esi], 0
jmp 0x407296
mov ecx, esi
call dword [sym.imp.pluk.dll_private:_void___thiscall_Variable::_Clear_void_]
mov eax, dword [esp + 0x30]
xor edx, edx
test eax, eax
setne dl
mov dword [esi], 1
mov dword [esi + 4], edx
jmp case.0x40715c.12
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x4c]
push ecx
push edi
push ebx
call ebp
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x4c]
push edx
push eax
push esi
call fcn.00406c90
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc edx
cmp edx, eax
mov dword [esp + 0x10], edx
jl 0x4070f9
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x4c
ret