Function at 0x4c8750
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56645d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
jne 0x4c8795
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c896a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x1c]
push str.SELECT__Value__FROM__Property__WHERE__Property____s
push eax
call fcn.004087c0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test eax, eax
je 0x4c87e7
push eax
call esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
or edi, 0xffffffff
test eax, eax
jne 0x4c8925
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x4c8925
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c882b
push eax
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
je 0x4c884a
xor bl, bl
jmp 0x4c8915
mov ebx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 0x584008
push 1
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
cmp eax, 0xea
je 0x4c8874
xor bl, bl
jmp 0x4c8915
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
inc eax
push eax
mov dword [ebp + 8], eax
call fcn.004a1310
mov esi, dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
push esi
push 1
push ebx
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
test eax, eax
je 0x4c88b5
mov byte [ebp - 4], 3
push esi
call fcn.00521d18
add esp, 4
xor bl, bl
jmp 0x4c8908
mov edi, dword [ebp + 8]
call fcn.00409310
push eax
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.0040d4c0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00478250
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c88f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
push esi
call fcn.00521d18
add esp, 4
mov bl, 1
mov esi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c8927
push eax
call esi
jmp 0x4c8927
xor bl, bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c8935
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4c8954
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408fe0
int3