Function at 0x4eb840
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
cmp byte [eax + 3], 0x34
sete dl
and edx, 1
xor ecx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 4]
push eax
call fcn.004fff6c
pop ecx
inc eax
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 8]
push ecx
call fcn.004fff6c
pop ecx
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffe
shl eax, 2
push eax
call fcn.004991e4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4eb8ea
mov eax, 7
jmp 0x4ec0e8
mov edx, dword [ebp + 0x14]
add edx, 0xfffffffe
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00500058
mov dword [ebp - 0x10], 3
mov eax, dword [ebp + 0x18]
add esp, 0xc
lea edx, [eax + 0xc]
mov dword [ebp - 0xa4], edx
jmp 0x4ebbbc
mov ecx, dword [ebp - 0xa4]
cmp dword [ebp - 0x30], 0
mov esi, dword [ecx]
jne 0x4eb976
push esi
call fcn.004fff6c
pop ecx
cmp eax, 8
jbe 0x4eb976
push 8
push str.tokenize
push esi
call fcn.0049b5f8
add esp, 0xc
test eax, eax
jne 0x4eb976
mov al, byte [esi + 8]
push eax
call fcn.004f2b60
pop ecx
test eax, eax
jne 0x4eb976
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [ebp - 0x30]
push ecx
add esi, 9
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.004f2c18
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x4ebbb2
cmp dword [ebp - 0x28], 0
je 0x4ebb9b
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push edx
push ecx
push esi
call fcn.004eb34c
add esp, 0xc
test eax, eax
je 0x4ebb9b
push esi
lea edi, [ebp - 0x94]
mov esi, 0x51c274
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x5c], 0
pop esi
jne 0x4eb9bf
mov dword [ebp - 0xc], 7
jmp 0x4ebbb2
xor ebx, ebx
mov eax, ebx
shl eax, 3
lea edx, [ebp - 0x94]
add eax, edx
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0x58]
jne 0x4eb9e9
push edx
mov eax, dword [eax]
push eax
push esi
call fcn.0049b5f8
add esp, 0xc
test eax, eax
jne 0x4eb9e9
jmp 0x4eb9ef
inc ebx
cmp ebx, 7
jl 0x4eb9c1
cmp ebx, 7
jne 0x4eba13
push esi
push str.unrecognized_parameter:__s
call fcn.0049aac8
add esp, 8
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov dword [ebp - 0xc], 1
jmp case.default.0x4eba1c
cmp ebx, 6
ja case.default.0x4eba1c
jmp dword [ebx*4 + 0x4eba23]
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004fff6c
pop ecx
cmp eax, 4
jne 0x4eba65
push 4
push 0x521b4c
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0049b5f8
add esp, 0xc
test eax, eax
je 0x4eba82
mov ecx, dword [ebp - 0x5c]
push ecx
push str.unrecognized_matchinfo:__s
call fcn.0049aac8
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x3c], 1
jmp case.default.0x4eba1c
mov eax, dword [ebp - 0x44]
push eax
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x44], ecx
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp case.default.0x4eba1c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], ecx
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp case.default.0x4eba1c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], ecx
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp case.default.0x4eba1c
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004fff6c
pop ecx
cmp eax, 3
jne 0x4ebb02
push 3
push 0x521b6c
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0049b5f8
add esp, 0xc
test eax, eax
je 0x4ebb45
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004fff6c
pop ecx
cmp eax, 4
jne 0x4ebb28
push 4
push str.desc
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0049b5f8
add esp, 0xc
test eax, eax
je 0x4ebb45
mov ecx, dword [ebp - 0x5c]
push ecx
push str.unrecognized_order:__s
call fcn.0049aac8
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x5c]
cmp byte [eax], 0x64
je 0x4ebb59
mov ecx, dword [ebp - 0x5c]
cmp byte [ecx], 0x44
je 0x4ebb59
xor eax, eax
jmp 0x4ebb5e
mov eax, 1
mov dword [ebp - 0x40], eax
jmp case.default.0x4eba1c
mov edx, dword [ebp - 0x50]
push edx
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ecx
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp case.default.0x4eba1c
mov edx, dword [ebp - 0x54]
push edx
call fcn.004993e4
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004993e4
pop ecx
jmp 0x4ebbb2
push esi
call fcn.004fff6c
pop ecx
inc eax
add dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + ebx*4], esi
inc dword [ebp - 0x1c]
inc dword [ebp - 0x10]
add dword [ebp - 0xa4], 4
cmp dword [ebp - 0xc], 0
jne 0x4ebbce
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jl 0x4eb91a
cmp dword [ebp - 0xc], 0
jne 0x4ebc8e
cmp dword [ebp - 0x50], 0
je 0x4ebc8e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004993e4
pop ecx
xor eax, eax
mov dword [ebp - 0x48], eax
xor edx, edx
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x1c], 0
jne 0x4ebc8e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004993e4
pop ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 4]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004eb70c
add esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ebc8e
cmp dword [ebp - 0x54], 0
je 0x4ebc8e
xor ebx, ebx
cmp ebx, dword [ebp - 0x1c]
jge 0x4ebc8e
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + ebx*4]
push edx
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0049b5b0
add esp, 8
test eax, eax
jne 0x4ebc88
mov eax, ebx
cmp eax, dword [ebp - 0x1c]
jge 0x4ebc83
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4 + 4]
mov edx, dword [ebp - 0x2c]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebp - 0x1c]
jl 0x4ebc70
dec dword [ebp - 0x1c]
jmp 0x4ebc8e
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x4ebc52
cmp dword [ebp - 0xc], 0
jne 0x4ec06d
cmp dword [ebp - 0x1c], 0
jne 0x4ebcb5
mov eax, dword [ebp - 0x2c]
mov dword [eax], str.content
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x30], 0
jne 0x4ebce1
mov ecx, dword [ebp + 0x20]
push ecx
lea eax, [ebp - 0x30]
push eax
push 0x521b94
mov edx, dword [ebp - 4]
push edx
call fcn.004f2c18
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ec06d
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x34]
push ecx
push eax
mov edx, dword [ebp - 0x44]
push edx
call fcn.004eb65c
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x4ebd14
mov ecx, dword [ebp - 0x44]
push ecx
push str.error_parsing_prefix_parameter:__s
call fcn.0049aac8
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
cmp dword [ebp - 0xc], 0
jne 0x4ec06d
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
shl ecx, 3
shl eax, 2
lea ecx, [ecx + ecx*2]
add eax, ecx
add eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
add eax, 0x108
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004991e4
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ebd5f
mov dword [ebp - 0xc], 7
jmp 0x4ec06d
mov edx, dword [ebp - 0x14]
push edx
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00500058
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
xor edx, edx
mov dword [ecx + 0x18], ebx
mov eax, dword [ebp - 8]
mov dword [eax + 0xf4], edx
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, 0x108
mov dword [ebx + 0x1c], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xf0], 0x100000
cmp dword [ebp - 0x28], 0
je 0x4ebdbf
cmp dword [ebp - 0x3c], 0
je 0x4ebdc3
xor eax, eax
jmp 0x4ebdc8
mov eax, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0xd6], al
mov ebx, dword [ebp - 8]
mov cl, byte [ebp - 0x28]
mov byte [ebx + 0xd5], cl
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x28]
mov byte [edx + 0xd4], al
mov ebx, dword [ebp - 8]
mov cl, byte [ebp - 0x40]
mov byte [ebx + 0xd7], cl
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c], 0xff
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x50]
mov dword [edx + 0x24], ecx
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x28], edx
mov dword [ebp - 0x50], ecx
xor eax, eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
shl ebx, 2
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x1c]
add ecx, ebx
mov dword [eax + 0xec], ecx
mov edx, dword [ebp - 0x34]
shl edx, 3
lea edx, [edx + edx*2]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xec]
push edx
call fcn.00500034
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x34]
xor eax, eax
add esp, 0xc
mov dword [ecx + 0xe8], ebx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x34]
jge 0x4ebe97
push 1
push 1
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
shl edx, 3
mov eax, dword [ecx + 0xec]
lea edx, [edx + edx*2]
add eax, edx
add eax, 4
push eax
call fcn.004f1728
add esp, 0xc
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x34]
jl 0x4ebe68
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax + 0xec]
mov eax, dword [ebp - 0x34]
shl eax, 3
lea eax, [eax + eax*2]
add ebx, eax
mov dword [edx + 0x14], ebx
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
push eax
push ebx
call fcn.00500034
add esp, 0xc
mov edx, dword [ebp - 8]
add ebx, dword [ebp - 0x24]
mov dword [edx + 0x10], ebx
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 4]
push edx
push ebx
call fcn.00500034
add esp, 0xc
add ebx, dword [ebp - 0x20]
xor esi, esi
cmp esi, dword [ebp - 0x1c]
jge 0x4ebf44
xor eax, eax
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], eax
push edx
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
push ecx
call fcn.004f2b84
add esp, 8
mov edx, dword [ebp - 0x98]
push edx
push eax
push ebx
call fcn.00500034
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov byte [ebx + eax], 0
push ebx
call fcn.004eae40
pop ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x1c]
mov dword [eax + esi*4], ebx
mov edx, dword [ebp - 0x98]
inc edx
add ebx, edx
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x4ebeec
cmp dword [ebp - 0x48], 0
sete al
and eax, 1
cmp dword [ebp - 0x4c], 0
sete dl
and edx, 1
cmp eax, edx
je 0x4ebf94
cmp dword [ebp - 0x48], 0
jne 0x4ebf69
mov ecx, str.compress
jmp 0x4ebf6e
mov ecx, str.uncompress
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x9c]
push eax
push str.missing__s_parameter_in_fts4_constructor
call fcn.0049aac8
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004eb454
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [edx + 0xc8], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov eax, dword [ebp - 8]
push eax
call fcn.004eb584
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [edx + 0xcc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ec06d
cmp dword [ebp + 8], 0
je 0x4ebfeb
mov ecx, dword [ebp - 8]
push ecx
call fcn.004eb184
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x28], 0
jne 0x4ec038
cmp dword [ebp + 8], 0
jne 0x4ec038
xor eax, eax
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
push ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
push edx
push str.SELECT_1_FROM__Q._q_stat_WHERE_id2
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0xa0]
push eax
call fcn.004eaf8c
add esp, 0x14
cmp dword [ebp - 0xa0], 0
jne 0x4ec038
mov edx, dword [ebp - 8]
mov byte [edx + 0xd5], 1
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebp - 0xc]
push eax
call fcn.004eb2ac
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 8]
add esp, 8
mov ecx, dword [edx + 0xdc]
add ecx, 0xffffffdd
lea edx, [ebp - 0xc]
mov dword [ebx + 0xd0], ecx
mov eax, dword [ebp - 8]
push eax
push edx
call fcn.004eb084
add esp, 8
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004993e4
pop ecx
mov eax, dword [ebp - 0x38]
push eax
call fcn.004993e4
pop ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004993e4
pop ecx
mov eax, dword [ebp - 0x50]
push eax
call fcn.004993e4
pop ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.004993e4
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004993e4
cmp dword [ebp - 0xc], 0
pop ecx
je 0x4ec0dd
cmp dword [ebp - 8], 0
je 0x4ec0cb
mov eax, dword [ebp - 8]
push eax
call fcn.004eaf18
pop ecx
jmp 0x4ec0e5
cmp dword [ebp - 0x30], 0
je 0x4ec0e5
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
pop ecx
jmp 0x4ec0e5
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret