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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx ecx, word [eax]
cmp cx, word [esi]
jne 0x10047d50
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
lea ebx, [esp + 0x10]
push ebx
push eax
call sub.propsys.dll_VariantToPropVariant
movaps xmm0, xmmword [esp + 0x10]
test eax, eax
movaps xmmword [esp + 0x20], xmm0
js 0x10047d57
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x50], 0
jmp 0x10047d7a
xor ebx, ebx
jmp 0x10047f0e
push eax
call sym.__ZN108__LT_windows_result..error..Error_u20_as_u20_core..convert..From_LT_windows_result..hresult..HRESULT_GT__GT_4from17ha98
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], 1
lea eax, [esp + 0x20]
push eax
call sub.ole32.dll_PropVariantClear
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
push ebx
push esi
call sub.propsys.dll_VariantToPropVariant
movaps xmm0, xmmword [esp + 0x10]
test eax, eax
movaps xmmword [esp + 0x20], xmm0
js 0x10047db3
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x70], eax
xor eax, eax
movsd qword [esp + 0x68], xmm0
jmp 0x10047dcf
push eax
call sym.__ZN108__LT_windows_result..error..Error_u20_as_u20_core..convert..From_LT_windows_result..hresult..HRESULT_GT__GT_4from17ha98
add esp, 4
mov edi, eax
mov esi, edx
lea eax, [esp + 0x20]
push eax
call sub.ole32.dll_PropVariantClear
mov eax, 1
movsd xmm1, qword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x60]
mov ecx, dword [esp + 0x70]
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x30], xmm2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x40]
movsd qword [esp + 0x44], xmm1
mov ecx, dword [esp + 0x20]
or eax, ecx
test al, 1
je 0x10047e45
test cl, cl
je 0x10047e99
test ecx, ecx
lea eax, [esp + 0x28]
je 0x10047e9d
mov cl, 1
xor ebx, ebx
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x28], 0
jne 0x10047edb
jmp 0x10047ee8
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [edi]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [edi + 8]
movzx eax, word [esp + 0x78]
movsd qword [esp + 0x10], xmm0
movsd qword [esp + 0x18], xmm1
cmp ax, word [esp + 0x10]
jne 0x10047ead
lea eax, [esp + 0x78]
push 0
push 0
push ebx
push eax
call sub.propsys.dll_PropVariantCompareEx
test eax, eax
mov eax, ebx
sete bl
jmp 0x10047eb1
lea eax, [esp + 0x28]
push eax
call sub.ole32.dll_PropVariantClear
mov al, 1
xor ebx, ebx
mov dword [esp + 0xc], eax
jmp 0x10047ee8
mov eax, ebx
xor ebx, ebx
push eax
call sub.ole32.dll_PropVariantClear
lea eax, [esp + 0x78]
push eax
call sub.ole32.dll_PropVariantClear
test byte [esp + 0x20], 1
mov dword [esp + 0xc], 0
je 0x10047ee8
lea eax, [esp + 0x28]
cmp dword [esp + 0x28], 0
je 0x10047ee8
lea esi, [esp + 0x38]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
test byte [esp + 0x38], 1
je 0x10047f01
cmp dword [esp + 0x40], 0
je 0x10047f0e
push edi
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
jmp 0x10047f0e
cmp byte [esp + 0xc], 0
je 0x10047f0e
push edi
call sub.ole32.dll_PropVariantClear
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret