Function at 0x57ce80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
movsx eax, byte [edx + 3]
xor ecx, ecx
cmp eax, 0x34
sete cl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.004b94b0
add esp, 4
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
push edx
call fcn.004b94b0
add esp, 4
add eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
lea ecx, [eax*4 - 8]
push ecx
call fcn.00509c20
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x57cf4f
mov eax, 7
jmp 0x57d93e
mov edx, dword [ebp + 0x14]
lea eax, [edx*4 - 8]
push eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004bbbe0
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x57cf7a
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x10], 0
jne 0x57d330
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x14]
jge 0x57d330
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x24], 0
jne 0x57d000
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b94b0
add esp, 4
cmp eax, 8
jbe 0x57d000
push 8
push str.tokenize
mov edx, dword [ebp - 0x68]
push edx
call fcn.004f73e0
add esp, 0xc
test eax, eax
jne 0x57d000
mov eax, dword [ebp - 0x68]
mov cl, byte [eax + 8]
push ecx
call fcn.004effe0
add esp, 4
test eax, eax
jne 0x57d000
mov edx, dword [ebp + 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 9
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00533150
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x57d32b
cmp dword [ebp - 0xc], 0
je 0x57d300
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.00513ec0
add esp, 0xc
test eax, eax
je 0x57d300
mov dword [ebp - 0xa0], 0x5ee938
mov dword [ebp - 0x9c], 9
mov dword [ebp - 0x98], str.prefix
mov dword [ebp - 0x94], 6
mov dword [ebp - 0x90], 0x5ee960
mov dword [ebp - 0x8c], 8
mov dword [ebp - 0x88], 0x5ee978
mov dword [ebp - 0x84], 0xa
mov dword [ebp - 0x80], str.order
mov dword [ebp - 0x7c], 5
mov dword [ebp - 0x78], 0x5ee99c
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x70], str.languageid
mov dword [ebp - 0x6c], 0xa
cmp dword [ebp - 0x60], 0
jne 0x57d0b2
mov dword [ebp - 0x10], 7
jmp 0x57d2fe
mov dword [ebp - 0xa4], 0
jmp 0x57d0cd
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 7
jge 0x57d11e
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp + ecx*8 - 0xa0]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax + 4]
jne 0x57d11c
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004f73e0
add esp, 0xc
test eax, eax
jne 0x57d11c
jmp 0x57d11e
jmp 0x57d0be
cmp dword [ebp - 0xa4], 7
jne 0x57d149
mov ecx, dword [ebp - 0x68]
push ecx
push str.unrecognized_parameter:__s
call fcn.00513550
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0x10], 1
jmp case.default.0x57d168
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 6
ja case.default.0x57d168
mov ecx, dword [ebp - 0xc4]
jmp dword [ecx*4 + 0x57d944]
mov edx, dword [ebp - 0x60]
push edx
call fcn.004b94b0
add esp, 4
cmp eax, 4
jne 0x57d197
push 4
push 0x5ee9d8
mov eax, dword [ebp - 0x60]
push eax
call fcn.004f73e0
add esp, 0xc
test eax, eax
je 0x57d1b4
mov ecx, dword [ebp - 0x60]
push ecx
push str.unrecognized_matchinfo:__s
call fcn.00513550
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], 1
jmp case.default.0x57d168
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fee60
add esp, 4
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x60], 0
jmp case.default.0x57d168
mov edx, dword [ebp - 0x54]
push edx
call fcn.004fee60
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], 0
jmp case.default.0x57d168
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004fee60
add esp, 4
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], 0
jmp case.default.0x57d168
mov eax, dword [ebp - 0x60]
push eax
call fcn.004b94b0
add esp, 4
cmp eax, 3
jne 0x57d242
push 3
push 0x5ee9fc
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004f73e0
add esp, 0xc
test eax, eax
je 0x57d287
mov edx, dword [ebp - 0x60]
push edx
call fcn.004b94b0
add esp, 4
cmp eax, 4
jne 0x57d26a
push 4
push str.desc
mov eax, dword [ebp - 0x60]
push eax
call fcn.004f73e0
add esp, 0xc
test eax, eax
je 0x57d287
mov ecx, dword [ebp - 0x60]
push ecx
push str.unrecognized_order:__s
call fcn.00513550
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x60]
movsx ecx, byte [eax]
cmp ecx, 0x64
je 0x57d2a9
mov edx, dword [ebp - 0x60]
movsx eax, byte [edx]
cmp eax, 0x44
je 0x57d2a9
mov dword [ebp - 0xc8], 0
jmp 0x57d2b3
mov dword [ebp - 0xc8], 1
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x28], ecx
jmp case.default.0x57d168
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004fee60
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], 0
jmp case.default.0x57d168
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004fee60
add esp, 4
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.004fee60
add esp, 4
jmp 0x57d32b
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b94b0
add esp, 4
mov edx, dword [ebp - 0x50]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
jmp 0x57cf71
cmp dword [ebp - 0x10], 0
jne 0x57d457
cmp dword [ebp - 0x1c], 0
je 0x57d457
mov edx, dword [ebp - 0x54]
push edx
call fcn.004fee60
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004fee60
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x44], 0
jne 0x57d457
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004fee60
add esp, 4
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00554240
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x57d457
cmp dword [ebp - 0x38], 0
je 0x57d457
mov dword [ebp - 0xac], 0
jmp 0x57d3dc
mov eax, dword [ebp - 0xac]
add eax, 1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [ebp - 0x44]
jge 0x57d457
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.004f7480
add esp, 8
test eax, eax
jne 0x57d452
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
jmp 0x57d421
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0x44]
jge 0x57d447
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0x40]
mov edx, dword [esi + edx*4 + 4]
mov dword [ecx + eax*4], edx
jmp 0x57d412
mov eax, dword [ebp - 0x44]
sub eax, 1
mov dword [ebp - 0x44], eax
jmp 0x57d457
jmp 0x57d3cd
cmp dword [ebp - 0x10], 0
je 0x57d462
jmp 0x57d8ac
cmp dword [ebp - 0x44], 0
jne 0x57d47f
mov ecx, dword [ebp - 0x40]
mov dword [ecx], str.content
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x24], 0
jne 0x57d4ac
mov edx, dword [ebp + 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x5eea28
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00533150
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x57d4ac
jmp 0x57d8ac
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0050af60
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x57d4df
mov edx, dword [ebp - 0x14]
push edx
push str.error_parsing_prefix_parameter:__s
call fcn.00513550
add esp, 8
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
cmp dword [ebp - 0x10], 0
je 0x57d4ea
jmp 0x57d8ac
mov edx, dword [ebp - 0x58]
imul edx, edx, 0x18
add edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
lea ecx, [edx + eax*4 + 0x108]
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.00509c20
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x57d527
mov dword [ebp - 0x10], 7
jmp 0x57d8ac
mov eax, dword [ebp - 0x48]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bbbe0
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xf4], 0
mov ecx, dword [ebp - 4]
add ecx, 0x108
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf0], 0x100000
cmp dword [ebp - 0xc], 0
je 0x57d595
cmp dword [ebp - 0x20], 0
jne 0x57d595
mov dword [ebp - 0xcc], 1
jmp 0x57d59f
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0xcc]
mov byte [eax + 0xd6], cl
mov edx, dword [ebp - 4]
mov al, byte [ebp - 0xc]
mov byte [edx + 0xd5], al
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 0xc]
mov byte [ecx + 0xd4], dl
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x28]
mov byte [eax + 0xd7], cl
mov edx, dword [ebp - 4]
mov byte [edx + 0x2c], 0xff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x28], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x44]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], ecx
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x18
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xec]
push eax
call fcn.004bb670
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0xe8], edx
mov dword [ebp - 0x18], 0
jmp 0x57d649
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x58]
jge 0x57d673
push 1
push 1
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xec]
lea edx, [ecx + edx + 4]
push edx
call fcn.004f03f0
add esp, 0xc
jmp 0x57d640
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x18
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0xec]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004bb670
add esp, 0xc
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004bb670
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
jmp 0x57d6e9
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x44]
jge 0x57d770
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*4]
push eax
call fcn.004f96f0
add esp, 8
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004bb670
add esp, 0xc
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0xb4]
mov byte [ecx], 0
mov edx, dword [ebp - 0x30]
push edx
call fcn.004f0bd0
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x30], eax
jmp 0x57d6e0
xor ecx, ecx
cmp dword [ebp - 0x54], 0
sete cl
xor edx, edx
cmp dword [ebp - 0x5c], 0
sete dl
cmp ecx, edx
je 0x57d7ce
cmp dword [ebp - 0x54], 0
jne 0x57d798
mov dword [ebp - 0xd0], str.compress
jmp 0x57d7a2
mov dword [ebp - 0xd0], str.uncompress
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0xbc]
push ecx
push str.missing__s_parameter_in_fts4_constructor
call fcn.00513550
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00519760
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc8], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.005196a0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0xcc], eax
cmp dword [ebp - 0x10], 0
je 0x57d813
jmp 0x57d8ac
cmp dword [ebp + 8], 0
je 0x57d828
mov eax, dword [ebp - 4]
push eax
call fcn.00564360
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x57d877
cmp dword [ebp + 8], 0
jne 0x57d877
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
push str.SELECT_1_FROM__Q._q_stat_WHERE_id2
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.00561a10
add esp, 0x14
cmp dword [ebp - 0xc0], 0
jne 0x57d877
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xd5], 1
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0055fcd0
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xdc]
sub edx, 0x23
mov eax, dword [ebp - 4]
mov dword [eax + 0xd0], edx
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0057cb30
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fee60
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004fee60
add esp, 4
mov edx, dword [ebp - 0x54]
push edx
call fcn.004fee60
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004fee60
add esp, 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004fee60
add esp, 4
mov edx, dword [ebp - 0x38]
push edx
call fcn.004fee60
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
call fcn.004fee60
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x57d933
cmp dword [ebp - 4], 0
je 0x57d91a
mov ecx, dword [ebp - 4]
push ecx
call fcn.005534b0
add esp, 4
jmp 0x57d931
cmp dword [ebp - 0x24], 0
je 0x57d931
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 4
jmp 0x57d93b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret