Function at 0x41f680
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x454be8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41f6cb
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ebx
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41f6f9
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push 0x45dac8
lea ecx, [esp + 0x20]
push 0x4615e0
push ecx
mov byte [esp + 0x3c], 3
call fcn.0040f030
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x41f73b
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push edi
push eax
mov dword [esp + 0x20], ebx
call sub.msi.dll_MsiEnumClientsA
cmp eax, ebx
je 0x41f7b2
add esi, 0xfffffff0
push esi
call fcn.00401f90
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x41f777
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41f785
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [esp + 0x30], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7a2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi - 0x10]
jmp 0x41f92e
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call sub.msi.dll_MsiViewModify
cmp eax, ebx
je 0x41f81c
add esi, 0xfffffff0
push esi
call fcn.00401f90
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x41f7e1
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41f7ef
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [esp + 0x30], bl
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41f80c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi - 0x10]
jmp 0x41f92e
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41f82a
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
cmp eax, ebx
je 0x41f885
add esi, 0xfffffff0
push esi
call fcn.00401f90
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x41f861
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41f86f
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [esp + 0x30], bl
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x41f800
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov edi, 1
call fcn.0041f960
add esp, 4
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.0040f0a0
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f8cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
push esi
call fcn.00401f90
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x41f8f3
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f901
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [esp + 0x30], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f91f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f947
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret