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

Disassembly:
push 0xffffffffffffffff
push 0x449e60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f684]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov ebp, dword [esp + 0x64]
lea eax, [esp + 0x2c]
xor esi, esi
push eax
mov dword [esp + 0x68], esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], esi
call fcn.00401310
mov byte [esp + 0x5c], 1
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], esi
jne 0x410770
mov edx, dword [ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [esp + 0x64]
push eax
push esi
push 0x70
push esi
push ebx
mov dword [esp + 0x78], esi
call ecx
test eax, eax
jne 0x4106a0
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x24]
push edx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x20]
push ecx
push 1
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x20]
jg 0x4106a0
jmp 0x410640
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x3c]
call fcn.00410820
lea ecx, [esp + 0x2c]
cmp ecx, eax
mov byte [esp + 0x5c], 2
je 0x410685
push eax
mov edx, ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl 0x4106d2
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x60], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add edi, 1
xor esi, esi
cmp edi, dword [esp + 0x20]
jle 0x410640
mov eax, dword [esp + 0x64]
cmp eax, esi
je 0x410718
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov word [ebp], si
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x4106e3
push eax
mov word [ebp], 0xa
mov dword [ebp + 8], eax
call fcn.00401080
push eax
mov word [esp + 0x30], 0xa
mov dword [esp + 0x38], eax
call fcn.00401080
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x410808
lea edx, [esp + 0x2c]
push edx
push ebp
mov word [ebp], si
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x41073b
push eax
mov word [ebp], 0xa
mov dword [ebp + 8], eax
call fcn.00401080
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x410808
mov ecx, edi
lea esi, [esp + 0x3c]
call fcn.00410820
lea edx, [esp + 0x2c]
cmp edx, eax
mov byte [esp + 0x5c], 3
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
je 0x4107a9
push eax
mov eax, edx
push eax
call esi
test eax, eax
jge 0x4107a9
push eax
mov word [esp + 0x30], 0xa
mov dword [esp + 0x38], eax
call fcn.00401080
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
call edi
lea edx, [esp + 0x2c]
push edx
push ebp
mov word [ebp], 0
call esi
test eax, eax
jge 0x4107dc
push eax
mov word [ebp], 0xa
mov dword [ebp + 8], eax
call fcn.00401080
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
call edi
mov eax, ebp
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4