Function at 0x535660
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f826d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
jne 0x5356a5
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.00409c60
mov ecx, eax
test ecx, ecx
je 0x53587a
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.00408c40
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 0x5356f7
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 0x535835
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x535835
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x53573b
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 0x53575a
xor bl, bl
jmp 0x535825
mov ebx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 0x6166bc
push 1
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
cmp eax, 0xea
je 0x535784
xor bl, bl
jmp 0x535825
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.0050d960
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 0x5357c5
mov byte [ebp - 4], 3
push esi
call fcn.00590d25
add esp, 4
xor bl, bl
jmp 0x535818
mov edi, dword [ebp + 8]
call fcn.00409c60
push eax
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.0040eb90
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0041b220
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 0x535809
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
push esi
call fcn.00590d25
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 0x535837
push eax
call esi
jmp 0x535837
xor bl, bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x535845
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 0x535864
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.00409920
int3