Function at 0x41ab80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597503
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x60dfd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0
lea eax, [edi + 0xcc8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0
call fcn.00410650
mov esi, eax
mov dword [ebp - 0x9c], 1
lea eax, [edi + 0x68]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00411ef0
mov eax, dword [esi]
test eax, eax
je 0x41ac4a
mov eax, dword [eax]
jmp 0x41ac4c
xor eax, eax
push eax
lea ecx, [ebp - 0x8c]
call fcn.004104f0
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x41acac
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x41acac
test esi, esi
je 0x41acac
mov eax, dword [esi]
test eax, eax
je 0x41ac8a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41aca1
push eax
call fcn.0041d1ed
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0056a733
add esp, 8
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x41acbd
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0
push dword [ebp - 0x8c]
call dword [sym.imp.msi.dll_MsiOpenProductW]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx], eax
test eax, eax
jne 0x41adfd
mov eax, dword [ebp - 0x90]
lea edi, [ebp - 0x88]
mov ecx, 0x1d
mov esi, str.SELECT__FROM_Property_WHERE_Property.PropertySUPPORTOS
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test eax, eax
je 0x41ad11
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov esi, dword [ebp - 0xa8]
mov dword [esi], eax
test eax, eax
jne 0x41adef
push eax
push dword [ebp - 0x90]
call dword [sym.imp.msi.dll_MsiViewModify]
mov dword [esi], eax
test eax, eax
jne 0x41ade1
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x41ad6d
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push dword [ebp - 0x90]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov dword [esi], eax
test eax, eax
jne 0x41add3
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0x9c]
push eax
push esi
push 2
push dword [ebp - 0x94]
mov dword [ebp - 0x9c], 0x104
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
push esi
push dword [ebp - 0x8c]
push str.SetupInfo::QuerySupportedOS:_Queried_database__s_for_supported_OS__s_n
call fcn.0041c4c0
mov dword [ebp - 0xa4], 1
jmp 0x41ae0e
push eax
push dword [ebp - 0x8c]
push str.SetupInfo::QuerySupportedOS:_MsiViewFetch_for_database__s_fails:_error_code___d__n
jmp 0x41ae09
push eax
push dword [ebp - 0x8c]
push str.SetupInfo::QuerySupportedOS:_MsiViewExecute_for_database__s_fails:_error_code___d__n
jmp 0x41ae09
push eax
push dword [ebp - 0x8c]
push str.SetupInfo::QuerySupportedOS:_MsiDatabaseOpenView_for_database__s_fails:_error_code___d__n
jmp 0x41ae09
push eax
push dword [ebp - 0x8c]
push str.SetupInfo::QuerySupportedOS:_MsiOpenDatabase_for_database__s_fails:_error_code___d_
call fcn.0041c4c0
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41ae3b
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5a72d4]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x41ae4c
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x41ae5d
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x41ae6e
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056a6fa
mov esp, ebp
pop ebp
ret 8