Function at 0x419b20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esp], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x3e], bx
mov dword [ebp - 0x20], 0
call sub.oleaut32.dll_VariantInit
mov edx, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
sub esp, 0x18
mov edx, eax
add eax, eax
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x34], ecx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x419e0d
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], 0
call ebx
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x1c]
sub esp, 0x18
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x20]
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 0x10], 0x400
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0x5431d4
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x34]
mov ebx, eax
mov eax, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 4], 0x355
mov dword [esp], str..._wine_dlls_msi_tests_automation.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.IDispatch::GetIDsOfNames_returned_0x_08x_n
mov dword [esp], eax
call fcn.0052b0e0
test ebx, ebx
je 0x419cb0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
xor edx, edx
xor eax, eax
mov dword [eax + 0x58b3a0], edx
add eax, 4
cmp eax, 0x20
jb 0x419cb4
mov ecx, dword [ebp - 0x30]
movzx eax, word [ebp - 0x44]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x58b3a0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5431d4
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [edx + 0x18]
sub esp, 0x24
mov ebx, eax
test eax, eax
jne 0x419d76
mov dword [esp], 0
call fcn.0052b250
movzx ebx, word [ebp - 0x3e]
mov dword [ebp + 8], edi
mov edi, ebx
jmp 0x419d61
mov dword [esp + 4], 0x35e
mov dword [esp], str..._wine_dlls_msi_tests_automation.c
call fcn.0052ae70
movzx edx, word [esi]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.Variant_result_type_is__d__expected__d_n
cmp dx, di
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
call fcn.0052b2a0
call fcn.0052b280
test eax, eax
jne 0x419d24
cmp word [ebp - 0x3c], 0
mov ebx, eax
mov edi, dword [ebp + 8]
jne 0x419db0
mov eax, dword [edi + 8]
test eax, eax
je 0x419c9d
xor esi, esi
mov eax, esi
add esi, 1
shl eax, 4
add eax, dword [edi]
mov dword [esp], eax
call sub.oleaut32.dll_VariantClear
sub esp, 4
cmp dword [edi + 8], esi
ja 0x419d83
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [ebp - 0x3c]
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call sub.oleaut32.dll_VariantChangeTypeEx
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x362
mov dword [esp], str..._wine_dlls_msi_tests_automation.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.VariantChangeTypeEx_returned_0x_08x_n
mov dword [esp], eax
call fcn.0052b0e0
jmp 0x419d76
mov ebx, 0x80004005
jmp 0x419c9d