Function at 0x56cae6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x1c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
cmp dword [eax + 0x18], edx
je 0x56cb35
movzx eax, byte [ebx + 4]
call fcn.00557954
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
mov edi, ecx
call fcn.0055a104
mov dword [ebp - 8], 1
jmp 0x56d114
cmp dword [eax + 0x28], edx
je 0x56cb4b
movzx eax, byte [ebx + 4]
call fcn.00557954
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x56cb22
mov edi, ecx
call fcn.0056287c
cmp byte [ebp - 0x38], 9
mov dword [ebp - 4], eax
jne 0x56cb7d
mov eax, dword [ebx]
push dword [eax]
mov ecx, dword [ebp - 4]
push dword [ebp - 0x34]
push 0x29
pop eax
call fcn.0055c34c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dl, 0x10
call fcn.00555aea
mov byte [ebp - 0x38], 8
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebx]
mov eax, dword [esi]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
je 0x56cb9b
movzx eax, byte [ebx + 4]
call fcn.00557954
push eax
push str.SELECTs_to_the_left_and_right_of__s_do_not_have_the_same_number_of_result_columns
jmp 0x56cb24
xor ecx, ecx
cmp dword [ebx + 0x18], ecx
je 0x56cbb4
push dword [ebp + 0xc]
push ebx
push edi
call fcn.0056a119
add esp, 0xc
jmp 0x56d135
movzx eax, byte [ebx + 4]
sub eax, 0x70
je 0x56ce6e
dec eax
je 0x56cd9f
dec eax
je 0x56ce6e
mov eax, dword [edi + 0x44]
push 0
lea ecx, [eax + 2]
push eax
mov dword [ebp + 8], eax
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 4]
push 0x29
pop eax
call fcn.0055c34c
push dword [ebp + 8]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x24]
or word [eax + 6], 8
push 1
lea eax, [ebp - 0x48]
call fcn.0055787e
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
push esi
push edi
call fcn.005851de
add esp, 0x1c
mov dword [ebp - 8], eax
test eax, eax
jne 0x56d116
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
inc eax
push eax
push 0x29
pop eax
call fcn.0055c34c
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
mov dword [ebp - 0x18], ecx
call fcn.005851de
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], esi
fld qword [esi + 0x48]
fcomp qword [ebx + 0x48]
mov dword [ebp - 0x14], eax
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x56cc8b
fld qword [esi + 0x48]
fstp qword [ebx + 0x48]
push dword [ebx + 0x28]
push dword [ebp - 0xc]
call fcn.0055d3b7
cmp byte [ebp - 0x38], 5
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov dword [ebx + 0x2c], eax
jne 0x56ccc6
mov ecx, dword [ebx + 0x1c]
mov eax, ebx
jmp 0x56ccb6
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x56ccb1
push dword [eax]
push ecx
push edi
call fcn.00566470
add esp, 0xc
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.0055c35f
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0055c35f
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, ebx
mov ecx, edi
call fcn.005628a5
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 8]
push 0x41
pop eax
call fcn.0055c34c
mov eax, edi
call fcn.00556ac9
push eax
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
push 0x3b
pop eax
mov ecx, esi
call fcn.0055c34c
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x18]
mov eax, dword [ebp + 8]
inc eax
push eax
push esi
push 0x31
pop eax
call fcn.00560b59
mov edx, dword [ebp - 0x24]
mov eax, edi
call fcn.00556ae4
push dword [ebp - 0x10]
mov eax, dword [ebx]
push dword [ebp - 0x18]
push 0xffffffffffffffff
push 0
push dword [eax]
push dword [ebp + 8]
push eax
push ebx
push edi
lea eax, [ebp - 0x38]
call fcn.005620e9
mov edx, dword [ebp - 0x18]
add esp, 0x4c
mov ecx, esi
call fcn.005559cf
push dword [ebp - 0x28]
mov ecx, esi
push dword [ebp + 8]
push 0x43
pop eax
call fcn.0055c34c
mov edx, dword [ebp - 0x10]
mov ecx, esi
call fcn.005559cf
mov eax, dword [ebp + 8]
push 0
inc eax
push eax
push 0x2b
pop eax
mov ecx, esi
call fcn.0055c34c
push 0
push dword [ebp + 8]
mov ecx, esi
push 0x2b
pop eax
call fcn.0055c34c
add esp, 0x18
jmp 0x56d01d
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
push esi
push edi
mov dword [ebp - 0x24], ecx
call fcn.005851de
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], ecx
cmp eax, ecx
jne 0x56d116
mov dword [ebx + 0x1c], ecx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x30]
cmp eax, ecx
je 0x56cdfe
mov ecx, dword [ebp - 4]
push eax
push 0x73
pop eax
call fcn.0055c33b
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push edi
call fcn.005851de
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], esi
fld qword [esi + 0x48]
fadd qword [ebx + 0x48]
add esp, 0xc
mov dword [ebp - 0x14], eax
fst qword [ebx + 0x48]
mov esi, dword [esi + 0x28]
test esi, esi
je 0x56ce54
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.005567c3
pop ecx
pop ecx
test eax, eax
je 0x56ce54
fild dword [ebp - 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x56ce54
fstp qword [ebx + 0x48]
jmp 0x56ce56
fstp st(0)
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x56d01a
mov ecx, dword [ebp - 4]
call fcn.00555afc
jmp 0x56d01d
cmp byte [ebp - 0x38], 1
jne 0x56ce86
cmp dword [ebx + 0x28], ecx
jne 0x56ce86
cmp dword [ebx + 0x2c], ecx
jne 0x56ce86
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x56ceac
mov eax, dword [edi + 0x44]
push ecx
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 1]
mov dword [ebp - 0x18], eax
push 0x29
pop eax
mov dword [edi + 0x44], edx
call fcn.0055c34c
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x24]
or word [eax + 6], 8
pop ecx
pop ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x58]
push 1
call fcn.0055787e
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x58]
push eax
push esi
push edi
call fcn.005851de
xor ecx, ecx
add esp, 0x14
mov dword [ebp - 8], eax
cmp eax, ecx
jne 0x56d116
cmp byte [ebx + 4], 0x72
mov edx, dword [ebx + 0x28]
sete al
inc al
mov dword [ebp - 0x28], edx
mov edx, dword [ebx + 0x2c]
mov byte [ebp - 0x58], al
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], ecx
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
push eax
push ebx
push edi
mov dword [ebp - 0x24], edx
call fcn.005851de
push dword [ebp - 0xc]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 8], eax
call fcn.00556729
mov eax, dword [ebx + 0x1c]
xor edi, edi
add esp, 0x10
cmp byte [ebx + 4], 0x70
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], edi
jne 0x56cf40
fld qword [esi + 0x48]
fadd qword [ebx + 0x48]
fstp qword [ebx + 0x48]
push dword [ebx + 0x28]
push dword [ebp - 0xc]
call fcn.0055d3b7
cmp byte [ebp - 0x38], 1
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
je 0x56d01a
cmp byte [ebp - 0x38], 5
jne 0x56cf8d
mov ecx, dword [ebx + 0x1c]
mov eax, ebx
jmp 0x56cf7b
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x56cf76
push dword [eax]
push ecx
push dword [ebp + 8]
call fcn.00566470
add esp, 0xc
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.0055c35f
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0055c35f
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, ebx
call fcn.005628a5
push dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
push edi
push 0x41
pop eax
mov ecx, esi
call fcn.0055c34c
mov eax, esi
call fcn.00555a93
push dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
mov eax, dword [ebx]
push 0xffffffffffffffff
push 0
push dword [eax]
push edi
push eax
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x38]
call fcn.005620e9
mov edx, dword [ebp - 0x24]
mov ecx, esi
call fcn.005559cf
push dword [ebp - 0x28]
mov ecx, esi
push edi
push 0x43
pop eax
call fcn.0055c34c
mov edx, dword [ebp - 0x10]
mov ecx, esi
call fcn.005559cf
push 0
push edi
push 0x2b
pop eax
mov ecx, esi
call fcn.0055c34c
add esp, 0x40
mov edi, dword [ebp + 8]
mov al, byte [ebx + 4]
xor ecx, ecx
cmp al, 0x71
setne cl
movzx eax, al
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00562461
add esp, 0xc
test byte [ebx + 6], 8
je 0x56d116
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
imul eax, eax, 5
add eax, 0x10
push eax
mov eax, dword [ebp - 0xc]
call fcn.005601cb
mov esi, eax
pop ecx
test esi, esi
jne 0x56d06c
mov dword [ebp - 8], 7
jmp 0x56d116
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
and dword [ebp + 8], 0
mov byte [esi + 4], al
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 0xc]
mov word [esi + 6], ax
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x56d0bf
push dword [ebp + 8]
push ebx
push edi
call fcn.0056a0d8
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov dword [ecx], eax
test eax, eax
jne 0x56d0ae
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [ecx], eax
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ecx, 4
cmp eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
jl 0x56d090
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp - 0x1c]
and dword [ebp + 8], 0
add edi, 0x38
mov ebx, dword [edi]
test ebx, ebx
jl 0x56d0fe
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.00555aca
push 0xfffffffffffffffa
push esi
push dword [ebp - 4]
mov eax, ebx
call fcn.0055c595
or dword [edi], 0xffffffff
add esp, 0xc
inc dword [ebp + 8]
add edi, 4
cmp dword [ebp + 8], 2
jl 0x56d0cc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x56d0c2
push esi
push dword [ebp - 0xc]
call fcn.00551521
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
call fcn.00557897
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret