Function at 0x4cc607
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, eax
sub esp, 0xdc
mov eax, dword [eax]
test ecx, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x90], eax
je 0x4cc63a
mov dword [ecx], 0
cmp dword [esi + 0x434], 0
jne 0x4cc652
mov dword [ebp - 0x84], 0
jmp 0x4cc732
cmp dword [ebp - 0x94], 0
je 0x4cc682
mov eax, dword [ebp - 0x94]
cmp dword [eax], 0
je 0x4cc682
mov dword [esp + 8], 0x4bec
mov dword [esp + 4], str.shell.c
mov dword [esp], 0x50a4c6
call fcn.004eaa60
mov eax, dword [ebp - 0x94]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x434]
mov dword [esp], eax
call fcn.004caf7f
mov ecx, dword [ebp - 0x94]
xor edx, edx
test eax, eax
setne dl
mov eax, esi
call fcn.004cc442
jmp 0x4cd2c5
cmp dword [ebp - 0x84], 0
jne 0x4cd2bf
lea eax, [ebp - 0x6c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.0048b371
test eax, eax
mov dword [ebp - 0x84], eax
je 0x4cc742
cmp dword [ebp - 0x94], 0
je 0x4cc732
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x84]
mov edx, str.in_prepare
mov dword [esp], eax
mov eax, dword [ebp - 0x90]
call fcn.004bec0a
mov ecx, dword [ebp - 0x94]
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
jne 0x4cc6bd
jmp 0x4cd2bf
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4cc772
mov eax, dword [ebp - 0x6c]
mov ebx, dword [sym.imp.msvcrt.dll_isspace]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
mov dword [esp], eax
call ebx
test eax, eax
je 0x4cc732
inc dword [ebp - 0x8c]
jmp 0x4cc758
mov dword [esp], eax
call fcn.00403d1c
mov edx, 0x506d14
test eax, eax
mov edi, dword [sym.imp.msvcrt.dll_isspace]
cmove eax, edx
mov dword [0x51a3a8], eax
mov ebx, dword [0x51a3a8]
movzx eax, byte [ebx]
mov dword [esp], eax
call edi
test eax, eax
je 0x4cc7aa
inc ebx
mov dword [0x51a3a8], ebx
jmp 0x4cc78f
cmp byte [esi + 5], 0
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x28], 0
mov dword [esi + 0x21c], eax
je 0x4ccafb
mov dword [esp], eax
call fcn.00403cd1
test eax, eax
jne 0x4ccafb
lea ebx, [ebp - 0x38]
mov dword [esp + 8], 0x51a3b4
mov dword [esp + 4], 0
mov dword [esp], 0x1f
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
call fcn.004b188d
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], 0x1f
call fcn.004b188d
mov dword [esp + 8], 0x51a3b0
mov dword [esp + 4], 2
mov dword [esp], 0x1f
call fcn.004b188d
mov dword [esp + 8], ebx
mov dword [esp + 4], 3
mov dword [esp], 0x1f
call fcn.004b188d
lea eax, [ebp - 0x40]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x3f0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00414b32
cmp byte [esi + 5], 1
jbe 0x4cc89e
mov eax, dword [ebp - 0x90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x3f0
mov dword [esp], eax
call fcn.00414b32
mov eax, dword [0x51a3a8]
mov dword [esp], str.EXPLAIN_QUERY_PLAN__s
mov dword [esp + 4], eax
call fcn.004440e8
mov edi, eax
call fcn.004bd956
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.0048b371
test eax, eax
mov dword [ebp - 0x84], eax
jne 0x4cc988
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0047778f
cmp eax, 0x64
jne 0x4cc97d
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.0041feb6
mov ebx, eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00411c8f
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00411c8f
test ebx, ebx
mov dword [ebp - 0x98], eax
mov eax, 0x506d14
cmove ebx, eax
cmp byte [ebx], 0x2d
jne 0x4cc962
xor edx, edx
xor ecx, ecx
mov eax, esi
call fcn.004c9f77
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x88]
mov eax, esi
mov dword [esp], ebx
call fcn.004c723c
jmp 0x4cc8f1
xor edx, edx
xor ecx, ecx
mov eax, esi
call fcn.004c9f77
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00458aaf
mov dword [esp], edi
call fcn.0040b268
cmp byte [esi + 5], 2
jbe 0x4cca4e
mov eax, dword [0x51a3a8]
mov dword [esp], str.EXPLAIN__s
mov dword [esp + 4], eax
call fcn.004440e8
mov ebx, eax
call fcn.004bd956
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.0048b371
test eax, eax
mov dword [ebp - 0x84], eax
jne 0x4cca3b
mov edx, dword [ebp - 0x38]
mov eax, esi
mov dword [esi + 0x4c], 9
call fcn.004be478
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.004c8b72
mov eax, dword [esi + 0x3b8]
mov dword [esp], eax
call fcn.0040b268
mov dword [esi + 0x3b8], 0
mov dword [esi + 0x3bc], 0
mov dword [esi + 0x3c0], 0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00458aaf
mov dword [esp], ebx
call fcn.0040b268
cmp byte [esi + 5], 1
jbe 0x4ccac3
cmp dword [ebp - 0x40], 0
jne 0x4ccac3
mov eax, dword [ebp - 0x90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f0
mov dword [esp], eax
call fcn.00414b32
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.00458aaf
lea eax, [ebp - 0x70]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.0048b371
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x21c], eax
mov dword [esp + 8], 0x51a3b4
mov dword [esp + 4], 1
mov dword [esp], 0x1f
call fcn.004b188d
mov dword [esp + 8], 0x51a3b0
mov dword [esp + 4], 3
mov dword [esp], 0x1f
call fcn.004b188d
cmp byte [esi + 4], 0
mov eax, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
je 0x4ccb33
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.00403cd1
dec eax
jne 0x4ccb1c
mov dword [esi + 0x4c], 9
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.00403cd1
cmp eax, 2
jne 0x4ccb33
mov dword [esi + 0x4c], 0xc
cmp dword [esi + 0x4c], 9
jne 0x4ccb43
mov edx, dword [ebp - 0x70]
mov eax, esi
call fcn.004be478
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x40], 0
mov dword [esp], edi
call fcn.00403c75
test eax, eax
mov dword [ebp - 0x88], eax
je 0x4ccd43
mov eax, dword [esi]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50a508
mov dword [esp + 8], str.sqlite_parameters
mov dword [esp + 4], str.TEMP
mov dword [esp], eax
call fcn.00490c89
test eax, eax
je 0x4ccbc4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x98], 0xc
jmp 0x4ccbf3
lea eax, [ebp - 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], str.SELECT_value_FROM_temp.sqlite_parameters_WHERE_key_1
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0048b371
mov dword [ebp - 0x98], eax
mov ebx, 1
cmp dword [ebp - 0x88], ebx
jl 0x4ccd38
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00403c87
test eax, eax
mov edx, eax
jne 0x4ccc38
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x50a559
mov dword [esp], 0x1e
mov dword [esp + 4], eax
call fcn.0042a3d9
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 1
mov dword [ebp - 0x9c], edx
mov dword [esp], eax
call fcn.0042e1f2
cmp dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x9c]
jne 0x4cccb3
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4cccb3
mov dword [esp], eax
call fcn.0047778f
cmp eax, 0x64
mov edx, dword [ebp - 0x9c]
jne 0x4cccb3
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00411ce4
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0042e2b3
jmp 0x4ccd27
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp], str._NAN
mov dword [ebp - 0x9c], edx
call fcn.0040ae9f
test eax, eax
mov edx, dword [ebp - 0x9c]
jne 0x4ccce7
fld dword [0x514b08]
fstp qword [esp + 8]
jmp 0x4ccd0d
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], str._INF
call fcn.0040ae9f
test eax, eax
jne 0x4ccd1b
fld dword [0x514b54]
fstp qword [esp + 8]
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0042def4
jmp 0x4ccd27
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0042dfa6
mov eax, dword [ebp - 0x40]
inc ebx
mov dword [esp], eax
call fcn.0045a638
jmp 0x4ccbf8
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.00458aaf
mov edx, dword [ebp - 0x70]
mov eax, esi
call fcn.004c8b72
mov eax, dword [esi + 0x3b8]
mov dword [esp], eax
call fcn.0040b268
xor edx, edx
xor ecx, ecx
mov dword [esi + 0x3b8], 0
mov dword [esi + 0x3bc], 0
mov dword [esi + 0x3c0], 0
mov eax, esi
call fcn.004c9f77
cmp dword [esi + 0x18], 0
je 0x4ccd97
mov eax, dword [ebp - 0x90]
mov edx, esi
call fcn.004ca10b
cmp byte [esi + 8], 0
je 0x4cd22f
mov eax, dword [esi + 0x21c]
mov dword [ebp - 0x58], 0
xor ebx, ebx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x88], eax
mov eax, esi
call fcn.004b8773
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 4
mov dword [ebp - 0x38], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
test eax, eax
jne 0x4cce3a
mov edi, dword [ebp - 0x38]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x98]
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edi, [eax - 1]
mov eax, dword [ebp - 0x88]
call fcn.004beb64
lea eax, [eax + eax*2]
add eax, edi
cmp ebx, eax
cmovl ebx, eax
inc dword [ebp - 0x98]
jmp 0x4ccdce
lea eax, [ebx + 4]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 7
mov dword [esp + 4], 0xffffffff
xor edi, edi
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x60]
fldz
mov dword [esp + 0xc], 1
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [esp], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
fstp qword [ebp - 0x38]
call fcn.00435401
test eax, eax
jne 0x4cd222
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 2
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x48]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x40]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 7
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x68]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 5
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x64]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 6
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
lea eax, [ebp - 0x5c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 3
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00435401
mov eax, dword [ebp - 0x60]
mov dword [esp], 0x506d0a
mov dword [esp + 4], eax
call fcn.004440e8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
mov dword [ebp - 0x9c], eax
jns 0x4cd057
xor ebx, ebx
cmp dword [ebp - 0x4c], 0
jns 0x4cd101
cmp dword [ebp - 0x44], 0
jns 0x4cd101
jmp 0x4cd1f8
mov ebx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
cmp ebx, 0
jl 0x4cd0ff
jg 0x4cd071
cmp ecx, 0
jbe 0x4cd0ff
imul eax, dword [ebp - 0x9c], 0x64
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [ebp - 0xb0], eax
mov eax, 0x64
mul dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa8], eax
mov edx, ebx
mov eax, dword [ebp - 0xb0]
add dword [ebp - 0xa4], eax
mov eax, ecx
shrd eax, edx, 1
sar edx, 1
add eax, dword [ebp - 0xa8]
adc edx, dword [ebp - 0xa4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004e9fbc
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0
mov dword [esp], str._zcycles_lld___d___
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0xc], eax
call fcn.004440e8
mov ebx, eax
jmp 0x4cd101
xor ebx, ebx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
test edx, edx
mov dword [ebp - 0x9c], eax
js 0x4cd144
test ebx, ebx
mov ecx, 0x506d14
mov eax, str._pzErr0__pzErr0
cmove eax, ecx
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp], str._z_sloops_lld
mov dword [esp + 0xc], ecx
call fcn.004440e8
mov ebx, eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
test edx, edx
mov dword [ebp - 0x9c], eax
js 0x4cd187
test ebx, ebx
mov ecx, 0x506d14
mov eax, str._pzErr0__pzErr0
cmove eax, ecx
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp], str._z_srows_lld
mov dword [esp + 0xc], ecx
call fcn.004440e8
mov ebx, eax
cmp dword [ebp - 0x5c], 0
je 0x4cd1be
cmp byte [esi + 8], 1
jbe 0x4cd1be
fld qword [ebp - 0x38]
mov dword [esp + 4], ebx
mov dword [esp], str._z_rpl_.1f_est_.1f
fstp qword [esp + 0x10]
fild qword [ebp - 0x48]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fild qword [ebp - 0x50]
fdivp st(1)
fstp qword [esp + 8]
call fcn.004440e8
mov ebx, eax
mov eax, dword [ebp - 0x88]
mov edx, edi
call fcn.004beb64
lea eax, [eax + eax*2]
sub eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
mov dword [esp + 0xc], ebx
mov dword [esp], str.__z___z_
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.004440e8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x64]
inc edi
mov edx, dword [ebp - 0x68]
mov dword [esp], eax
mov eax, esi
call fcn.004c723c
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call fcn.0040b268
jmp 0x4cce72
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov eax, esi
call fcn.004c9f77
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.00458aaf
cmp dword [ebp - 0x84], 7
je 0x4cd282
test eax, eax
jne 0x4cd27c
mov eax, dword [ebp - 0x6c]
mov ebx, dword [sym.imp.msvcrt.dll_isspace]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
mov dword [esp], eax
call ebx
test eax, eax
je 0x4cd270
inc dword [ebp - 0x8c]
jmp 0x4cd256
mov dword [ebp - 0x84], 0
jmp 0x4cd2b0
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x94], 0
je 0x4cd2b0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x90]
mov edx, str.stepping
mov dword [esp], 0
call fcn.004bec0a
mov ecx, dword [ebp - 0x94]
mov dword [ecx], eax
mov dword [esi + 0x21c], 0
jmp 0x4cc732
mov eax, dword [ebp - 0x84]
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret