Function at 0x10018c0d
Capabilities:
Reference sql statements

Disassembly:
push 0x17c
mov eax, 0x100335a8
call fcn.10022f92
mov edi, ecx
push dword [edi]
mov ebx, edx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x140], ebx
call fcn.10017856
lea ecx, [ebp - 0x164]
mov dword [esp], str.PrereqKey
call fcn.1000902f
and dword [ebp - 4], 0
lea eax, [ebp - 0x164]
push eax
call fcn.1001d311
cmp dword [eax + 0x18], 8
jb 0x10018c60
mov eax, dword [eax + 4]
jmp 0x10018c63
add eax, 4
push eax
push str._ChainedPackage__s
lea ebx, [ebp - 0x48]
call fcn.100100a2
pop ecx
pop ecx
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 2
call fcn.10008661
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x64]
call fcn.1000a518
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.1001c912
push dword [edi]
lea eax, [ebp - 0x130]
push eax
call fcn.1001d531
push str.AI_ChainedPackageFile
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.1000902f
mov byte [ebp - 4], 5
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10018cd1
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x10043ab0
lea eax, [ebp - 0x164]
push eax
lea esi, [ebp - 0x130]
call fcn.1001dd35
push ebx
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.10008661
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0xe4]
call fcn.1001d49c
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0xe4]
call fcn.1001d4b1
jmp 0x10018e26
lea esi, [ebp - 0x13c]
call fcn.1000a876
mov edi, str.FileId
push edi
lea ecx, [ebp - 0x164]
mov ebx, eax
call fcn.1000902f
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 6
call fcn.1001d311
push 0
push 1
lea ecx, [ebp - 0x164]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.10008661
push 0x10038d64
lea ecx, [ebp - 0x188]
call fcn.1000902f
lea eax, [ebp - 0x188]
push eax
mov byte [ebp - 4], 7
call fcn.1001d311
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000e0d6
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 9
call fcn.10008661
cmp dword [esi + 0x18], 8
jb 0x10018db5
mov esi, dword [esi + 4]
jmp 0x10018db8
add esi, 4
push esi
push edi
push str.AI_ChainedPackageFile
push str.Content
push str.SELECT___s__FROM___s__WHERE___s__s
lea ebx, [ebp - 0x80]
call fcn.100100a2
add esp, 0x14
mov esi, dword [ebp - 0x134]
push esi
lea edx, [ebp - 0x2c]
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.10018eaf
test al, al
je 0x10018e65
lea eax, [ebp - 0x2c]
push eax
push dword [esi]
call fcn.1001bb10
pop ecx
pop ecx
push 0
push 1
mov ecx, ebx
call fcn.10008661
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10008661
lea edi, [ebp - 0x16c]
lea esi, [ebp - 0x13c]
call fcn.10014743
lea edi, [ebp - 0x148]
lea esi, [ebp - 0x13c]
call fcn.10014778
test al, al
jne 0x10018d23
mov esi, dword [ebp - 0x134]
push dword [esi]
mov ebx, dword [ebp - 0x140]
call fcn.1001af4b
pop ecx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov bl, al
neg bl
sbb bl, bl
inc bl
jmp 0x10018e7f
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.10008661
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10008661
xor bl, bl
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 3
call fcn.1001d608
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.10008661
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10008661
mov al, bl
call fcn.10023015
ret