Function at 0x573593
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xd0
push ebx
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx + 0x22c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x230]
xor ecx, ecx
inc ecx
mov dword [ebx + 0x22c], eax
inc eax
push esi
mov esi, dword [ebp + 0x78]
mov dword [ebx + 0x230], eax
push edi
mov edi, dword [ebx]
xor eax, eax
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x4c], edi
cmp esi, eax
je 0x57418c
cmp byte [edi + 0x1e], al
jne 0x57418c
cmp dword [ebx + 0x40], eax
jne 0x57418c
push eax
push eax
push eax
push 0x15
mov eax, ebx
call fcn.0054c27a
add esp, 0x10
test eax, eax
je 0x573605
xor eax, eax
inc eax
jmp 0x57418e
push 0x2c
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.005847c0
mov eax, dword [ebp + 0x7c]
add esp, 0xc
cmp byte [eax], 4
ja 0x573634
push edi
mov edi, dword [esi + 0x18]
call fcn.00544adc
and dword [esi + 0x18], 0
mov eax, 0xfffe
and word [esi + 6], ax
pop ecx
push 0
push esi
push ebx
call fcn.00573540
mov eax, dword [esi + 0x18]
mov dword [ebp + 0x58], eax
mov eax, dword [esi + 8]
mov dword [ebp + 0x34], eax
mov eax, dword [esi]
add esp, 0xc
cmp dword [ebx + 0x40], 0
mov dword [ebp + 0x40], eax
jne 0x574145
mov eax, dword [ebp + 0x4c]
cmp byte [eax + 0x1e], 0
jne 0x574145
movzx eax, word [esi + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [ebp + 0x44], eax
call fcn.00550c2e
mov dword [ebp + 0x68], eax
test eax, eax
je 0x574145
mov eax, dword [ebp + 0x40]
push dword [eax]
mov eax, dword [ebp + 0x7c]
call fcn.0054d520
pop ecx
test eax, eax
jne 0x574145
and dword [ebp + 0x48], eax
jmp 0x57378f
mov eax, dword [ebp + 0x34]
movsx ecx, word [eax]
cmp dword [ebp + 0x48], ecx
jge 0x573799
mov ecx, dword [ebp + 0x48]
imul ecx, ecx, 0x38
lea ebx, [ecx + eax + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x24], eax
test eax, eax
je 0x57378c
cmp byte [ebx + 0x14], 0
jne 0x57378c
mov eax, esi
call fcn.005449df
mov ecx, dword [ebp + 0x74]
add dword [ecx + 0x220], eax
mov eax, dword [ebp + 0x24]
movzx edi, word [eax + 6]
shr edi, 2
and edi, 1
push edi
push dword [ebp + 0x44]
mov eax, esi
push dword [ebp + 0x48]
push ecx
call fcn.00554a9b
add esp, 0x10
test eax, eax
je 0x57371f
test edi, edi
je 0x573719
or word [esi + 6], 4
mov dword [ebp + 0x44], 1
or dword [ebp + 0x48], 0xffffffff
jmp 0x57375b
push dword [ebx + 0x18]
lea eax, [ebp - 0x64]
push 9
call fcn.00545c31
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x230]
mov edi, dword [ebp + 0x24]
mov byte [ebx + 0x17], cl
lea ecx, [ebp - 0x64]
push ecx
push edi
push eax
call fcn.00573593
mov byte [ebx + 0x14], 1
fld qword [edi + 0x48]
add esp, 0x14
call fcn.00584c66
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x4c]
cmp byte [eax + 0x1e], 0
jne 0x574145
mov eax, esi
call fcn.005449df
mov ecx, dword [ebp + 0x74]
sub dword [ecx + 0x220], eax
mov eax, dword [esi + 8]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x7c]
cmp byte [eax], 4
jbe 0x57378c
mov eax, dword [esi + 0x18]
mov dword [ebp + 0x58], eax
inc dword [ebp + 0x48]
cmp dword [esi + 0x1c], 0
je 0x5736a5
mov eax, dword [esi]
mov dword [ebp + 0x40], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [ebp + 0x18], eax
movzx eax, word [esi + 6]
mov ecx, eax
and ecx, 1
cmp dword [esi + 0x1c], 0
mov dword [ebp + 0x2c], ecx
je 0x57381d
cmp dword [esi + 0x24], 0
jne 0x5737ff
xor ecx, ecx
xor edx, edx
mov eax, esi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], esi
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x5737ce
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x5737ff
cmp edx, eax
jle 0x5737ff
mov edi, dword [ebp + 0x74]
push str.too_many_terms_in_compound_SELECT
call fcn.005484b6
pop ecx
jmp 0x574145
push dword [ebp + 0x7c]
mov edi, dword [ebp + 0x74]
push edi
mov eax, esi
call fcn.0055ae98
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x22c], ecx
jmp 0x57418e
and al, 5
cmp al, 1
jne 0x573841
mov ebx, dword [ebp + 0x40]
push 0
push dword [ebp + 0x4c]
call fcn.0054b80a
mov dword [esi + 0x10], eax
mov dword [ebp + 0x64], eax
pop ecx
mov eax, 0xfffe
and word [esi + 6], ax
pop ecx
mov ebx, dword [ebp + 0x58]
mov edi, dword [esi + 0x10]
call fcn.00544e1a
test eax, eax
jne 0x57385d
mov eax, dword [ebp + 0x4c]
test byte [eax + 0xc], 0x20
jne 0x57385d
and dword [ebp + 0x58], 0
mov edi, dword [ebp + 0x58]
mov ebx, dword [ebp + 0x74]
test edi, edi
je 0x57389a
push edi
push ebx
call fcn.0055833b
mov ecx, dword [ebx + 0x44]
push 0xfffffffffffffff0
push eax
mov dword [edi + 8], ecx
inc dword [ebx + 0x44]
mov eax, dword [edi]
push 0
inc eax
inc eax
push eax
push dword [edi + 8]
push dword [ebp + 0x68]
push 0x29
pop eax
call fcn.0054eede
add esp, 0x20
mov dword [ebp + 0x50], eax
mov dword [esi + 0x40], eax
jmp 0x57389e
or dword [ebp + 0x50], 0xffffffff
mov eax, dword [ebp + 0x7c]
cmp byte [eax], 9
jne 0x5738bb
mov ecx, dword [ebp + 0x40]
push dword [ecx]
mov ecx, dword [ebp + 0x68]
push dword [eax + 4]
push 0x29
pop eax
call fcn.0054a6fe
pop ecx
pop ecx
mov eax, dword [ebp + 0x68]
call fcn.0054a711
fld qword [0x5b7298]
mov dword [ebp - 0x30], eax
fstp qword [esi + 0x48]
push eax
mov eax, esi
mov ecx, ebx
call fcn.00550c57
test byte [esi + 6], 1
pop ecx
je 0x573916
mov edi, dword [ebx + 0x44]
lea eax, [edi + 1]
mov dword [ebx + 0x44], eax
push dword [esi]
mov dword [ebp + 0x24], edi
push ebx
call fcn.0055833b
push 0xfffffffffffffff0
push eax
push 0
push 0
push edi
push dword [ebp + 0x68]
push 0x29
pop eax
call fcn.0054eede
mov ecx, dword [ebp + 0x68]
add esp, 0x20
mov dl, 0x10
call fcn.00543e9d
jmp 0x57391a
or dword [ebp + 0x24], 0xffffffff
cmp dword [ebp + 0x44], 0
mov edi, dword [ebp + 0x64]
jne 0x57399f
test edi, edi
jne 0x5739a3
push edi
lea eax, [ebp + 0x58]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x34]
push ebx
call fcn.0056c70d
mov edi, eax
add esp, 0x14
test edi, edi
je 0x574145
fld qword [esi + 0x48]
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x573958
fld qword [edi + 0x28]
fstp qword [esi + 0x48]
cmp dword [ebp + 0x50], 0
jl 0x573976
cmp dword [ebp + 0x58], 0
jne 0x573976
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x68]
push 1
call fcn.0054a906
or dword [esi + 0x40], 0xffffffff
pop ecx
push dword [edi + 0x14]
mov eax, dword [ebp + 0x7c]
push dword [edi + 0x10]
push 0xffffffffffffffff
push dword [ebp + 0x58]
push 0
push 0
push dword [ebp + 0x40]
push esi
push ebx
call fcn.0055049b
add esp, 0x24
call fcn.0054dda6
jmp 0x5740fc
test edi, edi
je 0x5739ec
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
test ecx, ecx
jle 0x5739be
add eax, 0x10
xor edx, edx
mov word [eax], dx
dec ecx
add eax, 0x14
test ecx, ecx
jg 0x5739b1
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x5739d7
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x5739ca
fld qword [0x5e86b8]
fcom qword [esi + 0x48]
fnstsw ax
test ah, 5
jp 0x5739f0
fstp qword [esi + 0x48]
jmp 0x5739f2
fld1
jmp 0x5739e7
fstp st(0)
mov eax, dword [ebp + 0x68]
call fcn.0054a711
push 0x24
mov dword [ebp + 0x38], eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005847c0
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], eax
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x38], eax
test edi, edi
je 0x573a28
mov eax, dword [edi]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x573a2c
and dword [ebp - 0x1c], 0
mov esi, dword [ebp + 0x40]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x20], edi
call fcn.00552eea
mov esi, dword [ebp + 0x58]
lea eax, [ebp - 0x54]
push eax
call fcn.00552eea
xor ebx, ebx
pop ecx
pop ecx
cmp dword [ebp + 0x18], ebx
je 0x573a5c
push dword [ebp + 0x18]
lea eax, [ebp - 0x54]
call fcn.00552ec3
pop ecx
cmp dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jle 0x573a85
xor edi, edi
mov eax, dword [ebp - 8]
mov eax, dword [edi + eax]
mov esi, dword [eax + 0x10]
lea ecx, [ebp - 0x54]
push ecx
call fcn.00552eea
inc ebx
add edi, 0x10
cmp ebx, dword [ebp - 4]
pop ecx
jl 0x573a69
mov eax, dword [ebp + 0x4c]
cmp byte [eax + 0x1e], 0
jne 0x574145
mov ebx, dword [ebp + 0x64]
test ebx, ebx
je 0x573ee7
mov edi, dword [ebp + 0x74]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x24], eax
inc eax
push ebx
push edi
mov dword [edi + 0x44], eax
call fcn.0055833b
mov esi, dword [ebp + 0x68]
push 0xfffffffffffffff0
push eax
push 0
push dword [ebp - 0x1c]
mov dword [ebp + 4], eax
push dword [ebp - 0x24]
push esi
push 0x29
pop eax
call fcn.0054eede
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x48]
inc eax
mov dword [ebp + 0x30], eax
inc eax
mov dword [ebp + 0x14], eax
inc eax
mov dword [ebp + 0x44], eax
mov dword [edi + 0x48], eax
mov eax, esi
call fcn.0054a711
inc dword [edi + 0x48]
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 0x48]
mov dword [ebp + 0x54], eax
mov eax, esi
call fcn.0054a711
push dword [ebp + 0x14]
mov dword [ebp + 0x28], eax
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov ecx, dword [ebx]
add eax, ecx
lea ecx, [eax + 1]
mov dword [edi + 0x48], eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebx]
add ecx, eax
xor ebx, ebx
push ebx
mov dword [edi + 0x48], ecx
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
push dword [ebp + 0x30]
mov ecx, esi
push ebx
push 7
pop eax
call fcn.0054a6fe
push dword [ebp + 0x28]
mov ecx, esi
push dword [ebp + 0x54]
push 2
pop eax
call fcn.0054a6fe
push ebx
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x34]
push edi
call fcn.0056c70d
add esp, 0x4c
mov dword [ebp + 0x1c], eax
cmp eax, ebx
je 0x574145
mov ebx, dword [ebp + 0x64]
test ebx, ebx
jne 0x573b7d
mov eax, dword [ebp + 0x78]
mov ebx, dword [eax + 0x10]
and dword [ebp + 0x3c], 0
jmp 0x573cd1
cmp dword [ebp + 0x2c], 0
je 0x573b91
mov eax, dword [ebp + 0x78]
test byte [eax + 6], 1
mov eax, str.DISTINCT
je 0x573b96
mov eax, str.GROUP_BY
push eax
call fcn.005507d7
mov edi, dword [ebx]
mov edx, dword [ebp - 0x14]
lea eax, [edi + 1]
pop ecx
mov dword [ebp + 0x3c], 1
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x50], eax
test edx, edx
jle 0x573bca
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
cmp dword [ecx], eax
jl 0x573bc4
inc dword [ebp + 0x50]
inc eax
add ecx, 0x18
dec edx
jne 0x573bbc
mov esi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x74]
call fcn.00544ecb
mov esi, eax
mov eax, ecx
call fcn.00544df7
push 0
push eax
mov ecx, esi
mov eax, ebx
call fcn.0054bbf2
mov ecx, dword [ebp + 0x68]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x24]
push 0x35
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 0x5c]
and dword [ebp + 0x48], 0
add esp, 0x10
cmp dword [ebp - 0x14], 0
mov dword [ebp + 0x64], eax
jle 0x573c69
add eax, esi
and dword [ebp + 0x5c], 0
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp - 0x18]
add eax, ecx
mov ecx, dword [ebp + 0x64]
cmp dword [eax + 0xc], ecx
jl 0x573c5a
push dword [ebp + 0x2c]
mov edi, dword [ebp + 0x74]
push dword [eax + 8]
push dword [eax]
mov eax, dword [eax + 4]
call fcn.0055a779
add esp, 0xc
cmp dword [ebp + 0x2c], eax
je 0x573c54
push dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x68]
push eax
push 0xf
pop eax
call fcn.0054a6fe
pop ecx
pop ecx
inc dword [ebp + 0x64]
inc dword [ebp + 0x2c]
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
add dword [ebp + 0x5c], 0x18
cmp eax, dword [ebp - 0x14]
jl 0x573c18
mov eax, dword [ebp + 0x74]
call fcn.00544e7c
mov ecx, dword [ebp + 0x68]
mov edi, eax
push edi
push dword [ebp + 0x50]
push esi
push 0x1e
pop eax
call fcn.0054a669
mov ecx, dword [ebp + 0x68]
push edi
push dword [ebp - 0x24]
push 0x46
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 0x74]
mov edx, edi
call fcn.00544e97
mov edi, dword [ebp + 0x50]
mov ecx, esi
call fcn.00544eef
mov edi, dword [ebp + 0x1c]
call fcn.0054dda6
push dword [ebp + 0x38]
mov ecx, dword [ebp + 0x68]
push dword [ebp - 0x24]
push 0x40
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 0x74]
add esp, 0x1c
mov byte [ebp - 0x27], 1
call fcn.00544df7
mov esi, dword [ebp + 0x68]
mov eax, esi
call fcn.00543e46
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x74]
call fcn.00544df7
xor eax, eax
cmp dword [ebx], eax
mov dword [ebp + 0x64], eax
jle 0x573d3a
mov dword [ebp + 0x5c], eax
cmp dword [ebp + 0x3c], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x64]
je 0x573d11
add ecx, eax
push ecx
push eax
push dword [ebp - 0x24]
mov ecx, esi
push 0x1c
pop eax
call fcn.0054a669
add esp, 0xc
jmp 0x573d2c
mov esi, dword [ebp + 0x74]
lea edi, [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov byte [ebp - 0x28], 1
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx]
call fcn.0054bb24
mov esi, dword [ebp + 0x68]
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x64]
add dword [ebp + 0x5c], 0x14
cmp eax, dword [ebx]
jl 0x573cef
mov edi, dword [ebp + 0xc]
push 0xfffffffffffffffa
push dword [ebp + 4]
push dword [ebx]
push edi
push dword [ebp + 0x20]
push esi
push 0x18
pop eax
call fcn.0054eede
mov eax, esi
call fcn.00543e46
mov dword [ebp + 4], eax
inc eax
push eax
push 0
push eax
push 0x19
pop eax
mov ecx, esi
call fcn.0054a669
push dword [ebp + 0x20]
mov ebx, dword [ebx]
mov eax, dword [ebp + 0x74]
call fcn.0054ba78
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0x44]
push 2
pop eax
call fcn.0054a6fe
push dword [ebp + 0x38]
mov ecx, esi
push dword [ebp + 0x14]
push 0x71
pop eax
call fcn.0054a6fe
push dword [ebp + 0x28]
mov ecx, esi
push dword [ebp + 0x54]
push 2
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 4]
add esp, 0x40
mov ecx, esi
call fcn.00543eaf
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x74]
call fcn.00558dc2
push dword [ebp + 0x30]
xor ebx, ebx
inc ebx
push ebx
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
add esp, 0x10
cmp dword [ebp + 0x3c], 0
je 0x573ded
push dword [ebp + 0x50]
mov ecx, esi
push dword [ebp - 0x24]
push 0x43
pop eax
call fcn.0054a6fe
pop ecx
jmp 0x573e00
mov edi, dword [ebp + 0x1c]
call fcn.0054dda6
mov ecx, dword [ebp + 8]
push ebx
mov eax, esi
call fcn.0054a906
pop ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0x44]
push 2
pop eax
call fcn.0054a6fe
push dword [ebp + 0x38]
mov eax, ebx
push 0
mov ecx, esi
call fcn.0054a6fe
mov eax, esi
call fcn.00543e46
push dword [ebp + 0x14]
mov dword [ebp + 8], eax
push ebx
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
push dword [ebp + 0x44]
mov ecx, esi
push 3
pop eax
call fcn.0054a6ed
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.00543d82
mov eax, esi
call fcn.00543e46
mov ebx, eax
lea eax, [ebx + 2]
push eax
push dword [ebp + 0x30]
mov ecx, esi
push 0x71
pop eax
call fcn.0054a6fe
push dword [ebp + 0x44]
mov ecx, esi
push 3
pop eax
call fcn.0054a6ed
mov eax, dword [ebp + 0x74]
lea edi, [ebp - 0x28]
call fcn.0055101c
push 8
inc ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x74]
call fcn.00567c32
push dword [ebp + 8]
mov eax, dword [ebp + 0x78]
push ebx
push dword [ebp + 0x24]
push dword [ebp + 0x58]
push 0
push 0
push dword [eax]
push eax
push dword [ebp + 0x74]
mov eax, dword [ebp + 0x7c]
call fcn.0055049b
add esp, 0x5c
push dword [ebp + 0x44]
mov ecx, esi
push 3
pop eax
call fcn.0054a6ed
mov edx, dword [ebp + 0x28]
mov ecx, esi
call fcn.00543d82
push dword [ebp + 0x74]
mov ebx, edi
call fcn.00558d04
push dword [ebp + 0x54]
mov ecx, esi
push 3
pop eax
call fcn.0054a6ed
add esp, 0xc
jmp 0x5740ec
mov esi, dword [ebp + 0x78]
and dword [ebp + 0x30], 0
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.00545fe2
mov edi, eax
pop ecx
test edi, edi
je 0x573fe6
mov ebx, dword [ebp + 0x74]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.00545baa
and dword [ebp + 0x54], 0
and dword [ebp + 0x1c], 0
mov esi, eax
mov eax, dword [ebx + 0x44]
mov dword [ebp + 0x28], eax
inc eax
mov dword [ebx + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 0x20], eax
mov eax, ebx
call fcn.00564d6f
push dword [edi]
mov ebx, dword [edi + 0x14]
mov eax, dword [ebp + 0x74]
push 0
push esi
call fcn.0054c2f1
mov eax, dword [edi + 0x10]
mov ebx, dword [ebp + 0x1c]
add esp, 0xc
test eax, eax
je 0x573f84
test ebx, ebx
je 0x573f5b
mov ecx, dword [eax + 4]
cmp ecx, dword [ebx + 4]
jge 0x573f5d
mov ebx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x573f4f
test ebx, ebx
je 0x573f84
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jge 0x573f84
mov eax, dword [ebx + 0x14]
push ebx
push dword [ebp + 0x74]
mov dword [ebp + 0x20], eax
call fcn.0055736d
pop ecx
pop ecx
mov dword [ebp + 0x54], eax
push esi
push dword [ebp + 0x20]
mov esi, dword [ebp + 0x68]
push dword [ebp + 0x28]
mov ecx, esi
push 0x26
pop eax
call fcn.0054a669
add esp, 0xc
cmp dword [ebp + 0x54], 0
je 0x573fb2
push 0xfffffffffffffff0
push dword [ebp + 0x54]
or eax, 0xffffffff
push esi
call fcn.0054a947
add esp, 0xc
mov eax, dword [ebp - 8]
push dword [eax + 8]
mov ecx, esi
push dword [ebp + 0x28]
push 0x1f
pop eax
call fcn.0054a6fe
push dword [ebp + 0x28]
mov ecx, esi
push 0x2b
pop eax
call fcn.0054a6ed
mov eax, edi
mov edi, dword [ebp + 0x74]
add esp, 0xc
mov ecx, ebx
call fcn.00551067
jmp 0x5740aa
and dword [ebp + 0x54], 0
mov eax, esi
call fcn.00545f72
mov byte [ebp + 0x63], al
test al, al
je 0x574034
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [ebp + 0x4c]
mov ebx, dword [eax + 0x10]
push 0
push esi
call fcn.0054b80a
pop ecx
pop ecx
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x30], eax
test eax, eax
je 0x574034
cmp byte [esi + 0x1e], 0
jne 0x574034
cmp byte [ebp + 0x63], 1
mov edx, dword [eax + 0xc]
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
mov esi, dword [ebp + 0x74]
push esi
lea ebx, [ebp - 0x28]
call fcn.00558d04
movzx ax, byte [ebp + 0x63]
movzx eax, ax
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x34]
push esi
call fcn.0056c70d
mov edi, eax
xor ebx, ebx
add esp, 0x18
cmp edi, ebx
jne 0x574074
push dword [ebp + 0x4c]
mov edi, dword [ebp + 0x30]
call fcn.00544adc
jmp 0x5737f9
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00558dc2
pop ecx
pop ecx
cmp dword [ebp + 0x54], ebx
jne 0x57409b
cmp byte [ebp + 0x63], bl
je 0x57409b
push dword [edi + 0x14]
mov ecx, dword [ebp + 0x68]
xor eax, eax
push ebx
inc eax
call fcn.0054a6fe
pop ecx
pop ecx
call fcn.0054dda6
lea edi, [ebp - 0x28]
mov eax, esi
call fcn.0055101c
push 8
push dword [ebp + 0x38]
xor esi, esi
push dword [ebp + 0x18]
mov dword [ebp + 0x58], esi
push dword [ebp + 0x74]
call fcn.00567c32
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x78]
push dword [ebp + 0x38]
push 0xffffffffffffffff
push esi
push esi
push esi
push dword [eax]
push eax
push dword [ebp + 0x74]
mov eax, dword [ebp + 0x7c]
call fcn.0055049b
push dword [ebp + 0x4c]
mov edi, dword [ebp + 0x30]
call fcn.00544adc
mov esi, dword [ebp + 0x68]
add esp, 0x38
mov edx, dword [ebp + 0x38]
mov ecx, esi
call fcn.00543d82
mov esi, dword [ebp + 0x78]
mov ebx, dword [ebp + 0x74]
cmp dword [ebp + 0x24], 0
jl 0x57410f
push str.DISTINCT
mov edi, ebx
call fcn.005507d7
pop ecx
cmp dword [ebp + 0x58], 0
je 0x574136
push str.ORDER_BY
mov edi, ebx
call fcn.005507d7
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x40]
push dword [eax]
push dword [ebp + 0x68]
push esi
push ebx
call fcn.0055086b
add esp, 0x18
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x68]
call fcn.00543d82
and dword [ebp + 0x5c], 0
cmp dword [ebp + 0x5c], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x74]
mov dword [eax + 0x22c], ecx
jne 0x57416e
mov ecx, dword [ebp + 0x7c]
cmp byte [ecx], 5
jne 0x57416e
push dword [ebp + 0x40]
push dword [ebp + 0x34]
push eax
call fcn.00554822
add esp, 0xc
push dword [ebp - 0x18]
push dword [ebp + 0x4c]
call fcn.0053f8d4
push dword [ebp - 8]
push dword [ebp + 0x4c]
call fcn.0053f8d4
mov eax, dword [ebp + 0x5c]
add esp, 0x10
jmp 0x57418e
mov eax, ecx
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret