Function at 0x41c182
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41c188
call fcn.0048d6d0
mov edx, dword [esp + 0x3c]
lea ecx, [esp]
call fcn.0042e000
push 1
call fcn.0040e3ec
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push dword [esp + 8]
call fcn.0048b760
lea eax, [esp + 4]
push eax
call fcn.0048d5d0
mov eax, 0x5de316
push eax
push dword [esp + 4]
call fcn.0048ad20
mov ebx, eax
and ebx, ebx
jle 0x41c217
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov eax, 0x5cf948
push eax
mov eax, 0x5de316
push eax
push dword [esp + 0x10]
call fcn.0048b450
lea eax, [esp + 4]
push eax
call fcn.0048d5d0
push dword [0x8f9c3c]
pop eax
mov dword [esp + 8], eax
push 0x4d
call fcn.00473591
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov edx, str.SELECT_key__Description__Blocked__Lic__ActivCount__ActivVal__Comment__EditionID__SubType_FROM_keys_WHERE_key_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, str.__OR_Comment_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, str.__OR_Description_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, str.__OR_SKUID_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, str.__OR_ActivCount_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, str.__OR_EditionID_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, str.__OR_SubType_LIKE__
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, 0x5d3972
push edx
call fcn.0048d570
call fcn.0048d660
push dword [esp + 0x10]
call fcn.0042e5e2
add dword [esp + 4], edx
call fcn.0047f11d
call fcn.0042e610
mov ebx, eax
and ebx, ebx
je 0x41c5b8
push dword [esp + 8]
call fcn.0047f12f
and eax, eax
je 0x41c5ad
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 0
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x10]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 1
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x14]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 2
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x18]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 3
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x1c]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 4
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x20]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 5
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x24]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 6
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x28]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 7
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x2c]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 8
push dword [esp + 0x14]
call fcn.0047f157
lea eax, [esp + 0x30]
push eax
call fcn.0048d5d0
push dword [esp + 0x10]
mov edx, 0x5cf064
pop ecx
call fcn.0042e590
jne 0x41c49d
push dword [esp + 0x10]
push 0xffffffff
push 0x4d
call fcn.004737e6
mov edx, 0x5cf064
lea ecx, [esp + 0x30]
call fcn.0042e008
push dword [esp + 0x14]
mov edx, 0x5cf064
pop ecx
call fcn.0042e590
jne 0x41c4da
mov edx, dword [esp + 0x14]
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d570
lea eax, [esp + 0x34]
push eax
call fcn.0048d5d0
jmp 0x41c512
push dword [esp + 0x1c]
mov edx, 0x5cf064
pop ecx
call fcn.0042e590
jne 0x41c512
push edx
call fcn.0048d530
pop edx
push eax
mov edx, 0x5d0658
push edx
call fcn.0048d570
mov edx, dword [esp + 0x20]
push edx
call fcn.0048d570
lea eax, [esp + 0x34]
push eax
call fcn.0048d5d0
push dword [esp + 0xc]
mov edx, 0x5cf064
pop ecx
call fcn.0042e590
jne 0x41c589
push edx
call fcn.0048d530
pop edx
push eax
mov edx, dword [esp + 0x10]
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d570
mov edx, 0x5cf3a2
push edx
call fcn.0048d570
mov edx, dword [esp + 0x38]
push edx
call fcn.0048d570
mov edx, 0x5cf3a2
push edx
call fcn.0048d570
mov edx, dword [esp + 0x2c]
push edx
call fcn.0048d570
call fcn.0048d660
push 0xffffffff
push 0x4d
call fcn.0042e5e2
add dword [esp + 8], edx
call fcn.004737e6
call fcn.0042e610
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
cmp ebx, 0x1e
jle 0x41c5a8
mov dword [esp + 4], 0
call fcn.0041a818
jmp 0x41c300
push dword [esp + 8]
call fcn.0047f184
jmp 0x41c5b8
push 0
call fcn.0040e3ec
xor eax, eax
push dword [esp + 0x2c]
call fcn.0048d760
push dword [esp + 0x1c]
call fcn.0048d760
push dword [esp + 0x18]
call fcn.0048d760
push dword [esp]
call fcn.0048d760
push dword [esp + 0x28]
call fcn.0048d760
push dword [esp + 0x20]
call fcn.0048d760
push dword [esp + 0x30]
call fcn.0048d760
push dword [esp + 0x24]
call fcn.0048d760
push dword [esp + 0x10]
call fcn.0048d760
push dword [esp + 0xc]
call fcn.0048d760
push dword [esp + 0x14]
call fcn.0048d760
add esp, 0x34
pop ebx
ret 4