Function at 0x4617d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47af70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x46180e
push 0xc5
push 0x496e04
push str.m_pDb
jmp 0x461b2c
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x461829
push 0xc6
push 0x496e04
push str.pGrowthInfo
jmp 0x461b2c
mov edx, dword [ebp + 8]
test edx, edx
je 0x461b1d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x461b1d
cmp dword [esi], 0
jbe 0x461b3e
push edx
lea eax, [ebp - 0x43c]
push str.SELECT__FROM__s_WHERE_id0_LIMIT_1
push eax
call fcn.00449cf1
mov ecx, dword [ebx + 0x10]
add esp, 0xc
lea eax, [ebp - 0x43c]
mov edx, dword [ecx]
push 0
push eax
call dword [edx]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
xor ecx, ecx
cmp edi, ecx
mov dword [ebp - 4], ecx
jne 0x461899
push 0xcf
push 0x496e04
push str.pRecSet
jmp 0x461b2c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [esi]
mov byte [ebp - 4], 1
cmp eax, ecx
jle 0x46191b
mov dword [ebp - 0x14], eax
jmp 0x4618b3
xor ecx, ecx
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
mov byte [ebp - 4], 2
je 0x461900
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
je 0x4618f3
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00424c80
mov eax, dword [ebp - 0x1c]
add esp, 8
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x461900
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x20]
push edx
push eax
call fcn.00414420
test esi, esi
mov byte [ebp - 4], 1
je 0x46190f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
jne 0x4618b1
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x43c]
push str.SELECT__FROM_cq_growth_record_WHERE_id0_LIMIT_1
push ecx
call fcn.00449cf1
mov ecx, dword [ebx + 0x10]
add esp, 8
lea eax, [ebp - 0x43c]
mov edx, dword [ecx]
push 0
push eax
call dword [edx]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
mov byte [ebp - 4], 3
jne 0x4619af
push 0xe2
push 0x496e04
push str.pRecSet2
push str.CHECK
push 0x48c174
call fcn.00401000
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
add esp, 0x14
sar eax, 2
mov byte [ebp - 4], bl
je 0x46198e
lea edx, [eax*4]
push edx
push ecx
call fcn.00405c50
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x10], 0
sar ecx, 2
je 0x461a83
lea edi, [esi + 4]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push ecx
mov ecx, edi
mov eax, dword [eax + edx*4]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp + 0xc], eax
call fcn.00410a00
mov eax, dword [edi]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x461a69
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax]
mov esi, eax
test esi, esi
je 0x461a69
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push 0x32
push eax
push 1
mov ecx, esi
call dword [edx + 0x60]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 0x2c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
push ecx
mov ecx, edi
call fcn.00462650
mov ecx, dword [edi]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
mov ecx, dword [ebp + 0xc]
je 0x461a3c
cmp ecx, dword [eax + 0x10]
jae 0x461a66
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push edx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
mov dword [ebp - 0x2c], 0
call fcn.00439d80
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.00462260
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
sub edx, eax
inc ecx
sar edx, 2
cmp ecx, edx
mov dword [ebp - 0x10], ecx
jb 0x4619ca
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
sub eax, edi
mov byte [ebp - 4], 0
sar eax, 2
je 0x461afb
shl eax, 2
cmp eax, 0x80
jbe 0x461ad4
push edi
call fcn.0044a7c7
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
add eax, 7
mov ecx, 0x499ad0
shr eax, 3
lea esi, [eax*4 + 0x499ad0]
call fcn.00406cb0
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x499ad0], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xc7
push 0x496e04
push str.szTblName__strlen_szTblName_
push str.CHECK
push 0x48c174
call fcn.00401000
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8