Function at 0x41f0cf
Capabilities:
Reference sql statements

Disassembly:
push 0x278
mov eax, 0x4afab1
call fcn.0046c44c
mov dword [ebp - 0x25c], ecx
mov eax, dword [0x51ae68]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x250], eax
test eax, eax
jne 0x41f130
push str.Null_pArmUpdate
lea ecx, [ebp - 0x22c]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x22c]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x41f5fc
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x238], esi
xor ebx, ebx
inc ebx
push 0x5c
push esi
mov dword [ebp - 0x258], ebx
mov dword [ebp - 4], ebx
call fcn.00485294
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x41f1a6
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x41f1a6
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
jne 0x41f1a6
push ecx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040a9b9
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.00402e14
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str..
lea ecx, [ebp - 0x238]
call fcn.0040259d
lea ecx, [ebp - 0x284]
call fcn.00461296
xor ebx, ebx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x238]
lea ecx, [ebp - 0x284]
push ebx
push esi
call fcn.00461480
test eax, eax
je 0x41f5d2
lea ecx, [ebp - 0x284]
call fcn.00461630
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x268], eax
call fcn.00461a20
test eax, eax
jne 0x41f5c5
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x284]
call fcn.00461740
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x284]
push 0x10
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x4ba7ec]
lea ecx, [ebp - 0x284]
call edi
test eax, eax
je 0x41f25a
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x220]
push eax
call fcn.0041f0cf
test eax, eax
jne 0x41f6af
jmp 0x41f5b3
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x284]
call fcn.004616f0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 5
push dword [ecx + 4]
mov ecx, eax
call fcn.0040ac4f
mov byte [ebp - 4], 4
mov edi, eax
mov ecx, dword [ebp - 0x260]
add ecx, 0xfffffff0
call fcn.00402e64
test edi, edi
jne 0x41f5b3
push str.Start_validating:
lea ecx, [ebp - 0x23c]
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push eax
push 2
lea edx, [ebp - 0x23c]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.__will_not_use_existing_ARM_update_file
lea ecx, [ebp - 0x224]
call fcn.00402829
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 8
push eax
push ebx
push dword [ebp - 0x220]
mov dword [ebp - 0x234], ebx
call dword [sym.imp.msi.dll_MsiOpenProductW]
test eax, eax
je 0x41f343
push str.failed_to_open_db
lea ecx, [ebp - 0x240]
call fcn.00402829
push ebx
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 9
push eax
push 2
lea edx, [ebp - 0x240]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
jmp 0x41f588
call fcn.00452601
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402899
mov dword [ebp - 0x21c], ebx
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xc
push eax
push str.SELECT_Version_FROM_File_WHERE_FileNameAdobeARM.exe
push dword [ebp - 0x234]
mov dword [ebp - 0x228], ebx
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov edi, eax
test edi, edi
je 0x41f3b9
push str.failed_to_open_view
lea ecx, [ebp - 0x244]
call fcn.00402829
push edi
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xd
push eax
push 2
lea edx, [ebp - 0x244]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x244]
jmp 0x41f550
push ebx
push dword [ebp - 0x228]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
je 0x41f403
push str.failed_to_execute_view
lea ecx, [ebp - 0x248]
call fcn.00402829
push edi
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xe
push eax
push 2
lea edx, [ebp - 0x248]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x248]
jmp 0x41f550
cmp dword [ebp - 0x21c], 0
je 0x41f418
push dword [ebp - 0x21c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
push eax
push dword [ebp - 0x228]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov edi, eax
test edi, edi
je 0x41f46e
push str.failed_to_fetch_view
lea ecx, [ebp - 0x24c]
call fcn.00402829
push edi
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xf
push eax
push 2
lea edx, [ebp - 0x24c]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24c]
jmp 0x41f550
mov eax, 0x104
push eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push dword [ebp - 0x21c]
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040286d
mov edi, dword [ebp - 0x250]
lea ecx, [ebp - 0x22c]
push dword [edi + 0x4c]
call fcn.0040ac4f
test eax, eax
je 0x41f504
push str.versions_do_not_match
lea ecx, [ebp - 0x254]
call fcn.00402829
push ebx
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x10
push eax
push 2
lea edx, [ebp - 0x254]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x254]
jmp 0x41f550
push dword [edi + 0x50]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0x220]
call fcn.0042c2a3
pop ecx
test eax, eax
je 0x41f604
push str.not_valid_signature
lea ecx, [ebp - 0x230]
call fcn.00402829
push ebx
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x12
push eax
push 2
lea edx, [ebp - 0x230]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x21c], 0
je 0x41f56d
push dword [ebp - 0x21c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x228], 0
je 0x41f582
push dword [ebp - 0x228]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x234], 0
je 0x41f5a5
push dword [ebp - 0x234]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x268], 0
jne 0x41f1e2
lea ecx, [ebp - 0x284]
call fcn.00461420
mov dword [ebp - 0x258], ebx
lea ecx, [ebp - 0x284]
call fcn.0046139c
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x258]
call fcn.0046c3f6
ret 4
lea eax, [ebp - 0x220]
mov dword [edi + 0x18], 1
lea ecx, [edi + 8]
push eax
call fcn.00402e14
push str.will_use_found_valid_ARM_update_file:
lea ecx, [ebp - 0x230]
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x11
push eax
push 2
lea edx, [ebp - 0x230]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x21c], 0
je 0x41f669
push dword [ebp - 0x21c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x228], 0
je 0x41f67e
push dword [ebp - 0x228]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x234], 0
je 0x41f6a1
push dword [ebp - 0x234]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x41f5e3