Function at 0x468694
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov ebx, edx
mov dword [ebp - 0xc], eax
mov edx, ecx
mov dword [ebp - 0x28], eax
push 6
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [edx]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x30]
mov esi, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
cmp dword [esi + 0x2c], 0
je 0x4686f7
movzx ecx, byte [ebx + 4]
call fcn.0046764a
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push edx
call fcn.0042e402
add esp, 0xc
mov dword [ebp - 0xc], 1
jmp 0x468d23
cmp dword [esi + 0x38], 0
je 0x46870e
movzx ecx, byte [ebx + 4]
call fcn.0046764a
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4686e2
mov edi, edx
mov ecx, edi
call fcn.00468189
mov dl, byte [ebp - 0x4c]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp dl, 0xc
jne 0x46873d
mov eax, dword [ebx]
push dword [eax]
push dword [ebp - 0x44]
push 0x6e
pop edx
call fcn.0044337d
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov dl, 0xe
mov byte [ebp - 0x4c], dl
test dword [ebx + 8], 0x400
je 0x46875c
lea eax, [ebp - 0x4c]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0046864d
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x468d23
test dword [ebx + 8], 0x2000
je 0x4687c9
lea eax, [ebp - 0x4c]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00468399
pop ecx
mov esi, dword [ebp - 8]
movzx edx, byte [ebx + 4]
xor eax, eax
cmp byte [ebx + 4], 0x74
mov ecx, edi
setne al
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.004676b2
add esp, 0xc
test byte [ebx + 8], 0x20
je 0x468d23
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x24], eax
call fcn.00467531
mov dword [ebp - 0x20], eax
pop ecx
test eax, eax
jne 0x468c80
mov dword [ebp - 0xc], 7
jmp 0x468d23
cmp dword [ebx + 0x2c], 0
je 0x4687e1
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.00468fe9
pop ecx
jmp 0x468d40
movzx eax, byte [ebx + 4]
sub eax, 0x73
je 0x468ad5
sub eax, 1
je 0x4689ca
sub eax, 1
je 0x468ad5
mov edx, dword [edi + 0x28]
push 0
push edx
mov dword [ebp - 0x1c], edx
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
inc eax
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.0044337d
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0046668c
push dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x64]
inc edx
or dword [eax + 8], 0x20
call fcn.00466581
mov eax, dword [edi + 0x1a4]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov edx, esi
mov eax, ecx
mov ecx, edi
push eax
call fcn.0046afe2
mov dword [ebp - 0xc], eax
pop ecx
test eax, eax
jne 0x468d23
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 0x2c]
push 0x6e
pop edx
call fcn.0044337d
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov eax, dword [ebx + 0x38]
mov edx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov ecx, edi
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x1a4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x64]
push eax
call fcn.0046afe2
mov dword [ebp - 0xc], eax
add esp, 0xc
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x30], esi
movzx eax, word [esi + 6]
cmp word [ebx + 6], ax
jle 0x4688bd
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.00451658
cmp byte [ebp - 0x4c], 9
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x3c], eax
jne 0x4688f7
mov eax, dword [ebx + 0x30]
mov edx, ebx
jmp 0x4688e6
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4688e1
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, edi
call fcn.00467c19
pop ecx
mov ecx, dword [ebp - 8]
call fcn.00443528
mov ecx, dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x34], esi
call fcn.00443528
mov edx, dword [ebp - 0x10]
mov ecx, edi
push esi
mov ebx, eax
call fcn.00468198
pop ecx
mov ecx, dword [ebp - 8]
push esi
push dword [ebp - 0x1c]
push 0x25
pop edx
call fcn.0044337d
mov ecx, edi
call fcn.004555aa
mov ecx, dword [ebp - 8]
mov esi, eax
push esi
push dword [ebp - 0x1c]
push 0x7c
pop edx
call fcn.0044337d
mov ecx, dword [ebp - 8]
mov edi, eax
push 0
push esi
push ebx
push dword [ebp - 0x2c]
push 0x1d
pop edx
call fcn.004434d9
mov ecx, dword [ebp - 0x14]
mov edx, esi
call fcn.004555c9
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x4c]
push esi
push ebx
push eax
mov eax, dword [ebp - 0x10]
mov edx, eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [eax]
call fcn.00466e9d
mov ecx, dword [ebp - 8]
add esp, 0x3c
mov edx, ebx
call fcn.0044356a
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push 7
pop edx
call fcn.0044337d
mov edx, esi
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.0044356a
push 0
lea eax, [ebx + 1]
push eax
push 0x72
pop edx
call fcn.0044337d
push 0
push ebx
push 0x72
pop edx
mov ecx, esi
call fcn.0044337d
add esp, 0x18
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
jmp 0x468776
xor eax, eax
mov edx, esi
mov dword [ebp - 0x2c], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x1a4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0046afe2
pop ecx
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
test eax, eax
jne 0x468d23
mov dword [ebx + 0x30], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
test ecx, ecx
je 0x468a51
push ecx
mov ecx, dword [ebp - 8]
push 0x16
pop edx
call fcn.00443369
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x468a51
push ecx
inc ecx
mov edx, 0x95
push ecx
push dword [ebx + 0xc]
mov ecx, dword [ebp - 8]
call fcn.004432f9
add esp, 0xc
mov eax, dword [edi + 0x1a4]
mov edx, ebx
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x4c]
push eax
call fcn.0046afe2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x30]
pop ecx
mov cx, word [ebx + 6]
mov dword [ebx + 0x30], esi
mov dx, word [esi + 6]
mov dword [ebp - 0x28], eax
call fcn.0042f42e
movzx ecx, ax
mov dword [ebp - 0x30], ecx
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x468ab9
lea edx, [ebp - 0x34]
call fcn.00452250
test eax, eax
je 0x468ab9
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x468ab9
cdq
push edx
push eax
call fcn.0042f48c
pop ecx
pop ecx
cmp word [ebp - 0x30], ax
jle 0x468ab9
mov word [ebx + 6], ax
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 8]
test eax, eax
je 0x468776
mov edx, eax
mov ecx, esi
call fcn.00443817
jmp 0x468776
cmp dl, 1
jne 0x468ae2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
jmp 0x468b0c
mov edx, dword [edi + 0x28]
push 0
push edx
mov dword [ebp - 0x1c], edx
lea eax, [edx + 1]
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.0044337d
pop ecx
pop ecx
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0046668c
or dword [eax + 8], 0x20
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x7c]
push eax
inc edx
call fcn.00466581
mov eax, dword [edi + 0x1a4]
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, esi
mov eax, ecx
mov ecx, edi
push eax
call fcn.0046afe2
mov dword [ebp - 0xc], eax
pop ecx
test eax, eax
jne 0x468d23
mov eax, dword [ebx + 0x38]
xor ecx, ecx
cmp byte [ebx + 4], 0x75
mov edx, ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x30], eax
sete al
inc al
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov ecx, edi
mov byte [ebp - 0x7c], al
mov eax, dword [edi + 0x1a4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0046afe2
mov edx, dword [ebx + 0x2c]
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.00452067
mov eax, dword [ebx + 0x30]
and dword [ebx + 0x2c], 0
cmp byte [ebx + 4], 0x73
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x30], esi
jne 0x468ba8
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.0042f42e
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.00451658
mov eax, dword [ebp - 0x34]
and dword [ebx + 0xc], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x3c], eax
mov al, byte [ebp - 0x4c]
cmp al, 1
je 0x468773
cmp al, 9
jne 0x468bf3
mov eax, dword [ebx + 0x30]
mov edx, ebx
jmp 0x468be2
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x468bdd
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, edi
call fcn.00467c19
pop ecx
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00443528
mov ecx, esi
mov ebx, eax
call fcn.00443528
mov edx, dword [ebp - 0x10]
mov edi, eax
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.00468198
pop ecx
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push 0x25
pop edx
call fcn.0044337d
mov ecx, esi
call fcn.004436d4
mov ecx, dword [ebp - 0x14]
mov esi, eax
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x10]
mov edx, eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [eax]
call fcn.00466e9d
mov ecx, dword [ebp - 8]
add esp, 0x24
mov edx, edi
call fcn.0044356a
mov edi, dword [ebp - 0x1c]
push esi
push edi
push 7
pop edx
mov esi, ecx
call fcn.0044337d
mov edx, ebx
mov ecx, esi
call fcn.0044356a
push 0
push edi
push 0x72
pop edx
call fcn.0044337d
add esp, 0x10
jmp 0x4689bf
mov ecx, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
test ecx, ecx
jle 0x468cc2
mov esi, dword [ebp - 0x34]
push eax
mov edx, ebx
mov ecx, edi
call fcn.0046829e
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x468cae
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
add esi, 4
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ecx
jl 0x468c95
mov esi, dword [ebp - 8]
and dword [ebp - 0x2c], 0
lea edi, [ebx + 0x14]
mov ebx, dword [ebp - 0x20]
mov eax, dword [edi]
mov dword [ebp - 0x34], eax
test eax, eax
js 0x468d0b
push ecx
mov edx, eax
mov ecx, esi
call fcn.004437df
pop ecx
push 0xfffffffffffffffb
mov ecx, ebx
call fcn.004675b9
mov edx, dword [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00443a13
or dword [edi], 0xffffffff
add edi, 4
mov edx, dword [ebp - 0x2c]
pop ecx
inc edx
mov dword [ebp - 0x2c], edx
pop ecx
mov ecx, dword [ebp - 0x24]
cmp edx, 2
jl 0x468ccc
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebx + 0x30]
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x468cc2
mov ecx, dword [ebp - 0x20]
call fcn.004675a5
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x18]
call fcn.00466676
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret